Versions Compared

Key

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

struct Enlighten::ProbeBucketPattern

The bit-packed probe group data structure class.

Variables

NameDescription
Geo::PackedByte4 subtree

28 bits (8 + 8 + 8 + 4)

Geo::u8 visibility

8 bits

Geo::PackedByte4 voxel

28 bits (8 + 8 + 8 + 4)

Functions

NameDescription
operator Geo::u64()

Convert to u64.

ProbeBucketPattern(Geo::PackedByte4, Geo::PackedByte4, Geo::u8)

Construct from subtree, voxel and visibility.

ProbeBucketPattern(Geo::u64)

Construct from a existing probe group.


Anchor
aa0cd3ed799ea97a48af5d0ae10e33f2f
aa0cd3ed799ea97a48af5d0ae10e33f2f

Enlighten::ProbeBucketPattern::operator Geo::u64

...

public: operator Geo::u64() const

...

Convert to u64.


Anchor
ad008b5c9b4314a063461ae4c3409ae0a
ad008b5c9b4314a063461ae4c3409ae0a

Enlighten::ProbeBucketPattern::ProbeBucketPattern

...

public: ProbeBucketPattern
(
    Geo::PackedByte4 subtree,
    Geo::PackedByte4 voxel,
    Geo::u8 visibility
)

...

Construct from subtree, voxel and visibility.

Parameters
[in]subtree

The subtree pattern and subtree LOD, 4 bits + 8 bits * 3

[in]voxel

The voxel pattern and voxel LOD, 4 bits + 8 bits * 3

[in]visibility

The visibility, 8 bits


Anchor
ab7149cd686856c1632536d0153077e65
ab7149cd686856c1632536d0153077e65

Enlighten::ProbeBucketPattern::ProbeBucketPattern

...

public: ProbeBucketPattern
(
    Geo::u64 packed
)

...

Construct from a existing probe group.

Parameters
[in]packed

A existing probe bucket pattern