Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

class Enlighten::ProbeSetOctreeNode

The data associated with each non-empty octree node.

Nodes are always either full or empty, so we pack the data for the eight child nodes into each non-empty node. Empty nodes are simply not stored.

Variables

NameDescription
Geo::u16 m_ChildrenOffsets[8]

child offsets relative to this node. A value of 0xffff indicates the child is empty.

Geo::u32 m_Probes[27]

a 3x3x3 array of probe indices. A value of 0xffffffff indicates the probe was culled.

Geo::u32 m_Resolutions

4 bits per child. A value of 0xf indicates the child was culled.