Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ID3D12GraphicsCommandList::SetGraphicsRoot32BitConstant method (d3d12.h)

Sets a constant in the graphics root signature.

Syntax

void SetGraphicsRoot32BitConstant(
 [in] UINT RootParameterIndex,
 [in] UINT SrcData,
 [in] UINT DestOffsetIn32BitValues
);

Parameters

[in] RootParameterIndex

Type: UINT

The slot number for binding.

[in] SrcData

Type: UINT

The source data for the constant to set.

[in] DestOffsetIn32BitValues

Type: UINT

The offset, in 32-bit values, to set the constant in the root signature.

Return value

None

Requirements

Requirement Value
Target Platform Windows
Header d3d12.h
Library D3d12.lib
DLL D3d12.dll

See also

ID3D12GraphicsCommandList


Feedback

Was this page helpful?

Additional resources