D3D12DDI_RANGED_BARRIER_0094 structure (d3d12umddi.h)
The D3D12DDI_RANGED_BARRIER_0094 structure describes a resource ranged barrier. This structure replaces the legacy D3D12DDI_RESOURCE_RANGED_BARRIER_0022 structure.
Syntax
typedef struct D3D12DDI_RANGED_BARRIER_0094 {
D3D12DDI_RANGED_BARRIER_FLAGS_0094 Flags;
D3D12DDI_HRESOURCE hResource;
UINT Subresource;
D3D12DDI_RANGE Range;
} D3D12DDI_RANGED_BARRIER_0094;
Members
Flags
A D3D12DDI_RANGED_BARRIER_FLAGS_0094 value that specifies flags for the ranged barrier.
hResource
The handle of the resource using the barrier. A NULL value means that the entire GPU cache must be flushed or invalidated. A non-NULL value means that the flush or invalidate action affects a smaller subset of the cache that can contain data for that resource.
Subresource
A D3D12DDI_BARRIER_SUBRESOURCE_RANGE_0088 structure that specifies the range of subresources being barriered.
Range
A D3D12DDI_RANGE structure that describes a memory range.
Remarks
Enhanced barriers fully deprecate the legacy ResourceBarrier DDIs. This includes the ranged barriers used internally by AtomicCopy commands.
See Enhanced Barriers for general information.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 11 (WDDM 3.0) |
Header | d3d12umddi.h |