makeDepthStencilState(descriptor:)
Creates a depth-stencil state instance.
Declaration
func makeDepthStencilState(descriptor: MTLDepthStencilDescriptor) -> (any MTLDepthStencilState)?Parameters
- descriptor:
An Mtldepthstencildescriptor instance.
Return Value
A new MTLDepthStencilState instance if the method completed successfully; otherwise nil.