virtual DtGlSimpleTexture * texture(size_t index)
get the managed texture at the index
Wrapper for OpenGL Texture.
Definition: DtGlSimpleTexture.h:35
virtual int compare(const StateAttribute &sa) const
comparison
std::map< size_t, DtGlSimpleTexture * > MapTexUnitToTextures
Definition: DtOsgTextureApplyAttribute.h:62
MapTexUnitToTextures myMapTexUnitToTextures
Definition: DtOsgTextureApplyAttribute.h:63
virtual void releaseGLObjects(osg::State *state) const
clean up GL resources
virtual void removeTexture(size_t index, DtGlSimpleTexture *texture)
remove the managed texture at the index
TextureApplyAttribute & operator=(const TextureApplyAttribute &)
Private assignment operator.
virtual ~TextureApplyAttribute()
destructor
virtual void addTexture(size_t index, DtGlSimpleTexture *texture)
add a texture to manage
virtual void apply(osg::State &state) const
apply this attribute
Definition: DtOsgTextureApplyAttribute.h:24