|
Gama C Library
Gama C API Documentation
|
A container for raw, CPU-side image pixel data. More...
#include <image.h>
Data Fields | |
| int32_t | width |
| int32_t | height |
| unsigned char * | data |
A container for raw, CPU-side image pixel data.
This struct holds raw pixel data decoded from an image file. It is typically used as an intermediate step before creating a gmImage, which manages the texture on the GPU.
| unsigned char* gmImageData::data |
Pointer to the raw RGBA pixel data.
| int32_t gmImageData::height |
Dimensions of the image in pixels.
| int32_t gmImageData::width |