Class

MTLRenderPassStencilAttachmentDescriptor

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

Declaration

class MTLRenderPassStencilAttachmentDescriptor : MTLRenderPassAttachmentDescriptor

Topics

Specifying the Resolve Filter

var stencilResolveFilter: MTLMultisampleStencilResolveFilter

The filter to be used for stencil multisample resolve.

Specifying the Stencil Clear Value

var clearStencil: UInt32

The stencil value to use when the stencil render target is cleared.

Relationships

Conforms To

See Also

Render Target

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 MTLRenderPassDepthAttachmentDescriptor

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