// d3d12umddi.h
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;
View the official Windows Driver Kit DDI referenceNo description available.
The D3D12DDIARG_RESOURCE_BARRIER_0022 structure contains the resource barrier parameters for the PFND3D12DDI_RESOURCEBARRIER_0022.
TypeThe type of resource barrier as a D3D12DDI_RESOURCE_BARRIER_TYPE value. This member determines which barrier type to use in the union below.
FlagsA barrier flag as a D3D12DDI_RESOURCE_BARRIER_FLAGS value.
TransitionA 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.
RangedA D3D12DDI_RESOURCE_RANGED_BARRIER_0022 structure that describes a ranged barrier.
UAVA 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.
PFND3D12DDI_RESOURCEBARRIER_0022