Partager via


ID3D12GraphicsCommandList ::SetComputeRootConstantBufferView, méthode (d3d12.h)

Définit un handle de descripteur d’UC pour la mémoire tampon constante dans la signature racine de calcul.

Syntaxe

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

Paramètres

[in] RootParameterIndex

Type : UINT

Numéro d’emplacement pour la liaison.

[in] BufferLocation

Type : D3D12_GPU_VIRTUAL_ADDRESS

Spécifie le D3D12_GPU_VIRTUAL_ADDRESS de la mémoire tampon constante.

Valeur de retour

None

Configuration requise

Condition requise Valeur
Plateforme cible Windows
En-tête d3d12.h
Bibliothèque D3d12.lib
DLL D3d12.dll

Voir aussi

ID3D12GraphicsCommandList