20 #if !defined(__MITSUBA_HW_GLGEOMETRY_H_)
21 #define __MITSUBA_HW_GLGEOMETRY_H_
Abstract triangle mesh base class.
Definition: trimesh.h:68
EIdentifier
Definition: glgeometry.h:57
virtual void init()=0
Upload the geometry object.
int m_stride
Definition: glgeometry.h:65
OpenGL-based GPUGeometry implementation.
Definition: glgeometry.h:31
virtual void cleanup()=0
Free the geometry object from GPU memory.
#define MTS_DECLARE_CLASS()
This macro must be used in the initial definition in classes that derive from Object.
Definition: class.h:158
virtual void refresh()=0
Refresh (re-upload) the geometry object.
Abstract geometry storage on a graphics card.
Definition: gpugeometry.h:32
virtual void unbind()=0
Unbind the geometry object.
virtual void bind()=0
Bind the geometry object.
OpenGL implementation of the Renderer interface.
Definition: glrenderer.h:43