struct GLFWimage
Overview
Image data.
Added in version 2.1. @glfw3 Removed format and bytes-per-pixel members.
See also:
cursor_custom
#include <glfw3.h> struct GLFWimage { // fields int width; int height; unsigned char* pixels; };
Fields
int width
The width, in pixels, of this image.
int height
The height, in pixels, of this image.
unsigned char* pixels
The pixel data of this image, arranged left-to-right, top-to-bottom.