Function MTLCopyAllDevices
Source pub unsafe extern "C" fn MTLCopyAllDevices() -> *mut c_void
Expand description
Copy all available Metal devices.
Returns an NSArray containing all available Metal devices.
This function is only available on macOS.
§C++ Equivalent
NS::Array* MTL::CopyAllDevices();
§Returns
A pointer to an NSArray of Metal devices. The caller owns the array.