Specifies render state for Z-buffering.
DepthState | Specifies render state for Z-buffering. |
stateID | Packs the whole state into a single u32. |
depthTestEnabled | If true, rasterized pixels are tested against the depth buffer for visibility. If false, all rendered pixels pass the depth test. |
depthWriteEnabled | If true, each rasterized pixel that passed the depth test updates the depth buffer with its own depth. If false, Z-buffer is not modified during rendering. |
depthFunc | The comparison operator to use during the depth test stage. |
ctor (+1 overload) | Creates a null DepthState object. |
~dtor | |
Create(...) | Recreates this state object to the given Z-buffering state options. |
Deinit() | Frees up all resources associated with this state object, and makes it null. |
ReComputeStateID() |