osg::ref_ptr< osg::Texture2D > m_texture
Definition: diguyOsgGraphicsTexture.h:53
virtual void unbuild() override
This function will be called by DI-Guy when it is time for a renderer-specific texture object to be d...
osg::ref_ptr< osg::Image > m_image
Definition: diguyOsgGraphicsTexture.h:54
virtual void asynchronous_post_load() override
This function will be called by DI-Guy after the texture is loaded but before build.
Definition: diguyOsgGraphicsTexture.h:28
diguyOsgGraphicsTexture(void *internal_data)
virtual ~diguyOsgGraphicsTexture()
virtual void build() override
This function will be called by DI-Guy when it is time for a renderer-specific texture object to be c...
A class that represents a shared texture.
Definition: diguyGraphicsTexture.h:124
diguyTextureMapType
This enumeration lists the type of texture map a given image file is being used as.
Definition: diguyGraphicsTexture.h:55
virtual void bind_now(diguyTextureMapType texture_type) override
This function will be called by DI-Guy when the texture should be made active, or bound...
static osg::ref_ptr< osg::State > sm_state
Definition: diguyOsgGraphicsTexture.h:47
diguyGraphicsTexture * diguyOsgGraphicsTexture_create_func(void *internal_data)
Create function declaration.
osg::Texture2D * get_texture()
Definition: diguyOsgGraphicsTexture.h:45