GLFWimage

Image data.

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

@sa @ref cursor_custom @sa @ref window_icon

extern (C) @nogc nothrow __gshared
struct GLFWimage {}

Members

Variables

height
int height;

The height, in pixels, of this image.

pixels
ubyte* pixels;

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

width
int width;

The width, in pixels, of this image.

Meta

Since

Added in version 2.1. @glfw3 Removed format and bytes-per-pixel members.

Ingroup: window