Vixen
02b45cc4
csharp
public readonly record struct FoliageBatch

What one cell contributed to a frame.

Read the guide page for this →

Fields and properties (5)

  • public int Type

    Which palette entry.

  • public FoliageCellKey Cell

    Which cell.

  • 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 FoliageBatch(int Type, FoliageCellKey Cell, int First, int Count, DrawCommand[] Commands)

    What one cell contributed to a frame.

Used by (2)

  • FoliageRendererVixen.Rendering.Terrain
  • FoliageRendererTestsVixen.Rendering.Terrain.Tests