ID3D12GraphicsCommandList::SetGraphicsRoot32BitConstants 方法 (d3d12.h)
在圖形根簽章中設定常數群組。
語法
void SetGraphicsRoot32BitConstants(
[in] UINT RootParameterIndex,
[in] UINT Num32BitValuesToSet,
[in] const void *pSrcData,
[in] UINT DestOffsetIn32BitValues
);
參數
[in] RootParameterIndex
類型: UINT
系結的位置編號。
[in] Num32BitValuesToSet
類型: UINT
在根簽章中設定的常數數目。
[in] pSrcData
類型: const void*
要設定之常數群組的來源資料。
[in] DestOffsetIn32BitValues
類型: UINT
位移在 32 位值中,設定根簽章中群組的第一個常數。
傳回值
無
需求
目標平台 | Windows |
標頭 | d3d12.h |
程式庫 | D3d12.lib |
Dll | D3d12.dll |
另請參閱
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應