This is the documentation for Enlighten.
class Enlighten PrecompOctreeProbeKey
class Enlighten::PrecompOctreeProbeKey
Provides an ordering of probe voxel positions by their depth within the octree.
Functions
Name | Description |
|---|---|
Gets the depth. | |
Constructor. | |
Constructor. | |
Constructors. | |
PrecompVoxelId(const Geo::s32, const Geo::s32, const Geo::s32) | Constructors. |
Gets the priority. | |
Gets the voxel. |
Friends
Name | Description |
|---|---|
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
Geo::u32 Enlighten::PrecompOctreeProbeKey::Depth
public: Geo::u32 Depth() const
Gets the depth.
Enlighten::PrecompOctreeProbeKey::PrecompOctreeProbeKey
public: PrecompOctreeProbeKey
(
const PrecompVoxelId & voxel
)
Constructor.
Enlighten::PrecompOctreeProbeKey::PrecompOctreeProbeKey
public: PrecompOctreeProbeKey
(
const PrecompVoxelId & voxel,
Geo::u32 priority
)