public:
void OMSetDepthBoundsX(
FLOAT Min,
FLOAT Max
)
Min
Type: FLOAT
[in] The minimum depth bounds. The default is 0.
Max
Type: FLOAT
[in] The maximum depth bounds. The default is 1.
Type: void
This method sets the depth bounds. The defaults are 0 and 1. Pixels with depth outside of the depth range will be culled. From the May 2018 XDK onwards, depth bound testing is disabled by default on Direct3D 12.x. On all prior XDKs (April 2018 or earlier) depth bounds testing was enabled by default.
Header: Declared in d3d12_x.h.
Library: Use d3d12_x.lib.