ImageDesc

sapp_image_desc

This is used to describe image data to sokol_app.h (window icons and cursor images).

The pixel format is RGBA8.

cursor_hotspot_x and _y are used only for cursors, to define which pixel of the image should be aligned with the mouse position.

Members

Variables

cursor_hotspot_x
int cursor_hotspot_x;
Undocumented in source.
cursor_hotspot_y
int cursor_hotspot_y;
Undocumented in source.
height
int height;
Undocumented in source.
pixels
Range pixels;
Undocumented in source.
width
int width;
Undocumented in source.

Meta