Skip to main content

get_platform_capabilities

Function get_platform_capabilities 

Source
pub fn get_platform_capabilities() -> PlatformCapabilities
Expand description

Return the host’s platform capability flags, derived from the compile-time target OS and the runtime session type. The renderer caches the result through its usePlatformCapabilities() hook.