Function create_system_default_device
Source pub fn create_system_default_device() -> Option<*mut c_void>
Expand description
Safely create the system default Metal device.
§Returns
The raw pointer to the default device, or None if unavailable.
§Safety
The returned pointer is autoreleased. Callers should retain it if
they need to keep it beyond the current autorelease pool scope.