枚举成员

Always

always pass.

Equal

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

Greater

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

GreaterEqual

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

Less

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

LessEqual

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

Never

never pass.

NotEqual

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

Off

off