Contents

subscript(_:)

Returns the descriptor object for the specified sample buffer attachment.

Declaration

subscript(attachmentIndex: Int) -> MTLComputePassSampleBufferAttachmentDescriptor! { get set }

Parameters

  • attachmentIndex:

    An index for the sample buffer attachment to fetch.

Return Value

The requested MTLComputePassSampleBufferAttachmentDescriptor object.