void SetPlane(unsigned plane, const ImagePlane& src); void SetPlane(unsigned plane, const ImageSize & sz, UPInt pitch, UPInt dataSize = 0, UByte* pdata = 0);
SetPlane sets plane data contents. When separateMipmaps (Flag_SeparateMipmaps) are not used, mipmap planes past 0 can not be indexed.
Parameters |
Description |
unsigned plane |
The index value of the plane you are setting. |
const ImagePlane& src |
Reference to the data plane, ImagePlane. |
const ImageSize & sz |
The size of the image. |
UPInt pitch |
The pitch of the image. |
UPInt dataSize = 0 |
The size of the image data in bytes. |
UByte* pdata = 0 |
Pointer to the first byte of the image data in the memory. |