Vixen
02b45cc4
csharp
public readonly record struct LightAssignment

Which slice of the light buffer holds one object's list.

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

Remarks

Per-object data in the sense RenderDataHolder means: eight bytes in an array the lighting feature registered, which nothing else reads and which costs an object with no lighting one unused slot.

Fields and properties (2)

  • public int Offset

    Where the object's block starts, in bytes.

  • public int Count

    How many lights the block holds.

Methods (1)

  • public LightAssignment(int Offset, int Count)

    Which slice of the light buffer holds one object's list.

Used by (2)

  • ForwardLightingRenderFeatureVixen.Rendering
  • ForwardLightingTestsVixen.Rendering.Tests