Enumeration

MTLVisibilityResultMode

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

Declaration

typedef enum MTLVisibilityResultMode : NSUInteger {
    ...
} MTLVisibilityResultMode;

Topics

Constants

MTLVisibilityResultModeDisabled

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

MTLVisibilityResultModeBoolean

Indicates whether samples pass the depth and stencil tests.

MTLVisibilityResultModeCounting

Counts the samples that pass the depth and stencil tests.

See Also

Setting Visibility Behavior

- setVisibilityResultMode:offset:

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

Required.