Skip to main content
Sets a constant in the graphics root signature.

Syntax

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

Type: void None.

Requirements

Header: d3d12_xs.h or d3d12_x.h
Library: d3d12_xs.lib or d3d12_x.lib
Supported Platforms: XBOX Series consoles and XBOX One family

See Also

ID3D12GraphicsCommandList
Last modified on August 20, 2026