Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kImage_Construct | ( | kImage * | image,
|  | kType | pixelType,
|  | kSize | width,
|  | kSize | height,
|  | kAlloc | allocator
| ) |  |

Constructs a kImage object.

Parameters

  image | Receives the constructed image object.
  pixelType | Pixel type (must be a value type).
  width | Image width.
  height | Image height.
  allocator | Memory allocator.

Returns
  Operation status.