IconDesc

sapp_icon_desc

An icon description structure for use in sapp_desc.icon and sapp_set_icon().

When setting a custom image, the application can provide a number of candidates differing in size, and sokol_app.h will pick the image(s) closest to the size expected by the platform's window system.

To set sokol-app's default icon, set .sokol_default to true.

Otherwise provide candidate images of different sizes in the images[] array.

If both the sokol_default flag is set to true, any image candidates will be ignored and the sokol_app.h default icon will be set

extern (C)
struct IconDesc {}

Members

Variables

images
ImageDesc[8] images;
Undocumented in source.
sokol_default
bool sokol_default;
Undocumented in source.

Meta