Contents

Render pass configuration

Set a render pass’s pipeline state, attachment actions, viewports, and so on, that affect subsequent drawing commands.

Overview

These methods encode commands that configure the render pass for all subsequent drawing commands. The most important configuration is the pipeline state (see MTLRenderPipelineState), which you configure by calling the setRenderPipelineState(_:) method.

Topics

Configuring pipeline state

Configuring the actions for attachments

Configuring blend behavior

Configuring rendering behavior

Configuring depth and stencil behavior

Configuring viewport and scissor behavior

Configuring visibility testing

Configuring vertex amplification

Configuring tessellation factors

Configuring persistent threadgroup memory