Texture

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

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

Data Members
Data Member 
Description 
Pointer to an array of hardware textures (HWTextureDesc) if more than one texture is required. 
Hardware texture. 
Type 
Type of texture created such as managed, dynamic etc. 
Enumerations
Enumeration 
Description 
List the type of textures that can be created. 
Methods
Method 
Description 
Applies a texture to a to a given stage for a device, starting at stageIndex and advances the index. 
Frees all textures, including the hardware textures. 
Retrieves the format of the image associated with the texture. 
Retrieves the image associated with a texture. 
Returns the format of the texture and its usage capabilities. 
Returns the texture mapping structure for the TextureFormat of the Texture. 
Returns the texture manager used to create the textures. 
Returns the size of the texture. 
Fills in a matrix that should be used to convert pixel coordinate space to the UV coordinates used by the renderer. 
Initializes the Texture from a platform specific texture handle. 
Determines if the texture has valid data, i.e., if it is initialized with data and can be used for rendering. 
Called from TextureManager destructor, cleans out most of the texture internal state. 
Releases the hardware textures that are included. 
Texture constructor. 
Synchronizes RenderTarget and Staging content. 
Synchronizes staging content. 
Updates a texture region based on the specified image data. 
Structures
Structure 
Description 
Represents a hardware texture object. 
File

D3D9_Texture.h