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.