ID3D12CommandList::SetComputeRootConstantBufferView method
[This documentation is preliminary and is subject to change.]
Sets a CPU descriptor handle for the constant buffer in the compute root signature.
Syntax
void SetComputeRootConstantBufferView(
[in] UINT RootParameterIndex,
[in] D3D12_CPU_DESCRIPTOR_HANDLE DescriptorHandle
);
Parameters
RootParameterIndex [in]
Type: UINTThe slot number for binding.
DescriptorHandle [in]
Type: D3D12_CPU_DESCRIPTOR_HANDLEA D3D12_CPU_DESCRIPTOR_HANDLE structure that describes the CPU descriptor handle that represents the start of the heap.
Return value
Returns nothing.
Requirements
Header |
D3D12.h |
Library |
D3D12.lib |
DLL |
D3D12.dll |