ID3D12CommandList::SetGraphicsRoot32BitConstants method

[This documentation is preliminary and is subject to change.]

Sets a group of constants in the graphics root signature.

Syntax


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

Parameters

RootParameterIndex [in]

Type: UINT

The slot number for binding.

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.

Num32BitValuesToSet [in]

Type: UINT

The number of constants to set in the root signature.

Return value

Returns nothing.

Requirements

Header

D3D12.h

Library

D3D12.lib

DLL

D3D12.dll

See also

ID3D12CommandList

 

 

Show: