Contents

depthStencilTexture

A packed depth and stencil texture associated with the current drawable object’s texture.

Declaration

var depthStencilTexture: (any MTLTexture)? { get }

Discussion

The value of depthStencilPixelFormat determines the format of this texture.

The default value is nil. This value is also nil if the specified pixel format is MTLPixelFormat.invalid.

See Also

Retrieving Render Target Information