EnvironmentDefaults

sapp_environment

Used to provide runtime environment information to the outside world (like default pixel formats and the backend 3D API device pointer) via a call to sapp_get_environment().

NOTE: when using sokol_gfx.h, don't assume that sapp_environment is binary compatible with sg_environment! Always use a translation function like sglue_environment() to populate sg_environment from sapp_environment!

Members

Variables

color_format
PixelFormat color_format;
Undocumented in source.
depth_format
PixelFormat depth_format;
Undocumented in source.
sample_count
int sample_count;
Undocumented in source.

Meta