3#ifndef MRMESH_NO_OPENVDB
27 typedef unsigned int GLuint;
28 GLuint volumeArrayObjId_{ 0 };
29 GlBuffer volumeVertsBuffer_;
30 GlBuffer volumeIndicesBuffer_;
35 Vector2i activeVoxelsTextureSize_;
36 GlTexture2 activeVoxelsTex_;
40 void render_(
const ModelBaseRenderParams& params,
const ModelRenderParams* nonPickerParams,
unsigned geomId );
41 void bindVolume_(
bool picker );
51 RenderBufferRef<unsigned> loadActiveVoxelsTextureBuffer_();
Definition MRIRenderObject.h:133
Definition MRObjectVoxels.h:17
Definition MRRenderVolumeObject.h:13
virtual size_t heapBytes() const override
returns the amount of memory this object occupies on heap
RenderVolumeObject(const VisualObject &visObj)
virtual void forceBindAll() override
binds all data for this render object, not to bind ever again (until object becomes dirty)
virtual bool render(const ModelRenderParams ¶ms) override
virtual size_t glBytes() const override
returns the amount of memory this object allocated in OpenGL
virtual void renderPicker(const ModelBaseRenderParams ¶ms, unsigned geomId) override
Visual Object.
Definition MRVisualObject.h:131
Definition MRCameraOrientationPlugin.h:7
Definition MRIRenderObject.h:42
Mesh rendering parameters for primary rendering (as opposed to the picker).
Definition MRIRenderObject.h:50