virtual void asynchronous_post_load()
This function will be called by DI-Guy after the texture is loaded but before build.
Definition: diguyOsgGraphicsTextureArray.cpp:57
virtual void bind_now(diguyTextureMapType texture_type)
This function will be called by DI-Guy when the texture should be made active, or bound...
Definition: diguyOsgGraphicsTextureArray.cpp:232
Definition: diguyOsgGraphicsTextureArray.h:24
A class that represents a shared 2D texture array.
Definition: diguyGraphicsTextureArray.h:40
void releaseGLObjects()
Definition: diguyOsgGraphicsTextureArray.cpp:278
static osg::ref_ptr< osg::State > sm_state
Definition: diguyOsgGraphicsTextureArray.h:43
diguyTextureMapType
This enumeration lists the type of texture map a given image file is being used as.
Definition: diguyGraphicsTexture.h:56
osg::ref_ptr< osg::Texture2DArray > m_texture_array
Definition: diguyOsgGraphicsTextureArray.h:49
virtual ~diguyOsgGraphicsTextureArray()
Definition: diguyOsgGraphicsTextureArray.cpp:34
virtual void build()
This function will be called by DI-Guy when it is time for a renderer-specific texture object to be c...
Definition: diguyOsgGraphicsTextureArray.cpp:186
diguyGraphicsTextureArray * diguyOsgGraphicsTextureArray_create_func(void *internal_data)
Create function declaration.
Definition: diguyOsgGraphicsTextureArray.cpp:296
osg::Texture2DArray * get_texture_array()
Definition: diguyOsgGraphicsTextureArray.h:41
virtual void unbuild()
This function will be called by DI-Guy when it is time for a renderer-specific texture object to be d...
Definition: diguyOsgGraphicsTextureArray.cpp:267
diguyOsgGraphicsTextureArray(void *internal_data)
Definition: diguyOsgGraphicsTextureArray.cpp:26