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