This is the documentation for Enlighten.

class Enlighten PrecompVoxelOctree

class Enlighten::PrecompVoxelOctree

A voxel in an octree.

Variables

Name Description
Geo::u32 m_VoxelDepth

Depth of the voxel.

Functions

Name Description
GetVoxel(const PrecompVoxelOctreePath &)

Gets the voxel at the given path.

GetVoxel(const PrecompVoxelOctreePath &, const Geo::u32)

Gets the voxel at the given path and octant.

PrecompVoxelOctree(const Geo::u32)

Constructor.


PrecompVoxelId Enlighten::PrecompVoxelOctree::GetVoxel


public: PrecompVoxelId GetVoxel
(
    const PrecompVoxelOctreePath & path
) const


Gets the voxel at the given path.


PrecompVoxelId Enlighten::PrecompVoxelOctree::GetVoxel


public: PrecompVoxelId GetVoxel
(
    const PrecompVoxelOctreePath & path,
    const Geo::u32 octant
) const


Gets the voxel at the given path and octant.


Enlighten::PrecompVoxelOctree::PrecompVoxelOctree


public: PrecompVoxelOctree
(
    const Geo::u32 voxelDepth
)


Constructor.