共用方式為


D3D12_BARRIER_LAYOUT列舉 (d3d12.h)

Syntax

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

規格需求

需求
標頭 d3d12.h