Share via


MTLVisibilityResultMode Enum

Definition

Enumerates values that control how and whether to monitor samples that pass depth and stencil tests.

[ObjCRuntime.Native]
public enum MTLVisibilityResultMode
[<ObjCRuntime.Native>]
type MTLVisibilityResultMode = 
Inheritance
MTLVisibilityResultMode
Attributes

Fields

Name Value Description
Disabled 0

Indicates that monitoring is turned off.

Boolean 1

Indicates that only whether the samples pass the depth and stencil tests should be tracked.

Counting 2

Indicates that the samples that pass should be monitored.

Applies to