Zen API
|
kStatus kImage_ConstructEx | ( | kImage * | image, |
kType | pixelType, | ||
kSize | width, | ||
kSize | height, | ||
kAlloc | allocator, | ||
kAlloc | dataAllocator | ||
) |
Constructs a kImage object using a separate allocator for image array memory.
image | Receives the constructed image object. |
pixelType | Pixel type (must be a value type). |
width | Image width. |
height | Image height. |
allocator | Primary memory allocator (or kNULL for default). |
dataAllocator | Data array allocator (or kNULL for default). |