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!
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!