Instance Property

frontFaceStencil

The stencil descriptor for front-facing primitives.

Declaration

@NSCopying var frontFaceStencil: MTLStencilDescriptor! { get set }

Discussion

The default value is nil, which indicates the stencil test is disabled for the front-facing primitives. For more information, see MTLStencilDescriptor.

See Also

Specifying Stencil Descriptors for Primitives

var backFaceStencil: MTLStencilDescriptor!

The stencil descriptor for back-facing primitives.