Provides swapchain information for the next swapchain render pass,
result of sapp_acquire_swapchain()
NOTE: sapp_acquire_swapchain() must be called exactly once per frame,
and ideally right before the swapchain render pass (e.g. not earlier
in the frame).
NOTE: when using sokol_gfx.h, don't assume that the sapp_swapchain struct
has the same memory layout as sg_swapchain! Use the sokol_log.h helper
function sglue_swapchain() to translate sapp_swapchain into a
sg_swapchain instead.
sapp_swapchain
Provides swapchain information for the next swapchain render pass, result of sapp_acquire_swapchain()
NOTE: sapp_acquire_swapchain() must be called exactly once per frame, and ideally right before the swapchain render pass (e.g. not earlier in the frame).
NOTE: when using sokol_gfx.h, don't assume that the sapp_swapchain struct has the same memory layout as sg_swapchain! Use the sokol_log.h helper function sglue_swapchain() to translate sapp_swapchain into a sg_swapchain instead.