Skip to main content

ss_scene_is_device_lost

Function ss_scene_is_device_lost 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn ss_scene_is_device_lost( scene: *mut SsScene, ) -> bool
Expand description

Whether the driver has taken the GPU device away. False for a null scene. While this is true ss_scene_update / ss_scene_render do nothing and ss_scene_resize only records the size.

ยงSafety

scene must be a live handle or null.