// d3d12umddi.h
typedef enum D3D12DDI_TEXTURE_BARRIER_FLAGS_0088 {
D3D12DDI_TEXTURE_BARRIER_FLAG_NONE = 0x0,
D3D12DDI_TEXTURE_BARRIER_FLAG_DISCARD = 0x1
} ;
View the official Windows Driver Kit DDI referenceNo description available.
The D3D12DDI_TEXTURE_BARRIER_FLAGS_0088 enumeration specifies flags for texture resource barriers.
D3D12DDI_TEXTURE_BARRIER_FLAG_NONE:0x0No flags are specified.
D3D12DDI_TEXTURE_BARRIER_FLAG_DISCARD:0x1This flag can only be used when LayoutBefore is D3D12_BARRIER_LAYOUT_UNDEFINED. Typically, this flag is used to initialize compression metadata as part of a barrier that activates an aliased resource. The Subresource member must indicate all subresources. Without this flag, a full resource Clear, Copy or Discard is required before use.
See Enhanced Barriers for general information.