D3D12_CPU_DESCRIPTOR_HANDLE 结构 (d3d12.h)
描述 CPU 描述符句柄。
语法
typedef struct D3D12_CPU_DESCRIPTOR_HANDLE {
SIZE_T ptr;
} D3D12_CPU_DESCRIPTOR_HANDLE;
成员
ptr
描述符的地址。
备注
此结构由以下方法返回:
此结构将传递到以下方法中:- ID3D12Device::CopyDescriptors
- ID3D12Device::CopyDescriptorsSimple
- ID3D12Device::CreateConstantBufferView
- ID3D12Device::CreateShaderResourceView
- ID3D12Device::CreateUnorderedAccessView
- ID3D12Device::CreateRenderTargetView
- ID3D12Device::CreateDepthStencilView
- ID3D12Device::CreateSampler
- ID3D12GraphicsCommandList::ClearDepthStencilView
- ID3D12GraphicsCommandList::ClearRenderTargetView
- ID3D12GraphicsCommandList::ClearUnorderedAccessViewUint
- ID3D12GraphicsCommandList::ClearUnorderedAccessViewFloat
- ID3D12GraphicsCommandList::OMSetRenderTargets
若要获取句柄增量大小,请使用 ID3D12Device.GetDescriptorHandleIncrementSize
要求
标头 | d3d12.h |
另请参阅
CD3DX12_CPU_DESCRIPTOR_HANDLEID3D12Device.GetDescriptorHandleIncrementSize