Wise&mystical  1.0
Project about Europe
Loading...
Searching...
No Matches
GLFWimage Struct Reference

Image data. More...

#include <glfw3.h>

Public Attributes

int width
 
int height
 
unsigned char * pixels
 

Detailed Description

Image data.

This describes a single 2D image. See the documentation for each related function what the expected pixel format is.

See also
cursor_custom
window_icon
Since
Added in version 2.1. @glfw3 Removed format and bytes-per-pixel members.

Definition at line 1854 of file glfw3.h.

Member Data Documentation

◆ height

int GLFWimage::height

The height, in pixels, of this image.

Definition at line 1861 of file glfw3.h.

◆ pixels

unsigned char* GLFWimage::pixels

The pixel data of this image, arranged left-to-right, top-to-bottom.

Definition at line 1864 of file glfw3.h.

◆ width

int GLFWimage::width

The width, in pixels, of this image.

Definition at line 1858 of file glfw3.h.


The documentation for this struct was generated from the following file: