Vixen
dd8b0a81
csharp
public readonly record struct BufferBarrier

A buffer changing what it is being used for.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

The two queues are equal in every barrier that is not a cross-queue handover, and equal is the default — see TextureBarrier for what stating two different ones means.

Fields and properties (6)

  • public BufferHandle Buffer

    The buffer.

  • public ResourceState Before

    What was using it.

  • public ResourceState After

    What is about to.

  • public QueueKind SourceQueue

    Which queue owns it now.

  • public QueueKind DestinationQueue

    Which queue is to own it next.

  • public bool TransfersOwnership

    Whether this barrier hands the buffer from one queue to another.

Methods (1)

Used by (14)

  • BarrierGroupVixen.Graphics
  • FoliageCullPassVixen.Rendering.Terrain
  • GlCommandRecorderVixen.Graphics.OpenGL
  • GlDeviceVixen.Graphics.OpenGL
  • GrassDispatchVixen.Rendering.Terrain
  • NullCommandListVixen.Graphics.Null
  • ParticlePictureVixen.Vfx.Gpu.Tests
  • QueueOwnershipTestsVixen.Graphics.Vulkan.Tests
  • QueueOwnershipTestsVixen.Graphics.Null.Tests
  • RenderGraphVixen.Graphics.RenderGraph
  • TrackingCommandListVixen.Graphics.RenderGraph.Tests
  • VfxGpuSimulationVixen.Rendering
  • VfxGpuSortVixen.Rendering
  • VulkanCommandListVixen.Graphics.Vulkan