virtual bool Update(const UpdateDesc* updates, unsigned count = 1, unsigned mipLevel = 0) = 0; virtual bool Update();
Update updates a texture region based on the specified image data. The first method updates texture by copying the provided data into it, only one mip-Level can be updated at a time. The second method performs a full image update by calling the associated Image::Decode.
Parameters |
Description |
const UpdateDesc* updates |
Pointer to the structure containing texture update data. |
unsigned count = 1 |
The number of items in the updates. |
unsigned mipLevel = 0 |
The mipmap level to update, with 0 indicating the top level texture. |
A Boolean value of true if updates are done otherwise false.