ID3D12GraphicsCommandList::SetGraphicsRoot32BitConstant method

Sets a constant in the graphics root signature.

Syntax

void SetGraphicsRoot32BitConstant(
  UINT RootParameterIndex,
  UINT SrcData,
  UINT DestOffsetIn32BitValues
);

Parameters

RootParameterIndex

Type: UINT

The slot number for binding.

SrcData

Type: UINT

The source data for the constant to set.

DestOffsetIn32BitValues

Type: UINT

The offset, in 32-bit values, to set the constant 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