Contents

device

The device object that created the argument encoder.

Declaration

var device: any MTLDevice { get }

Discussion

You can only use the encoder to encode data into buffers created by the same Metal device object.

See Also

Identifying the argument encoder