Vixen
02b45cc4
csharp
public struct CullObject

One object as CullObject in the shader declares it.

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

Remarks

Thirty-two bytes, in two sixteen-byte halves so that no member straddles the alignment any backend imposes — the same shape, and the same reason, as PunctualLightData.

Fields and properties (6)

  • public Vector3 Center

    The bounding sphere's centre, in world space.

  • public float Radius

    Its radius.

  • public uint StagesLow

    The low half of Bits.

  • public uint StagesHigh

    The high half of it.

  • public uint Flags

    Alive when the slot holds a live object.

  • public uint Padding

    Four bytes of tail padding the shader declares and never reads.

Used by (3)

  • GpuCullingVixen.Rendering
  • GpuVisibilityGroupVixen.Rendering
  • GpuVisibilityGroupTestsVixen.Rendering.Tests