Class

MTLRenderPassDepthAttachmentDescriptor

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

Declaration

class MTLRenderPassDepthAttachmentDescriptor : MTLRenderPassAttachmentDescriptor

Topics

Specifying Clearing Value

var clearDepth: Double

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

MSAA Depth Resolve

var depthResolveFilter: MTLMultisampleDepthResolveFilter

The filter used for an MSAA depth resolve operation.

Constants

enum MTLMultisampleDepthResolveFilter

Filtering options for controlling an MSAA depth resolve operation.

Relationships

Conforms To

See Also

Render Targets

Setting Load and Store Actions

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

class MTLRenderPassAttachmentDescriptor

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

class MTLRenderPassColorAttachmentDescriptor

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

class MTLRenderPassStencilAttachmentDescriptor

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software