語法
參數
RootParameterIndex [in]類型:UINT 用於繫結的位置編號。 BufferLocation [in]
類型:D3D12_GPU_VIRTUAL_ADDRESS 指定常數緩衝區的 D3D12_GPU_VIRTUAL_ADDRESS。
傳回值
類型:void 無。需求
標頭: d3d12_xs.h 或 d3d12_x.h程式庫: d3d12_xs.lib 或 d3d12_x.lib
支援的平台: XBOX Series 主機與 XBOX One 系列
在計算根簽章中設定常數緩衝區的 CPU 描述元控制代碼。
相關主題
SetGraphicsRootConstantBufferViewSetComputeRootUnorderedAccessViewSetComputeRootShaderResourceViewSetComputeRoot32BitConstantSetComputeRoot32BitConstants