csharp
public readonly record struct PingPongPairThe two halves of a ping-pong, as this frame sees them.
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)
public GraphTexture ReadLast frame's result. The step's input.
public GraphTexture WriteWhere this frame's result goes.
Methods (1)
public PingPongPair(GraphTexture Read, GraphTexture Write)The two halves of a ping-pong, as this frame sees them.
Used by (3)
- PingPongTextureTestsVixen.Graphics.RenderGraph.Tests
- PingPongTexturesVixen.Graphics.RenderGraph
- WaterRippleSimulationVixen.Rendering.Water