Subscript

subscript(_:)

Returns the render pipeline state for the specified color attachment.

Declaration

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

Parameters

attachmentIndex
  • An index in the color attachment array.

Return Value

A MTLRenderPipelineColorAttachmentDescriptor object that describes the render pipeline information for a color attachment.