init(device:)
Initializes a new texture loader object.
Declaration
init(device: any MTLDevice)Parameters
- device:
The Metal device to create Metal textures with.
Return Value
An initialized texture loader object.
Initializes a new texture loader object.
init(device: any MTLDevice)The Metal device to create Metal textures with.
An initialized texture loader object.