NIF Objects | Compound Types | Enum Types | Basic Types | File Versions

ZCompareMode

Describes Z-buffer test modes for NiZBufferProperty.
"Less than" = closer to camera, "Greater than" = further from camera.

Choices

Number Name Description
0 ZCOMP_ALWAYS Always true. Buffer is ignored.
1 ZCOMP_LESS VRef ‹ VBuf
2 ZCOMP_EQUAL VRef = VBuf
3 ZCOMP_LESS_EQUAL VRef ≤ VBuf
4 ZCOMP_GREATER VRef › VBuf
5 ZCOMP_NOT_EQUAL VRef ≠ VBuf
6 ZCOMP_GREATER_EQUAL VRef ≥ VBuf
7 ZCOMP_NEVER Always false. Ref value is ignored.

Storage Type

uint

Found In