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
cursor_custom
window_icon
Since
Added in version 2.1. Removed format and bytes-per-pixel members.

Definition at line 1588 of file glfw3.h.

Member Data Documentation

◆ height

int GLFWimage::height

The height, in pixels, of this image.

Definition at line 1595 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 1598 of file glfw3.h.

◆ width

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:


mvsim
Author(s):
autogenerated on Tue Jul 4 2023 03:08:22