Skip to main content

ss_scene_resize

Function ss_scene_resize 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn ss_scene_resize( scene: *mut SsScene, width: u32, height: u32, )
Expand description

Resize the swapchain, the depth/stencil buffer and the projection to a new drawable size in pixels. Zero in either dimension is ignored, and a size past the device’s max_texture_dimension_2d draws at that limit.

§Safety

scene must be a live handle or null.