Texture::Texture

Texture::Texture
Texture(TextureManagerLocks* pmanagerLocks, const TextureFormat* pformat, unsigned mipLevels, const ImageSize& size, unsigned use, ImageBase* pimage);
Texture(TextureManagerLocks* pmanagerLocks, IDirect3DTexture9* ptexture, const ImageSize& size, ImageBase* pimage);
Description

Texture constructor.

Parameters
Parameters 
Description 
TextureManagerLocks* pmanagerLocks 
Pointer to the TextureManagerLocks for proper synchronization of Texture objects on different threads. 
const TextureFormat* pformat 
The texture format. 
unsigned mipLevels 
The number of mipmap levels to create, with 0 indicating no mipmaps. A value of 1 would create a full-size level 0 texture with one additional half-size mipmap. 
const ImageSize& size 
The size of the updateable texture in pixels. 
unsigned use 
The texture capabilities passed to the renderer. 
ImageBase* pimage 
Pointer to the image pixel data and size information used to create a texture. 
IDirect3DTexture9* ptexture 
A platform specific texture handle.