#include namespace mbgl { namespace shaders { const std::array ShaderSource::attributes = { AttributeInfo{0, gfx::AttributeDataType::Short2, 1, "a_pos"}, AttributeInfo{1, gfx::AttributeDataType::Short2, 1, "a_texture_pos"}, }; const std::array ShaderSource::uniforms = { UniformBlockInfo{2, true, true, sizeof(HillshadeDrawableUBO), "HillshadeDrawableUBO"}, UniformBlockInfo{3, false, true, sizeof(HillshadeEvaluatedPropsUBO), "HillshadeEvaluatedPropsUBO"}, }; const std::array ShaderSource::textures = { TextureInfo{0, "u_image"}, }; } // namespace shaders } // namespace mbgl