Instance Property

depthStencilAttachmentTextureUsage

The texture usage characteristics that the view uses when creating the depth and stencil textures.

Declaration

@property(nonatomic) MTLTextureUsage depthStencilAttachmentTextureUsage;

Discussion

The default value is MTLTextureUsageRenderTarget.

See Also

Configuring the Render Target Properties

depthStencilPixelFormat

The format used to generate the depthStencilTexture object.

clearDepth

The depth value to use to clear the depth target when creating a render pass descriptor.

clearStencil

The stencil value to use to clear the stencil target when creating a render pass descriptor.