Zen API
|
kStatus kImage_ConstructEx | ( | kImage * | image, |
kType | pixelType, | ||
kSize | width, | ||
kSize | height, | ||
kAlloc | allocator, | ||
kAlloc | valueAllocator, | ||
kMemoryAlignment | valueAlignment = kALIGN_ANY |
||
) |
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). |
valueAllocator | Data array allocator (or kNULL for default). |
valueAlignment | Memory alignment for image data. |