Class

MTLRenderPassDepthAttachmentDescriptor

A depth render target that serves as the output destination for depth pixels generated by a render pass.

Declaration

@interface MTLRenderPassDepthAttachmentDescriptor : MTLRenderPassAttachmentDescriptor

Topics

Specifying Clearing Value

clearDepth

The depth to use when the depth render target is cleared.

MSAA Depth Resolve

depthResolveFilter

The filter used for an MSAA depth resolve operation.

Constants

MTLMultisampleDepthResolveFilter

Filtering options for controlling an MSAA depth resolve operation.

Relationships

See Also

Specifying the Attachments for a Rendering Pass

Setting Load and Store Actions

Set actions that define how a render pass loads and stores a render target.

colorAttachments

An array of state information for attachments that store color data.

depthAttachment

State information for an attachment that stores depth data.

stencilAttachment

State information for an attachment that stores stencil data.

MTLRenderPassAttachmentDescriptor

A render target that serves as the output destination for pixels generated by a render pass.

MTLRenderPassColorAttachmentDescriptor

A color render target that serves as the output destination for color pixels generated by a render pass.

MTLRenderPassStencilAttachmentDescriptor

A stencil render target that serves as the output destination for stencil pixels generated by a render pass.