D3D12_GPU_DESCRIPTOR_HANDLE 结构 (d3d12.h)
描述 GPU 描述符句柄。
语法
typedef struct D3D12_GPU_DESCRIPTOR_HANDLE {
UINT64 ptr;
} D3D12_GPU_DESCRIPTOR_HANDLE;
成员
ptr
描述符的地址。
注解
此结构由 ID3D12DescriptorHeap::GetGPUDescriptorHandleForHeapStart 返回。
此结构将传递到以下方法中:
- ID3D12GraphicsCommandList::ClearUnorderedAccessViewFloat
- ID3D12GraphicsCommandList::ClearUnorderedAccessViewUint
- ID3D12GraphicsCommandList:SetComputeRootDescriptorTable
- ID3D12GraphicsCommandList::SetGraphicsRootDescriptorTable
若要获取句柄增量大小,请使用 ID3D12Device.GetDescriptorHandleIncrementSize
要求
要求 | 值 |
---|---|
Header | d3d12.h |
另请参阅
CD3DX12_GPU_DESCRIPTOR_HANDLEID3D12Device.GetDescriptorHandleIncrementSize
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈