15 constexpr static const uint MaxLayers = 16;
20 void setLineWidth(
float w) { mBaseLineWidth = w; }
22 void drawLayer(
const Camera&, uint z);
23 void setLayerColor(uint z,
Color);
24 void setLayerAlpha(uint z,
float);
29 std::vector<uint> mIndexCounts;
31 float mBaseLineWidth{2.0f};
32 float mLayerColor[MaxLayers][4];
39 static GLuint sVP, sFP, sPP;
40 static GLint sUniformLayerColors;
44 static void createShaders();
46 static constexpr const GLushort RestartIndex = 0xffff;