Contents

init(_:)

Creates a context targeting the specified Metal device.

Declaration

init(_ device: any MTLDevice) throws

Parameters

  • device:

    The Metal device to target.

Discussion