MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::IRenderObject Class Referenceabstract

#include <MRIRenderObject.h>

+ Inheritance diagram for MR::IRenderObject:

Public Member Functions

virtual ~IRenderObject ()=default
 
virtual bool render (const ModelRenderParams &params)=0
 Returns true if something was rendered, or false if nothing to render.
 
virtual void renderPicker (const ModelBaseRenderParams &params, unsigned geomId)=0
 
virtual size_t heapBytes () const =0
 returns the amount of memory this object occupies on heap
 
virtual size_t glBytes () const =0
 returns the amount of memory this object allocated in OpenGL
 
virtual void forceBindAll ()
 binds all data for this render object, not to bind ever again (until object becomes dirty)
 
virtual void renderUi (const UiRenderParams &params)
 

The documentation for this class was generated from the following file: