Enum BarrierAccess
Defines flags for the type of access a GPU operation performs on a graphics resource. This is a cross-platform abstraction over D3D12 Enhanced Barrier access flags and Vulkan access flags.
[Flags]
public enum BarrierAccess
- Extension Methods
Fields
ConstantBuffer = 4The resource is read as a constant buffer.
CopyRead = 256The resource is read as a copy source.
CopyWrite = 512The resource is written as a copy destination.
DepthStencilRead = 64The resource is read as a depth-stencil buffer.
DepthStencilWrite = 128The resource is written as a depth-stencil buffer.
IndexBuffer = 2The resource is read as an index buffer.
IndirectArgument = 1024The resource is read as an indirect argument buffer.
None = 0No access.
Present = 8192The resource is used for presentation.
RenderTarget = 32The resource is written as a render target.
ResolveRead = 2048The resource is read as a resolve source.
ResolveWrite = 4096The resource is written as a resolve destination.
ShaderRead = 8The resource is read by a shader (SRV).
ShaderWrite = 16The resource is written by a shader (UAV).
VertexBuffer = 1The resource is read as a vertex buffer.