csharp
public struct FoliageCullBatchRecordOne cell of one type, as FoliageCullBatch packs it.
Fields and properties (13)
public uint FirstInstanceWhere this batch's instances begin in the instance buffer.
public uint InstanceCountHow many it has.
public uint LevelCountHow many LOD levels it draws, 1…MaxLevels.
public uint VisibleWhether the cell survived the host's first stage. Zero culls the whole batch.
public float RadiusThe radius of an instance at scale one.
public float StartCullDistanceHow far out instances begin to fade.
public float EndCullDistanceHow far out they are gone entirely.
public float DensityScaleWhat fraction of them to keep, 0…1.
public float Lod0Where level 1 takes over, in metres.
public float Lod1And level 2.
public float Lod2And level 3.
public float Padding0Declared so the record is forty-eight bytes on both sides.
public static int SizeInBytesHow many bytes one of these is.
Used by (3)
- FoliageCullParityTestsVixen.Rendering.Terrain.Tests
- FoliageCullPassVixen.Rendering.Terrain
- FoliageCullPassTestsVixen.Rendering.Terrain.Tests