Contents

makeDepthStencilState(descriptor:)

Creates a depth-stencil state instance.

Declaration

func makeDepthStencilState(descriptor: MTLDepthStencilDescriptor) -> (any MTLDepthStencilState)?

Parameters

Return Value

A new MTLDepthStencilState instance if the method completed successfully; otherwise nil.