|
Zen API
|
| kStatus kImage_ConstructEx | ( | kImage * | image, |
| kPixelFormat | format, | ||
| kSize | width, | ||
| kSize | height, | ||
| kAlloc | allocator, | ||
| kAlloc | valueAllocator = kNULL, |
||
| kMemoryAlignment | valueAlignment = kALIGN_ANY |
||
| ) |
Constructs a kImage object by pixel format (>= kPIXEL_FORMAT_VOID_TYPE_START).
| image | Receives the constructed image object. |
| format | Pixel format. |
| width | Image width. |
| height | Image height. |
| allocator | Primary memory allocator (or kNULL for default). |
| valueAllocator | Data array allocator (or kNULL for default). |
| valueAlignment | Memory alignment for image data. |