Zen API
|
kStatus kImage_Attach | ( | kImage | image, |
void * | pixels, | ||
kType | pixelType, | ||
kSize | width, | ||
kSize | height, | ||
kSize | stride | ||
) |
Attaches the image to an external pixel buffer.
Attached pixel buffers are not freed when the image is destroyed.
image | Image object. |
pixels | Pointer to external pixel buffer. |
pixelType | Type of pixel (values types only). |
width | Image width, in pixels. |
height | Image height, in pixels. |
stride | Image stride (row size), in bytes. |