Image data.
More...
#include <glfw3.h>
Image data.
This describes a single 2D image. See the documentation for each related function what the expected pixel format is.
- See also
- Custom cursor creation
-
Window icon
- Since
- Added in version 2.1. Removed format and bytes-per-pixel members.
Definition at line 1588 of file glfw3.h.
The height, in pixels, of this image.
Definition at line 1595 of file glfw3.h.
unsigned char* GLFWimage::pixels |
The pixel data of this image, arranged left-to-right, top-to-bottom.
Definition at line 1598 of file glfw3.h.
The width, in pixels, of this image.
Definition at line 1592 of file glfw3.h.
The documentation for this struct was generated from the following file: