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
setColorStoreAction(_:index:)setColorStoreActionOptions(_:index:)setDepthStoreAction(_:)setDepthStoreActionOptions(_:)setStencilStoreAction(_:)setStencilStoreActionOptions(_:)
Configuring blend behavior
Configuring rendering behavior
Configuring depth and stencil behavior
setDepthStencilState(_:)setDepthBias(_:slopeScale:clamp:)setDepthClipMode(_:)setDepthTestBounds(_:)setStencilReferenceValue(_:)setStencilReferenceValues(front:back:)