This is the documentation for Enlighten.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

class Enlighten::RadiosityInputTree

Compressed description of the input cluster tree.

Functions

Name Description
ConvertEndian(Geo::EConvertEndianMode)

Converts the endian-ness of this object.

GetNumChildrenArray()

The number of children.

GetNumChildrenArray()

The number of children.

GetNumQuadsInClusterArray()

Array of the number of quads in each cluster.

GetNumQuadsInClusterArray()

Array of the number of quads in each cluster.

GetScaleFactorArray()

Scale factors per node, except root node.

GetScaleFactorArray()

Scale factors per node, except root node.

Variables

Name Description
Geo::u32 m_MagicNumber

Magic number.

Geo::s32 m_NumLeaves

Number of leaves.

Geo::s32 m_NumNotLeaves

Number of non-leaves.

Geo::s32 m_VersionNumber

Version number.


void Enlighten::RadiosityInputTree::ConvertEndian


public: void ConvertEndian
(
    Geo::EConvertEndianMode mode
)


Converts the endian-ness of this object.


const Geo::u8* Enlighten::RadiosityInputTree::GetNumChildrenArray


public: const Geo::u8 * GetNumChildrenArray() const


The number of children.

Length m_NumNotLeaves


Geo::u8* Enlighten::RadiosityInputTree::GetNumChildrenArray


public: Geo::u8 * GetNumChildrenArray()


The number of children.

Length m_NumNotLeaves


const Geo::u8* Enlighten::RadiosityInputTree::GetNumQuadsInClusterArray


public: const Geo::u8 * GetNumQuadsInClusterArray() const


Array of the number of quads in each cluster.

Length m_NumLeaves. Number of points in each cluster is just 4x this.


Geo::u8* Enlighten::RadiosityInputTree::GetNumQuadsInClusterArray


public: Geo::u8 * GetNumQuadsInClusterArray()


Array of the number of quads in each cluster.

Length m_NumLeaves. Number of points in each cluster is just 4x this.


const Geo::u8* Enlighten::RadiosityInputTree::GetScaleFactorArray


public: const Geo::u8 * GetScaleFactorArray() const


Scale factors per node, except root node.

It's the percentage of all leaf nodes this node covers, stored as a u8


Geo::u8* Enlighten::RadiosityInputTree::GetScaleFactorArray


public: Geo::u8 * GetScaleFactorArray()


Scale factors per node, except root node.

It's the percentage of all leaf nodes this node covers, stored as a u8

  • No labels