ID3D12GraphicsCommandList::SetComputeRoot32BitConstants method (d3d12.h)
Sets a group of constants in the compute root signature.
Syntax
void SetComputeRoot32BitConstants(
[in] UINT RootParameterIndex,
[in] UINT Num32BitValuesToSet,
[in] const void *pSrcData,
[in] UINT DestOffsetIn32BitValues
);
Parameters
[in] RootParameterIndex
Type: UINT
The slot number for binding.
[in] Num32BitValuesToSet
Type: UINT
The number of constants to set in the root signature.
[in] pSrcData
Type: const void*
The source data for the group of constants to set.
[in] DestOffsetIn32BitValues
Type: UINT
The offset, in 32-bit values, to set the first constant of the group in the root signature.
Return value
None
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d12.h |
Library | D3d12.lib |
DLL | D3d12.dll |