subscript(_:)
Returns the descriptor object for the specified color attachment.
Declaration
subscript(attachmentIndex: Int) -> MTLRenderPassColorAttachmentDescriptor! { get set }Parameters
- attachmentIndex:
An index in the color attachment array.
Return Value
A descriptor object that contains color attachment information.