Vixen
02b45cc4
csharp
public readonly record struct GpuClusterCulling.TraversalResult

What one instance's traversal decided.

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

Remarks

A subset and not a third list. Phase 6 routes an accepted cluster to one raster or the other, and the property that matters is that it goes to exactly one — so the mirror reports the whole cut and which part of it went where, and a test can assert the partition rather than reassembling it. The device puts the two at opposite ends of one buffer for the same reason: they are one answer.

Fields and properties (3)

  • public int[] Visible

    The clusters to draw, ascending.

  • public int[] Requests

    The pages it wanted and did not have, ascending and distinct.

  • public int[] Software

    Which of went to the software raster, ascending. Empty when the view's SoftwareThreshold is zero, which is every view by default.

Methods (2)

  • public TraversalResult(int[] Visible, int[] Requests, int[] Software)

    What one instance's traversal decided.

  • public TraversalResult(int[] visible, int[] requests)

    A result with nothing routed to software, which is what a default view produces.

Used by (7)

  • ClusterRoutingTestsVixen.Rendering.Tests
  • ClusterTraversalAcceptsTestsVixen.Rendering.Tests
  • ClusterTraversalGroupTestsVixen.Rendering.Tests
  • GpuClusterCullingVixen.Rendering
  • GpuClusterCullingTestsVixen.Rendering.Tests
  • SkinnedClusterTestsVixen.Rendering.Tests
  • VirtualGeometryFrameTestsVixen.Rendering.Tests