std::set< osg::ref_ptr< const osg::Texture > > myOsgTextures
back pointer to the osg textures that reference it (multiple textures can refer to the same texture o...
Definition: DtIndirectGlTextureObject.h:64
Encapsulate a gl texture object that is created/used in indirect rendering The life time of these is ...
Definition: DtIndirectGlTextureObject.h:26
virtual ~DtIndirectGlTextureObject()
destructor
virtual void addRef(osg::ref_ptr< const osg::Texture > osgTexture)
add ref, only if it does not exist
virtual const std::set< osg::ref_ptr< const osg::Texture > > & referencingOsgTextures(void) const
osg textures that reference this
virtual void removeRef(osg::ref_ptr< const osg::Texture > osgTexture)
remove ref, only if it exists
virtual bool hasReference(osg::ref_ptr< const osg::Texture > osgTexture) const
is this osg texture referencing the underlying gl texture object?
virtual unsigned int textureId(void) const
the actual gl texture object id
virtual bool isDownloaded(void) const
is fully downloaded(streamed)?
DtIndirectGlTextureObject()=delete
not allowed
DtIndirectGlTextureObject & operator=(DtIndirectGlTextureObject &rhs)=delete
not allowed
unsigned int myGlTextureId
the gl texture id
Definition: DtIndirectGlTextureObject.h:68