Contents

MTLRenderPipelineColorAttachmentDescriptor

A color render target that specifies the color configuration and color operations for a render pipeline.

Declaration

class MTLRenderPipelineColorAttachmentDescriptor

Overview

An MTLRenderPipelineColorAttachmentDescriptor instance defines the configuration of a color attachment associated with a rendering pipeline.

The pixelFormat property needs to be specified for the rendering pipeline state at the color attachment.

Blend operations determine how a source fragment is combined with a destination value in a color attachment to determine the pixel value to be written. The following properties define whether and how blending is performed:

Topics

Configuring render pipeline states

Controlling blend operations

Configuring blend factors

See Also

Render pipeline states