#include #include #include #include namespace mbgl { namespace shaders { const std::array ShaderSource::uniforms = { UniformBlockInfo{true, false, sizeof(HeatmapDrawableUBO), idHeatmapDrawableUBO}, UniformBlockInfo{true, false, sizeof(HeatmapInterpolateUBO), idHeatmapInterpolateUBO}, UniformBlockInfo{true, true, sizeof(HeatmapEvaluatedPropsUBO), idHeatmapEvaluatedPropsUBO}, }; const std::array ShaderSource::attributes = { AttributeInfo{0, gfx::AttributeDataType::Short2, idHeatmapPosVertexAttribute}, AttributeInfo{1, gfx::AttributeDataType::Float2, idHeatmapWeightVertexAttribute}, AttributeInfo{2, gfx::AttributeDataType::Float2, idHeatmapRadiusVertexAttribute}, }; const std::array ShaderSource::uniforms = { UniformBlockInfo{true, false, sizeof(GlobalPaintParamsUBO), idGlobalPaintParamsUBO}, UniformBlockInfo{true, true, sizeof(HeatmapTexturePropsUBO), idHeatmapTexturePropsUBO}, }; const std::array ShaderSource::attributes = { AttributeInfo{0, gfx::AttributeDataType::Short2, idHeatmapPosVertexAttribute}, }; const std::array ShaderSource::textures = { TextureInfo{0, idHeatmapImageTexture}, TextureInfo{1, idHeatmapColorRampTexture}, }; } // namespace shaders } // namespace mbgl