다음을 통해 공유


ID3D12GraphicsCommandList::SetComputeRootConstantBufferView 메서드(d3d12.h)

컴퓨팅 루트 서명의 상수 버퍼에 대한 CPU 설명자 핸들을 설정합니다.

구문

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

매개 변수

[in] RootParameterIndex

형식: UINT

바인딩의 슬롯 번호입니다.

[in] BufferLocation

형식: D3D12_GPU_VIRTUAL_ADDRESS

상수 버퍼의 D3D12_GPU_VIRTUAL_ADDRESS 지정합니다.

반환 값

없음

요구 사항

요구 사항
대상 플랫폼 Windows
헤더 d3d12.h
라이브러리 D3d12.lib
DLL D3d12.dll

추가 정보

ID3D12GraphicsCommandList