Texture

Texture
Declaration
class Texture : public Render::Texture;
Description

 

GL Texture class implementation, and may actually include several hardware textures (one for each ImageFormat plane). 

Data Members
Data Member 
Description 
 
The currently used MIN filter indicating quality to show when the texture is near the view/Minimization filter mode. 
 
Pointer to an array of hardware textures (HWTextureDesc) if more than one texture is required. 
Hardware texture. 
Methods
Method 
Description 
Applies a texture to a to a given stage for a device, starting at stageIndex and advances the index. 
 
Returns the format of the texture and its usage capabilities. 
Frees all textures, including the hardware textures. 
Returns the texture mapping structure for the TextureFormat of the Texture. 
Retrieves the format of the image associated with the texture. 
Returns the size of the texture. 
Obtains the render HAL that is used by the texture object. 
Disposes the texture so that is not reinitialized again. 
Retrieves the image associated with a texture. 
Returns the texture manager used to create the textures. 
Synchronizes RenderTarget and Staging content. 
Synchronizes staging content. 
 
Initializes the Texture object from a texture Id created by the user. 
Determines if the texture has valid data. 
Enables texture mapping to user memory. 
Releases the hardware textures that are included. 
Texture constructor. 
Updates a texture region based on the specified image data. 
Uploads the texture to the user/video memory for use in the application. 
Structures
Structure 
Description 
Represents a hardware texture object. 
File

GL_Texture.h