Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge
Read in English
Read in English Edit
Twitter LinkedIn Facebook Email

D3D12_CPU_DESCRIPTOR_HANDLE structure (d3d12.h)

  • Article
  • 08/23/2022

In this article

Describes a CPU descriptor handle.

Syntax

typedef struct D3D12_CPU_DESCRIPTOR_HANDLE {
  SIZE_T ptr;
} D3D12_CPU_DESCRIPTOR_HANDLE;

Members

ptr

The address of the descriptor.

Remarks

This structure is returned by the following methods:

  • ID3D12DescriptorHeap::GetCPUDescriptorHandleForHeapStart
This structure is passed into the following methods:
  • 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

To get the handle increment size use ID3D12Device.GetDescriptorHandleIncrementSize

Requirements

   
Header d3d12.h

See also

CD3DX12_CPU_DESCRIPTOR_HANDLE ID3D12Device.GetDescriptorHandleIncrementSize

Core Structures


Feedback

Was this page helpful?

Feedback

Submit and view feedback for

This page
View all page feedback

Additional resources

  • Previous Versions
  • Blog
  • Contribute
  • Privacy
  • Terms of Use
  • Trademarks
  • © Microsoft 2023

Additional resources

In this article

  • Previous Versions
  • Blog
  • Contribute
  • Privacy
  • Terms of Use
  • Trademarks
  • © Microsoft 2023