ID3D12GraphicsCommandList::SetGraphicsRoot32BitConstants method

Sets a group of constants in the graphics root signature.

Syntax


void SetGraphicsRoot32BitConstants(
  [in]       UINT RootParameterIndex,
  [in]       UINT Num32BitValuesToSet,
  [inconst void *pSrcData,
  [in]       UINT DestOffsetIn32BitValues
);

Parameters

RootParameterIndex [in]

Type: UINT

The slot number for binding.

Num32BitValuesToSet [in]

Type: UINT

The number of constants to set in the root signature.

pSrcData [in]

Type: const void*

The source data for the group of constants to set.

DestOffsetIn32BitValues [in]

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

Header

D3d12.h

Library

D3d12.lib

DLL

D3d12.dll

See also

ID3D12GraphicsCommandList

 

 

Show: