Table of Contents

Enum BarrierAccess

Namespace
Stride.Graphics
Assembly
Stride.Graphics.dll

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 = 4

The resource is read as a constant buffer.

CopyRead = 256

The resource is read as a copy source.

CopyWrite = 512

The resource is written as a copy destination.

DepthStencilRead = 64

The resource is read as a depth-stencil buffer.

DepthStencilWrite = 128

The resource is written as a depth-stencil buffer.

IndexBuffer = 2

The resource is read as an index buffer.

IndirectArgument = 1024

The resource is read as an indirect argument buffer.

None = 0

No access.

Present = 8192

The resource is used for presentation.

RenderTarget = 32

The resource is written as a render target.

ResolveRead = 2048

The resource is read as a resolve source.

ResolveWrite = 4096

The resource is written as a resolve destination.

ShaderRead = 8

The resource is read by a shader (SRV).

ShaderWrite = 16

The resource is written by a shader (UAV).

VertexBuffer = 1

The resource is read as a vertex buffer.