![]() |
VR-Forces Developer's Guide
|
A Generic object that needs clean up in the right context (the one it was created in) This can be used to encapsulate multiple OpenGL objects that need clean up in the right context See DtHbaoDrawable.cxx for usage.
Public Member Functions | |
| DtGlObject (const void *glContext) | |
| virtual | ~DtGlObject () |
| virtual void | deleteGlObjects (void)=0 |
Public Attributes | |
| const void * | myGlContext = nullptr |
Private Member Functions | |
| DtGlObject ()=delete | |
| DtGlObject (const DtGlObject &rhs)=delete | |
| DtGlObject & | operator= (const DtGlObject &rhs)=delete |
| makVrv::DtGlObject::DtGlObject | ( | const void * | glContext | ) |
constructor glContext is the context in which the object is to be deleted
|
virtual |
destructor
|
privatedelete |
not allowed
|
privatedelete |
not allowed
|
privatedelete |
not allowed
|
pure virtual |
abstract
| const void* makVrv::DtGlObject::myGlContext = nullptr |