Texture::Texture

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

Texture constructor.

Parameters
Parameters 
Description 
TextureManagerLocks* pmanagerLocks 
Pointer to TextureManagerLocks for proper synchronization of Texture and TextureManager on different threads. 
const ImageSize& size 
The size of the updateable texture in pixels. 
UByte 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. 
UInt16 use 
The texture capabilities passed to the renderer. 
ImageBase* pimage 
Pointer to the image pixel data and size information used to create a texture. 
const TextureFormat* pformat 
The TextureFormat used by the texture (platform specific derived classes of TextureFormat exist).