ID3D12GraphicsCommandList::SetComputeRoot32BitConstant method

Sets a constant in the compute root signature.

Syntax


void SetComputeRoot32BitConstant(
  [in] UINT RootParameterIndex,
  [in] UINT SrcData,
  [in] UINT DestOffsetIn32BitValues
);

Parameters

RootParameterIndex [in]

Type: UINT

The slot number for binding.

SrcData [in]

Type: UINT

The source data for the constant to set.

DestOffsetIn32BitValues [in]

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

Header

D3d12.h

Library

D3d12.lib

DLL

D3d12.dll

See also

ID3D12GraphicsCommandList

 

 

Show: