Function MTLCreateSystemDefaultDevice
Source pub unsafe extern "C" fn MTLCreateSystemDefaultDevice() -> *mut c_void
Expand description
Create the system default Metal device.
Returns a pointer to the default MTLDevice, or null if no Metal
device is available. The returned object is autoreleased.
§C++ Equivalent
MTL::Device* MTL::CreateSystemDefaultDevice();
§Returns
A pointer to the default Metal device, or null.