ID3D12GraphicsCommandList::SetComputeRootConstantBufferView-Methode (d3d12.h)

Legt ein CPU-Deskriptorhandle für den Konstantenpuffer in der Computestammsignatur fest.

Syntax

void SetComputeRootConstantBufferView(
  [in] UINT                      RootParameterIndex,
  [in] D3D12_GPU_VIRTUAL_ADDRESS BufferLocation
);

Parameter

[in] RootParameterIndex

Typ: UINT

Die Slotnummer für die Bindung.

[in] BufferLocation

Typ: D3D12_GPU_VIRTUAL_ADDRESS

Gibt die D3D12_GPU_VIRTUAL_ADDRESS des Konstantenpuffers an.

Rückgabewert

Keine

Anforderungen

Anforderung Wert
Zielplattform Windows
Kopfzeile d3d12.h
Bibliothek D3d12.lib
DLL D3d12.dll

Weitere Informationen

ID3D12GraphicsCommandList