Instance Method

objectAtIndexedSubscript:

Returns the render pipeline state for the specified color attachment.

Declaration

- (MTLRenderPipelineColorAttachmentDescriptor *)objectAtIndexedSubscript:(NSUInteger)attachmentIndex;

Parameters

attachmentIndex
  • An index in the color attachment array.

Return Value

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

See Also

Accessing Render Pipeline State for a Color Attachment

- setObject:atIndexedSubscript:

Sets the render pipeline state for a specified color attachment.