D3D12_DESCRIPTOR_HEAP_DESC structure (d3d12.h)

Describes the descriptor heap.

Syntax

typedef struct D3D12_DESCRIPTOR_HEAP_DESC {
  D3D12_DESCRIPTOR_HEAP_TYPE  Type;
  UINT                        NumDescriptors;
  D3D12_DESCRIPTOR_HEAP_FLAGS Flags;
  UINT                        NodeMask;
} D3D12_DESCRIPTOR_HEAP_DESC;

Members

Type

A D3D12_DESCRIPTOR_HEAP_TYPE-typed value that specifies the types of descriptors in the heap.

NumDescriptors

The number of descriptors in the heap.

Flags

A combination of D3D12_DESCRIPTOR_HEAP_FLAGS-typed values that are combined by using a bitwise OR operation. The resulting value specifies options for the heap.

NodeMask

For single-adapter operation, set this to zero. If there are multiple adapter nodes, set a bit to identify the node (one of the device's physical adapters) to which the descriptor heap applies. Each bit in the mask corresponds to a single node. Only one bit must be set. See Multi-adapter systems.

Remarks

This structure is used by the following:

Requirements

Requirement Value
Header d3d12.h

See also

Core Structures

Creating Descriptor Heaps

Descriptor Heaps