Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

#define kImage_DataT | ( |  | kImage_image,
|  |  | T
| ) |  |
| related

Returns a strongly-typed pointer to the first row in the pixel buffer.

A debug assertion will be raised if the size of the specified pixel type is not equal to the size of the image pixel type.

Parameters

  kImage_image | Image object.
  T | Pixel type identifier (e.g., k8u).

Returns
  Strongly-typed pointer to pixel buffer.