枚举成员

Always: 7

always pass.

Equal: 2

pass if the incoming value equals the depth/stencil buffer value.

Greater: 4

pass if the incoming value is greater than the depth/stencil buffer value.

GreaterEqual: 6

pass if the incoming value is greater than or equal to the depth/stencil buffer value.

Less: 1

pass if the incoming value is less than the depth/stencil buffer value.

LessEqual: 3

pass if the incoming value is less than or equal to the depth/stencil buffer value.

Never: 0

never pass.

NotEqual: 5

pass if the incoming value is not equal to the depth/stencil buffer value.

Off: 8

off