MeshLib C++ Docs
Loading...
Searching...
No Matches
MRRenderDefaultObjects.h
Go to the documentation of this file.
1#pragma once
3
4namespace MR
5{
8
9
10class VisualObject;
11
14
17{
18public:
19 MRVIEWER_API RenderResetDirtyComponent( const VisualObject& object );
21 MRVIEWER_API virtual bool render( const ModelRenderParams& );
22 MRVIEWER_API virtual void renderPicker( const ModelBaseRenderParams&, unsigned );
23
24 virtual size_t heapBytes() const { return 0; }
25 virtual size_t glBytes() const { return 0; }
26private:
27 const VisualObject* objPtr_{ nullptr };
28};
29
30}
Definition MRIRenderObject.h:134
Combines several different IRenderObjects into one in a meaningful way.
Definition MRIRenderObject.h:170
Visual Object.
Definition MRVisualObject.h:115
virtual void renderPicker(const ModelBaseRenderParams &, unsigned)
RenderResetDirtyComponent(const VisualObject &object)
virtual bool render(const ModelRenderParams &)
only clears dirty flag of the object
virtual size_t heapBytes() const
returns the amount of memory this object occupies on heap
Definition MRRenderDefaultObjects.h:24
RenderObjectCombinator< RenderNameObject > RenderDefaultUiObject
Combines all the default UI IRenderObjects.
Definition MRRenderDefaultObjects.h:13
virtual size_t glBytes() const
returns the amount of memory this object allocated in OpenGL
Definition MRRenderDefaultObjects.h:25
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
Definition MRIRenderObject.h:46
Mesh rendering parameters for primary rendering (as opposed to the picker).
Definition MRIRenderObject.h:54