Versions Compared

Key

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

class Enlighten::PrecompOctreeProbeKey

    └>Enlighten::PrecompVoxelId

Provides an ordering of probe voxel positions by their depth within the octree.

Functions

Friends

NameDescription
friend bool operator!=(const PrecompOctreeProbeKey &l, const PrecompOctreeProbeKey &r)

Returns true if the keys are not equal.

friend bool operator<(const PrecompOctreeProbeKey &l, const PrecompOctreeProbeKey &r)

Returns true if the left argument is ordered before the right argument.

friend bool operator==(const PrecompOctreeProbeKey &l, const PrecompOctreeProbeKey &r)

Returns true if the keys are equal.

friend void WriteObject(Writer &writer, const PrecompVoxelId &object)

Write to any type compatible with IffWriter.

Variables

NameDescription
Geo::s32 x

Voxel co-ordinates.

Geo::s32 y

Voxel co-ordinates.

Geo::s32 z

Voxel co-ordinates.


Anchor
a535389360c9e6cdb5c7fd67d493e73c6
a535389360c9e6cdb5c7fd67d493e73c6

Geo::u32 Enlighten::PrecompOctreeProbeKey::Depth

...

public: Geo::u32 Depth() const

...

Gets the depth.


Anchor
a505891bad165189a891f86fdf3153e0f
a505891bad165189a891f86fdf3153e0f

Enlighten::PrecompOctreeProbeKey::PrecompOctreeProbeKey

...

public: PrecompOctreeProbeKey
(
    const PrecompVoxelId & voxel
)

...

Constructor.


Anchor
ae60adfc74f12d34ea02ba1424949e2a9
ae60adfc74f12d34ea02ba1424949e2a9

Enlighten::PrecompOctreeProbeKey::PrecompOctreeProbeKey

...

public: PrecompOctreeProbeKey
(
    const PrecompVoxelId & voxel,
    Geo::u32 priority
)

...

Constructor.


Anchor
a6cfd85c5f3d985fdc273618b73401811
a6cfd85c5f3d985fdc273618b73401811

Enlighten::PrecompVoxelId::PrecompVoxelId

...

public: PrecompVoxelId()

...

Constructors.


Anchor
a21986244a569e7bd9f8dc0244e62de03
a21986244a569e7bd9f8dc0244e62de03

Enlighten::PrecompVoxelId::PrecompVoxelId

...

public: PrecompVoxelId
(
    const Geo::s32 x,
    const Geo::s32 y,
    const Geo::s32 z
)

...

Constructors.


Anchor
ab861ec7d86113eb20a552b84f1abd581
ab861ec7d86113eb20a552b84f1abd581

Geo::u32 Enlighten::PrecompOctreeProbeKey::Priority

...

public: Geo::u32 Priority() const

...

Gets the priority.


Anchor
ae860a9c8ab6b16db97f7237a547e0346
ae860a9c8ab6b16db97f7237a547e0346

const PrecompVoxelId& Enlighten::PrecompOctreeProbeKey::Voxel

...

public: const PrecompVoxelId & Voxel() const

...

Gets the voxel.