void Initialize(ImageFormat format, UInt32 width, UInt32 height, UPInt pitch, UByte* pdata = 0);
Parameters |
Description |
ImageFormat format |
The format of the image data. See ImageFormat. |
UInt32 width |
The width of the image data in pixels. |
UInt32 height |
The height of the image data in pixels. |
UPInt pitch |
The pitch of the image. |
UByte* pdata = 0 |
Pointer to the first byte of image data in memory. |