Vixen
02b45cc4
csharp
public readonly record struct GrassBatch

What one resident cell contributed for one field.

Read the guide page for this →

Fields and properties (6)

  • public int Field

    Which entry of the frame's field list.

  • public FoliageCellKey Cell

    Which cell.

  • public int Slot

    Which ring slot holds its blades.

  • public int First

    Where its survivors begin in the frame's compacted buffer.

  • public int Count

    How many survived.

  • public DrawCommand[] Commands

    One indirect command per level, at that level's index.

Methods (1)

  • public GrassBatch(int Field, FoliageCellKey Cell, int Slot, int First, int Count, DrawCommand[] Commands)

    What one resident cell contributed for one field.

Used by (2)

  • GrassRendererVixen.Rendering.Terrain
  • GrassRendererTestsVixen.Rendering.Terrain.Tests