Configures how the GPU front-end distributes work across the four shader engines on Xbox One X hardware.
public:
void SetDrawBalancing(
UINT BalanceMode,
UINT Flags
)
BalanceMode
Type: UINTÂ
[in] Specifies the way in which work is distributed. Valid values are defined by the D3D11X_SET_DRAW_BALANCING_MODE enumeration.
Flags
Type: UINTÂ
[in] Reserved. Set to 0.
Draw balancing is a hardware feature that analyzes draw calls inside the work distributor (WD) of the Xbox One X GPU and changes the alternation rates to spread them more evenly across the four shader engines, thereby increasing performance. Draw balancing is automatic for Direct3D 12.x titles when conditions of the draw call permit it, but Direct3D 11.x titles must opt-in and guarantee correctness of the result.
SetDrawBalancing is only meaningful on Xbox One X hardware and is incompatible with the following:
Header: Declared in d3d11_x.h.
Library: Use d3d11_x.lib.