Vixen
caa30e12
csharp
public readonly record struct PingPongPair

The two halves of a ping-pong, as this frame sees them.

Read the guide page for this →

Remarks

Named for what the step does with them rather than by parity, because parity is the thing a caller should never have to hold: a step that reads textures[frame & 1] is a step that reads the wrong one the first time somebody adds a second dispatch.

Fields and properties (2)

Methods (1)

Used by (3)

  • PingPongTextureTestsVixen.Graphics.RenderGraph.Tests
  • PingPongTexturesVixen.Graphics.RenderGraph
  • WaterRippleSimulationVixen.Rendering.Water