TextureImage(ImageFormat format, const ImageSize& size, unsigned use, Texture* ptexture = 0, ImageUpdateSync* psync = 0);
TextureImage constructor.
Parameters |
Description |
ImageFormat format |
The format of the image (ImageFormat). |
const ImageSize& size |
The size of the image. |
unsigned use |
Sets the texture usage flag. |
Texture* ptexture = 0 |
Pointer to the Texture. |
ImageUpdateSync* psync = 0 |
Pointer to ImageUpdateSync for image updates. |