subscript(_:)
Returns the descriptor object for the specified sample buffer attachment.
Declaration
subscript(attachmentIndex: Int) -> MTLRenderPassSampleBufferAttachmentDescriptor! { get set }Parameters
- attachmentIndex:
An index for the object to fetch.
Return Value
The MTLRenderPassSampleBufferAttachmentDescriptor at the specified index.