init(device:)
Asynchronously prepare resources for the given device.
Declaration
nonisolated(nonsending) init(device: any MTLDevice) async throwsParameters
- device:
The Metal device to prepare resources using.
Asynchronously prepare resources for the given device.
nonisolated(nonsending) init(device: any MTLDevice) async throwsThe Metal device to prepare resources using.