Instance Property

depthStencilAttachmentTextureUsage

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

Declaration

var depthStencilAttachmentTextureUsage: MTLTextureUsage { get set }

Discussion

The default value is renderTarget.

See Also

Configuring the Render Target Properties

var clearDepth: Double

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

var clearStencil: UInt32

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