Encapsulate a gl texture object that is created/used in indirect rendering The life time of these is managed by DtIndirectGlTextureObjectManager.
| makVrv::DtIndirectGlTextureObject::DtIndirectGlTextureObject |
( |
unsigned int |
textureId | ) |
|
| virtual makVrv::DtIndirectGlTextureObject::~DtIndirectGlTextureObject |
( |
| ) |
|
|
virtual |
| makVrv::DtIndirectGlTextureObject::DtIndirectGlTextureObject |
( |
| ) |
|
|
delete |
| virtual void makVrv::DtIndirectGlTextureObject::addRef |
( |
osg::ref_ptr< const osg::Texture > |
osgTexture | ) |
|
|
virtual |
add ref, only if it does not exist
| virtual void makVrv::DtIndirectGlTextureObject::removeRef |
( |
osg::ref_ptr< const osg::Texture > |
osgTexture | ) |
|
|
virtual |
remove ref, only if it exists
| virtual bool makVrv::DtIndirectGlTextureObject::hasReference |
( |
osg::ref_ptr< const osg::Texture > |
osgTexture | ) |
const |
|
virtual |
is this osg texture referencing the underlying gl texture object?
| virtual const std::set<osg::ref_ptr<const osg::Texture> >& makVrv::DtIndirectGlTextureObject::referencingOsgTextures |
( |
void |
| ) |
const |
|
virtual |
osg textures that reference this
| virtual bool makVrv::DtIndirectGlTextureObject::isDownloaded |
( |
void |
| ) |
const |
|
virtual |
is fully downloaded(streamed)?
| virtual unsigned int makVrv::DtIndirectGlTextureObject::textureId |
( |
void |
| ) |
const |
|
virtual |
the actual gl texture object id
| std::set<osg::ref_ptr<const osg::Texture> > makVrv::DtIndirectGlTextureObject::myOsgTextures |
back pointer to the osg textures that reference it (multiple textures can refer to the same texture object)
| unsigned int makVrv::DtIndirectGlTextureObject::myGlTextureId |
|
protected |
The documentation for this class was generated from the following file: