Instance Method

makeDepthStencilState(descriptor:)

Creates a new object that contains depth and stencil test state.

Required.

Declaration

func makeDepthStencilState(descriptor: MTLDepthStencilDescriptor) -> MTLDepthStencilState?

Parameters

descriptor

A descriptor object that contains depth and stencil test state properties.

Return Value

A new object that contains the state for the depth and stencil tests.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software