NIF File Format Documentation

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

TestFunction

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

Choices

Number Name Description
0 TEST_ALWAYS Always true. Buffer is ignored.
1 TEST_LESS VRef ‹ VBuf
2 TEST_EQUAL VRef = VBuf
3 TEST_LESS_EQUAL VRef ≤ VBuf
4 TEST_GREATER VRef › VBuf
5 TEST_NOT_EQUAL VRef ≠ VBuf
6 TEST_GREATER_EQUAL VRef ≥ VBuf
7 TEST_NEVER Always false. Ref value is ignored.

Storage Type

uint

Found In