Contents

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.

See Also

Creating a Texture Loader