A class that represents a shared texture.
Definition: diguyGraphicsTexture.h:124
diguyOglGraphicsTexture(void *internal_data)
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...
int m_current_loading_mipmap
Definition: diguyOglGraphicsTexture.h:45
diguyTextureMapType
This enumeration lists the type of texture map a given image file is being used as.
Definition: diguyGraphicsTexture.h:55
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...
virtual ~diguyOglGraphicsTexture()
The class diguyOglGraphicsTexture is an example of a diguyGraphicsTexture subclass for an immediate m...
Definition: diguyOglGraphicsTexture.h:28
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...
GLuint m_texture_object
Definition: diguyOglGraphicsTexture.h:44
virtual unsigned int get_gl_texture_id() const override
helper function to let diguy internals know what the object's texture ID is.
Definition: diguyOglGraphicsTexture.h:40