csharp
public readonly record struct BufferBarrierA 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 BufferThe buffer.
public ResourceState BeforeWhat was using it.
public ResourceState AfterWhat is about to.
public QueueKind SourceQueueWhich queue owns it now.
public QueueKind DestinationQueueWhich queue is to own it next.
public bool TransfersOwnershipWhether this barrier hands the buffer from one queue to another.
Methods (1)
public BufferBarrier(BufferHandle Buffer, ResourceState Before, ResourceState After, QueueKind SourceQueue = Graphics, QueueKind DestinationQueue = Graphics)A buffer changing what it is being used for.
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