D3D12DDIARG_RESOURCE_BARRIER_0022 structure (d3d12umddi.h)
The D3D12DDIARG_RESOURCE_BARRIER_0022 structure contains the resource barrier parameters for the PFND3D12DDI_RESOURCEBARRIER_0022.
Syntax
typedef struct D3D12DDIARG_RESOURCE_BARRIER_0022 {
D3D12DDI_RESOURCE_BARRIER_TYPE Type;
D3D12DDI_RESOURCE_BARRIER_FLAGS Flags;
union {
D3D12DDI_RESOURCE_TRANSITION_BARRIER_0003 Transition;
D3D12DDI_RESOURCE_RANGED_BARRIER_0022 Ranged;
D3D12DDI_RESOURCE_UAV_BARRIER UAV;
};
} D3D12DDIARG_RESOURCE_BARRIER_0022;
Members
Type
The type of resource barrier as a D3D12DDI_RESOURCE_BARRIER_TYPE value. This member determines which barrier type to use in the union below.
Flags
A barrier flag as a D3D12DDI_RESOURCE_BARRIER_FLAGS value.
Transition
A D3D12DDI_RESOURCE_TRANSITION_BARRIER_0003 structure that describes the transition of subresources between different usages. This structure's members specify the before and after usages of the subresources.
Ranged
A D3D12DDI_RESOURCE_RANGED_BARRIER_0022 structure that describes a ranged barrier.
UAV
A D3D12DDI_RESOURCE_UAV_BARRIER structure that describes a resource in which all UAV accesses (reads or writes) must complete before any future UAV accesses (read or write) can begin.
Requirements
Requirement | Value |
---|---|
Header | d3d12umddi.h (include D3d12umddi.h) |