D3D12_BARRIER_LAYOUT 枚举 (d3d12.h)

语法

typedef enum D3D12_BARRIER_LAYOUT {
  D3D12_BARRIER_LAYOUT_UNDEFINED,
  D3D12_BARRIER_LAYOUT_COMMON,
  D3D12_BARRIER_LAYOUT_PRESENT,
  D3D12_BARRIER_LAYOUT_GENERIC_READ,
  D3D12_BARRIER_LAYOUT_RENDER_TARGET,
  D3D12_BARRIER_LAYOUT_UNORDERED_ACCESS,
  D3D12_BARRIER_LAYOUT_DEPTH_STENCIL_WRITE,
  D3D12_BARRIER_LAYOUT_DEPTH_STENCIL_READ,
  D3D12_BARRIER_LAYOUT_SHADER_RESOURCE,
  D3D12_BARRIER_LAYOUT_COPY_SOURCE,
  D3D12_BARRIER_LAYOUT_COPY_DEST,
  D3D12_BARRIER_LAYOUT_RESOLVE_SOURCE,
  D3D12_BARRIER_LAYOUT_RESOLVE_DEST,
  D3D12_BARRIER_LAYOUT_SHADING_RATE_SOURCE,
  D3D12_BARRIER_LAYOUT_VIDEO_DECODE_READ,
  D3D12_BARRIER_LAYOUT_VIDEO_DECODE_WRITE,
  D3D12_BARRIER_LAYOUT_VIDEO_PROCESS_READ,
  D3D12_BARRIER_LAYOUT_VIDEO_PROCESS_WRITE,
  D3D12_BARRIER_LAYOUT_VIDEO_ENCODE_READ,
  D3D12_BARRIER_LAYOUT_VIDEO_ENCODE_WRITE,
  D3D12_BARRIER_LAYOUT_DIRECT_QUEUE_COMMON,
  D3D12_BARRIER_LAYOUT_DIRECT_QUEUE_GENERIC_READ,
  D3D12_BARRIER_LAYOUT_DIRECT_QUEUE_UNORDERED_ACCESS,
  D3D12_BARRIER_LAYOUT_DIRECT_QUEUE_SHADER_RESOURCE,
  D3D12_BARRIER_LAYOUT_DIRECT_QUEUE_COPY_SOURCE,
  D3D12_BARRIER_LAYOUT_DIRECT_QUEUE_COPY_DEST,
  D3D12_BARRIER_LAYOUT_COMPUTE_QUEUE_COMMON,
  D3D12_BARRIER_LAYOUT_COMPUTE_QUEUE_GENERIC_READ,
  D3D12_BARRIER_LAYOUT_COMPUTE_QUEUE_UNORDERED_ACCESS,
  D3D12_BARRIER_LAYOUT_COMPUTE_QUEUE_SHADER_RESOURCE,
  D3D12_BARRIER_LAYOUT_COMPUTE_QUEUE_COPY_SOURCE,
  D3D12_BARRIER_LAYOUT_COMPUTE_QUEUE_COPY_DEST,
  D3D12_BARRIER_LAYOUT_VIDEO_QUEUE_COMMON
} ;

常量

 
D3D12_BARRIER_LAYOUT_UNDEFINED
D3D12_BARRIER_LAYOUT_COMMON
D3D12_BARRIER_LAYOUT_PRESENT
D3D12_BARRIER_LAYOUT_GENERIC_READ
D3D12_BARRIER_LAYOUT_RENDER_TARGET
D3D12_BARRIER_LAYOUT_UNORDERED_ACCESS
D3D12_BARRIER_LAYOUT_DEPTH_STENCIL_WRITE
D3D12_BARRIER_LAYOUT_DEPTH_STENCIL_READ
D3D12_BARRIER_LAYOUT_SHADER_RESOURCE
D3D12_BARRIER_LAYOUT_COPY_SOURCE
D3D12_BARRIER_LAYOUT_COPY_DEST
D3D12_BARRIER_LAYOUT_RESOLVE_SOURCE
D3D12_BARRIER_LAYOUT_RESOLVE_DEST
D3D12_BARRIER_LAYOUT_SHADING_RATE_SOURCE
D3D12_BARRIER_LAYOUT_VIDEO_DECODE_READ
D3D12_BARRIER_LAYOUT_VIDEO_DECODE_WRITE
D3D12_BARRIER_LAYOUT_VIDEO_PROCESS_READ
D3D12_BARRIER_LAYOUT_VIDEO_PROCESS_WRITE
D3D12_BARRIER_LAYOUT_VIDEO_ENCODE_READ
D3D12_BARRIER_LAYOUT_VIDEO_ENCODE_WRITE
D3D12_BARRIER_LAYOUT_DIRECT_QUEUE_COMMON
D3D12_BARRIER_LAYOUT_DIRECT_QUEUE_GENERIC_READ
D3D12_BARRIER_LAYOUT_DIRECT_QUEUE_UNORDERED_ACCESS
D3D12_BARRIER_LAYOUT_DIRECT_QUEUE_SHADER_RESOURCE
D3D12_BARRIER_LAYOUT_DIRECT_QUEUE_COPY_SOURCE
D3D12_BARRIER_LAYOUT_DIRECT_QUEUE_COPY_DEST
D3D12_BARRIER_LAYOUT_COMPUTE_QUEUE_COMMON
D3D12_BARRIER_LAYOUT_COMPUTE_QUEUE_GENERIC_READ
D3D12_BARRIER_LAYOUT_COMPUTE_QUEUE_UNORDERED_ACCESS
D3D12_BARRIER_LAYOUT_COMPUTE_QUEUE_SHADER_RESOURCE
D3D12_BARRIER_LAYOUT_COMPUTE_QUEUE_COPY_SOURCE
D3D12_BARRIER_LAYOUT_COMPUTE_QUEUE_COPY_DEST
D3D12_BARRIER_LAYOUT_VIDEO_QUEUE_COMMON

要求

要求
Header d3d12.h