D3D12DDI_TEXTURE_BARRIER_FLAGS_0088 - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ne-d3d12umddi-d3d12ddi_texture_barrier_flags_0088)

Description

The D3D12DDI_TEXTURE_BARRIER_FLAGS_0088 enumeration specifies flags for texture resource barriers.

Constants

D3D12DDI_TEXTURE_BARRIER_FLAG_NONE:0x0

No flags are specified.

D3D12DDI_TEXTURE_BARRIER_FLAG_DISCARD: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.

See also

D3D12DDI_TEXTURE_BARRIER_0088