raygui-widget
Public Attributes | List of all members
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. Removed format and bytes-per-pixel members.

Member Data Documentation

◆ height

int GLFWimage::height

The height, in pixels, of this image.

◆ pixels

unsigned char * GLFWimage::pixels

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

◆ width

int GLFWimage::width

The width, in pixels, of this image.


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