MetalSwapchain

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.

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