MetalSwapchain

sapp_swapchain

Provides swapchain information for the current frame to the outside world via a call to sapp_get_swapchain().

NOTE: sapp_get_swapchain() must be called exactly once per frame since on some backends it will also acquire the next swapchain image.

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.

Members

Variables

current_drawable
const(void)* current_drawable;
Undocumented in source.
depth_stencil_texture
const(void)* depth_stencil_texture;
Undocumented in source.
msaa_color_texture
const(void)* msaa_color_texture;
Undocumented in source.

Meta