D3D12_RESOURCE_HEAP_TIER Enumeration

Specifies which resource heap tier the hardware and driver support.

Syntax

typedef enum D3D12_RESOURCE_HEAP_TIER {
  D3D12_RESOURCE_HEAP_TIER_1,
  D3D12_RESOURCE_HEAP_TIER_2
} ;

Constants

D3D12_RESOURCE_HEAP_TIER_1 Indicates that heaps can only support resources from a single resource category. For the list of resource categories, see Remarks. In tier 1, these resource categories are mutually exclusive and cannot be used with the same heap. The resource category must be declared when creating a heap, using the correct D3D12_HEAP_FLAGS enumeration constant. Applications cannot create heaps with flags that allow all three categories.
D3D12_RESOURCE_HEAP_TIER_2 Indicates that heaps can support resources from all three categories. For the list of resource categories, see Remarks. In tier 2, these resource categories can be mixed within the same heap. Applications may create heaps with flags that allow all three categories; but are not required to do so. Applications may be written to support tier 1 and seamlessly run on tier 2.

Remarks

This enum is used by the ResourceHeapTier member of the D3D12_FEATURE_DATA_D3D12_OPTIONS structure.

This enum specifies which resource heap tier the hardware and driver support. Lower tiers require more heap attribution than greater tiers.

Resources can be categorized into the following types:

  • Buffers
  • Non-render target & non-depth stencil textures
  • Render target or depth stencil textures

Requirements

   
Header d3d12.h

See Also

Core Enumerations