26 int lineIndicesSize_{ 0 };
28 typedef unsigned int GLuint;
30 GLuint linesArrayObjId_{ 0 };
31 GLuint linesPickerArrayObjId_{ 0 };
33 GlTexture2 positionsTex_;
34 GlTexture2 vertColorsTex_;
35 GlTexture2 lineColorsTex_;
37 void render_(
const ModelRenderParams& params,
bool points );
38 void renderPicker_(
const ModelBaseRenderParams& params,
unsigned geomId,
bool points );
40 void bindPositions_( GLuint shaderId );
ShaderType
Definition MRGLStaticHolder.h:16
Definition MRIRenderObject.h:134
Definition MRObjectLinesHolder.h:19
Definition MRRenderLinesObject.h:13
virtual size_t heapBytes() const override
returns the amount of memory this object occupies on heap
virtual size_t glBytes() const override
returns the amount of memory this object allocated in OpenGL
RenderLinesObject(const VisualObject &visObj)
virtual bool render(const ModelRenderParams ¶ms) override
virtual void forceBindAll() override
binds all data for this render object, not to bind ever again (until object becomes dirty)
virtual void renderPicker(const ModelBaseRenderParams ¶ms, unsigned geomId) override
Visual Object.
Definition MRVisualObject.h:131
Definition MRCameraOrientationPlugin.h:8
MRVIEWER_API const Vector2f & GetAvailableLineWidthRange()
Definition MRIRenderObject.h:43
Mesh rendering parameters for primary rendering (as opposed to the picker).
Definition MRIRenderObject.h:51