[core] Introduce SegmentVector
This commit is contained in:
@@ -23,12 +23,14 @@ MBGL_DEFINE_UNIFORM_VECTOR(float, 3, u_spin_weights);
|
||||
MBGL_DEFINE_UNIFORM_VECTOR(float, 2, u_tl_parent);
|
||||
} // namespace uniforms
|
||||
|
||||
using RasterAttributes = gl::Attributes<
|
||||
attributes::a_pos,
|
||||
attributes::a_texture_pos>;
|
||||
|
||||
class RasterProgram : public Program<
|
||||
shaders::raster,
|
||||
gl::Triangle,
|
||||
gl::Attributes<
|
||||
attributes::a_pos,
|
||||
attributes::a_texture_pos>,
|
||||
RasterAttributes,
|
||||
gl::Uniforms<
|
||||
uniforms::u_matrix,
|
||||
uniforms::u_image0,
|
||||
|
||||
Reference in New Issue
Block a user