Enumeration

MTLVisibilityResultMode

The mode that determines whether samples pass the depth and stencil tests and whether to monitor the samples that pass.

Declaration

enum MTLVisibilityResultMode : UInt

Topics

Constants

case disabled

Does not monitor the samples that pass the depth and stencil tests.

case boolean

Indicates whether samples pass the depth and stencil tests.

case counting

Counts the samples that pass the depth and stencil tests.

See Also

Setting Visibility Behavior

func setVisibilityResultMode(MTLVisibilityResultMode, offset: Int)

Controls how to monitor samples that pass the depth and stencil tests.

Required.

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