D3D12DDI_BARRIER_TYPE enumeration (d3d12umddi.h)

A D3D12DDI_BARRIER_TYPE enumeration value indicates the type of resource barrier.

Syntax

typedef enum D3D12DDI_BARRIER_TYPE {
  D3D12DDI_BARRIER_TYPE_GLOBAL,
  D3D12DDI_BARRIER_TYPE_TEXTURE,
  D3D12DDI_BARRIER_TYPE_BUFFER,
  D3D12DDI_BARRIER_TYPE_RANGED
} ;

Constants

 
D3D12DDI_BARRIER_TYPE_GLOBAL
The barrier is a global barrier. A global barrier applies to all resource memory. Global barriers do not transition texture layouts or force any data decompression.
D3D12DDI_BARRIER_TYPE_TEXTURE
The barrier is a texture barrier. A texture barrier applies to a specific range of texture subresources.
D3D12DDI_BARRIER_TYPE_BUFFER
The barrier is a buffer barrier. A buffer barrier applies to a specific buffer resource.
D3D12DDI_BARRIER_TYPE_RANGED
The buffer is a ranged barrier. A ranged barrier replaces the legacy D3D12DDI_RESOURCE_RANGED_BARRIER_0022.

Remarks

See Enhanced Barriers for general information.

Requirements

Requirement Value
Minimum supported client Windows 11 (WDDM 3.0)
Header d3d12umddi.h

See also

D3D12DDIARG_BARRIER_0088

PFND3D12DDI_BARRIER_0088