ID3D12GraphicsCommandList::SetGraphicsRoot32BitConstants method

Sets a group of constants in the graphics root signature.

Syntax

void SetGraphicsRoot32BitConstants(
  UINT       RootParameterIndex,
  UINT       Num32BitValuesToSet,
  const void *pSrcData,
  UINT       DestOffsetIn32BitValues
);

Parameters

RootParameterIndex

Type: UINT

The slot number for binding.

Num32BitValuesToSet

Type: UINT

The number of constants to set in the root signature.

pSrcData

Type: const void*

The source data for the group of constants to set.

DestOffsetIn32BitValues

Type: UINT

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

Return Value

This method does not return a value.

Requirements

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

See Also

ID3D12GraphicsCommandList