Texture

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

Metal Texture class implementation; it may actually include several HW textures (one for each ImageFormat plane).

Data Members
Data Member 
Description 
 
 
Methods
Method 
Description 
Applies a texture to a to a given stage for a device, starting at stageIndex and advances the index. 
Retrieves the format of the image associated with the texture. 
Retrieves the image associated with a texture. 
Returns the texture manager used to create the textures. 
Returns the format of the texture and its usage capabilities. 
Returns the texture mapping structure for the TextureFormat of the Texture. 
Returns the size of the texture. 
A platform-specific method, that will actually create the API specific texture object. 
Initializes the Texture from a platform specific texture handle. 
Determines whether the Initialize call has already been made, and if it was successful. 
Causes the hardware textures associated with this texture to be released. 
 
Texture constructor. 
Updates a texture region based on the specified image data. 
Synchronizes RenderTarget and Staging content. 
Synchronizes staging content. 
Uploads the texture to the user/video memory for use in the application. 
File

Metal_Texture.h