init(device:)
Asynchronously compiles the shared shader and pipeline resources for the given device.
Declaration
nonisolated(nonsending) init(device: any MTLDevice) async throwsParameters
- device:
The Metal device to allocate and compile resources on.