Zen API

- Home
- Topics
- Types
- Files

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

  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).

Returns
  Operation status.