Public Attributes | List of all members
GLFWimage Struct Reference

Image data. More...

#include <glfw3.h>

Public Attributes

int height
unsigned char * pixels
int width

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
Custom cursor creation
Window icon
Added in version 2.1. Removed format and bytes-per-pixel members.

Definition at line 1588 of file glfw3.h.

Member Data Documentation

int GLFWimage::height

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.

int GLFWimage::width

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:

Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:32