27 int lineIndicesSize_{ 0 };
29 typedef unsigned int GLuint;
31 GLuint linesArrayObjId_{ 0 };
32 GLuint linesPickerArrayObjId_{ 0 };
34 GlTexture2 positionsTex_;
35 GlTexture2 accumScreenLengthTex_;
36 GlTexture2 vertColorsTex_;
37 GlTexture2 lineColorsTex_;
39 void render_(
const ModelRenderParams& params,
bool points, RenderModelPassMask desiredPass );
40 void renderPicker_(
const ModelBaseRenderParams& params,
unsigned geomId,
bool points );
42 void bindPositions_( GLuint shaderId );
43 void calcAndBindLength_(
const ModelRenderParams& params, GLuint shaderId );
60 Vector4i prevViewport_;
61 bool needAccumLengthDirtyUpdate_(
const ModelRenderParams& params );
62 void resetAccumLengthDirty_(
const ModelRenderParams& params );
64 bool needUpdateScreenLengths_{
true };