Texture::Upload

Texture::Upload
virtual bool Upload(unsigned itex, unsigned level, const ImagePlane& plane);
Description

Upload uploads the texture to the user/video memory for use in the application.

Parameters
Parameters 
Description 
unsigned itex 
The texture identifier for accessing the texture. 
unsigned level 
The mipmap level of the image. 
const ImagePlane& plane 
Pointer to image data that will be uploaded to the video memory. 
Return Value

A Boolean value of true if the texture upload is successful and false if texture upload failed.