Versions Compared

Key

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

class Enlighten::IPrecompOutputProbeOctree

    └>Geo::IGeoSerialisable
        └>Geo::IGeoReleasable

An octree of probe positions grouped into probe sets.

The octree tiles covered by local probe sets define the area covered by this octree. Combine adjacent probe sets with the local probe sets of other octrees for seamless lighting.

Functions

NameDescription
Create()

Create a new empty IPrecompOutputProbeOctree.

GetAdjacentProbeSetCount()

The number of sets of adjacent probe positions.

GetBuildParameters()

Read only access to the build parameters for this probe octree.

GetLocalProbeSetCount()

The number of sets of local probe positions.

GetName()

Get the full name.

GetNumProbeSets()

The number of sets of probe positions generated from the octree.

GetProbeSetOctreeCode(Geo::s32)

Returns the octree code for the specified probe set.

GetSystemDependencies(Geo::s32)

Returns the system dependencies.

GetTotalProbeSetCount()

The total number of sets of probe positions.

Load(IGeoInputStream &, Geo::u32)

Load an instance of this class from an IGeoInputStream.

Release()

Free this object that was created within the Enlighten libraries.

Save(IGeoStream &, Geo::u32)

Save an instance of this class to an IGeoStream.


Anchor
af3d18fe157b3cddd06e89dabec8884bd
af3d18fe157b3cddd06e89dabec8884bd

static IPrecompOutputProbeOctree* Enlighten::IPrecompOutputProbeOctree::Create

...

public: IPrecompOutputProbeOctree * Create()

...

Create a new empty IPrecompOutputProbeOctree.


Anchor
a045199b51f7a26bc784fbbce3367d087
a045199b51f7a26bc784fbbce3367d087

virtual Geo::s32 Enlighten::IPrecompOutputProbeOctree::GetAdjacentProbeSetCount

...

public: Geo::s32 GetAdjacentProbeSetCount() const

...

The number of sets of adjacent probe positions.

Adjacent probe sets are arranged contiguously at the end of the range.


Anchor
ab64f1f8bf598835d7a13706a19cb78ec
ab64f1f8bf598835d7a13706a19cb78ec

virtual const IPrecompProbeSetBuildParameters* Enlighten::IPrecompOutputProbeOctree::GetBuildParameters

...

public: const IPrecompProbeSetBuildParameters * GetBuildParameters() const

...

Read only access to the build parameters for this probe octree.


Anchor
aa421a5ff2b3bea354932a66685ea479a
aa421a5ff2b3bea354932a66685ea479a

virtual Geo::s32 Enlighten::IPrecompOutputProbeOctree::GetLocalProbeSetCount

...

public: Geo::s32 GetLocalProbeSetCount() const

...

The number of sets of local probe positions.

Local probe sets are arranged contiguously at the start of the range.


Anchor
a5b36f9cd2746ce18ceb961ed1fc16dc8
a5b36f9cd2746ce18ceb961ed1fc16dc8

virtual const char* Enlighten::IPrecompOutputProbeOctree::GetName

...

public: const char * GetName() const

...

Get the full name.


Anchor
a11e73436adeeee7e8a563a0f66324d5f
a11e73436adeeee7e8a563a0f66324d5f

virtual Geo::s32 Enlighten::IPrecompOutputProbeOctree::GetNumProbeSets

...

public: Geo::s32 GetNumProbeSets() const

...

The number of sets of probe positions generated from the octree.


Anchor
a10dba174073f557aed6f24f486c25456
a10dba174073f557aed6f24f486c25456

virtual PrecompOctreeCode Enlighten::IPrecompOutputProbeOctree::GetProbeSetOctreeCode

...

public: PrecompOctreeCode GetProbeSetOctreeCode
(
    Geo::s32 probeSetIndex
) const

...

Returns the octree code for the specified probe set.


Anchor
a207033f6166348a9a9f4eafd50459861
a207033f6166348a9a9f4eafd50459861

virtual const IPrecompSystemDependencies* Enlighten::IPrecompOutputProbeOctree::GetSystemDependencies

...

public: const IPrecompSystemDependencies * GetSystemDependencies
(
    Geo::s32 probeSetIndex
) const

...

Returns the system dependencies.

Parameters
[in]probeSetIndex

Must be less than GetTotalProbeSetCount()


Anchor
a66f404111e8a19d6d45be813b514980f
a66f404111e8a19d6d45be813b514980f

virtual Geo::s32 Enlighten::IPrecompOutputProbeOctree::GetTotalProbeSetCount

...

public: Geo::s32 GetTotalProbeSetCount() const

...

The total number of sets of probe positions.

This is the same as GetNumLocalProbeSets() + GetNumAdjacentProbeSets().


Anchor
ae5fb810c8f4470cb3c9fcb16c6f7f7fe
ae5fb810c8f4470cb3c9fcb16c6f7f7fe

virtual bool Geo::IGeoSerialisable::Load

...

public: bool Load
(
    IGeoInputStream & stream,
    Geo::u32 section
)

...

Load an instance of this class from an IGeoInputStream.

The stream must be ready to read from. You can load sections of an object by passing a bitmask representing the desired sections rather than Iff::AllSectionsMask, which will load all sections. It is also safe to call this method on an object multiple times with different section arguments to load multiple parts.


Anchor
af6bdf30b42adde386c428e9dc2821eb9
af6bdf30b42adde386c428e9dc2821eb9

virtual void Geo::IGeoReleasable::Release

...

public: void Release()

...

Free this object that was created within the Enlighten libraries.

Expect this to behave in a similar way to calling 'delete(this)'


Anchor
a5b03439626a3dac9b9c27feb1a3978d3
a5b03439626a3dac9b9c27feb1a3978d3

virtual bool Geo::IGeoSerialisable::Save

...

public: bool Save
(
    IGeoStream & stream,
    Geo::u32 section
) const

...

Save an instance of this class to an IGeoStream.

The stream must be ready to write to. You can save sections of an object by passing a bitmask representing the desired sections rather than Iff::AllSectionsMask, which will save all sections that are available.