setDepthStencilState(_:)
Configures this encoder with a depth stencil state that applies to your subsequent draw commands.
Declaration
func setDepthStencilState(_ depthStencilState: (any MTLDepthStencilState)?)Parameters
- depthStencilState:
The Mtldepthstencilstate instance to set.