D3D12DDI_TEXTURE_BARRIER_FLAGS_0088 enumeration (d3d12umddi.h)
The D3D12DDI_TEXTURE_BARRIER_FLAGS_0088 enumeration specifies flags for texture resource barriers.
Syntax
typedef enum D3D12DDI_TEXTURE_BARRIER_FLAGS_0088 {
D3D12DDI_TEXTURE_BARRIER_FLAG_NONE = 0x0,
D3D12DDI_TEXTURE_BARRIER_FLAG_DISCARD = 0x1
} ;
Constants
D3D12DDI_TEXTURE_BARRIER_FLAG_NONE Value: 0x0 No flags are specified. |
D3D12DDI_TEXTURE_BARRIER_FLAG_DISCARD Value: 0x1 This 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. |
Remarks
See Enhanced Barriers for general information.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 11 (WDDM 3.0) |
Header | d3d12umddi.h |