Contents

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

An MTLRenderPipelineColorAttachmentDescriptor instance that describes the render pipeline information for a color attachment.

See Also

Related Documentation

  • Metal Shading Language Guide
  • Metal Programming Guide