![]() |
VR-Forces 5.0.1 Developer's Guide
|
'super' class for managing the per gc vao for all indirect geometries There is only one vao per gl conxext, since because of bindless, it is not buffer specific but just encapsulates a state

Public Member Functions | |
| virtual | ~DtIndirectVaoManager () |
| virtual unsigned int | getOrCreateAndRecordVAO (const osg::GraphicsContext *gc, bool rerecord=false) |
| virtual void | releaseGLObjects (const osg::GraphicsContext *gc) |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| virtual | ~DtVirtualBaseClass () |
Static Public Member Functions | |
| static DtIndirectVaoManager & | instance (DtDe &de) |
Protected Member Functions | |
| DtIndirectVaoManager (DtDe &de) | |
| virtual void | recordVAO (unsigned int vao) |
Protected Attributes | |
| DtDe & | myDe |
| DtGlVaoManager * | myVaoManager |
Private Member Functions | |
| DtIndirectVaoManager ()=delete | |
| DtIndirectVaoManager (const DtIndirectVaoManager &)=delete | |
| DtIndirectVaoManager & | operator= (const DtIndirectVaoManager &)=delete |
|
virtual |
dtor
|
protected |
only creator can create
|
privatedelete |
not allowed
|
privatedelete |
not allowed
|
static |
Access the singleton instance.
|
privatedelete |
not allowed
|
virtual |
method to create and 'record' a vertex array object (VAO) using VAO enables us to combine multiple buffer binds into a single 'command' via 'recording' the VAO
| rerecord | indicates whether the vao should be re-recorded even if present in our internal map (perhaps because the buffer addresses, etc changed) |
|
virtual |
release gl objects
internal method to record a vao
|
protected |
|
protected |