Sets pixel shader depth force Z-order. Enforces the shader setting.
public:
void SetPixelShaderDepthForceZOrder(
BOOL ForceOrder
)
ForceOrder
Type: BOOLÂ
[in] If true, forces Z-order.
Some rendering passes may benefit from RE_Z order in the pixel shader. RE_Z is when a depth test is performed before and after the pixel shader is run. It shows benefit on foliage, grass, alpha-tested billboard geometry, especially when writing into a fat GBuffer or if the pixel shader is sufficiently long (greater than 1500 clock cycles).
The following shader #defines enforce one of the four available modes on the shader:
Header: Declared in d3d11_x.h.
Library: Use d3d11_x.lib.