Image data. More...
#include <glfw3.h>
Data Fields | |
| int | width |
| int | height |
| unsigned char * | pixels |
This describes a single 2D image. See the documentation for each related function what the expected pixel format is.
| int GLFWimage::width |
The width, in pixels, of this image.
| int GLFWimage::height |
The height, in pixels, of this image.
| unsigned char* GLFWimage::pixels |
The pixel data of this image, arranged left-to-right, top-to-bottom.
Last update on Fri Aug 12 2022 for GLFW 3.4.0