Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
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.

Parameters
imageReceives the constructed image object.
pixelTypePixel type (must be a value type).
widthImage width.
heightImage height.
allocatorPrimary memory allocator (or kNULL for default).
dataAllocatorData array allocator (or kNULL for default).
Returns
Operation status.