This is the documentation for Enlighten.
class Enlighten IPrecompOutputProbeOctree
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
Name | Description |
---|---|
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. |
GetProbeSetOctreeCode(Geo::s32) | Returns the octree code for the specified probe set. |
GetTotalProbeSetCount() | The total number of sets of probe positions. |
Load(IGeoInputStream &, Geo::u32) | Load an instance of this class from an IGeoInputStream. |
NonCopyable(NonCopyable &&) | Defaulted to allow move. |
operator=(NonCopyable &&) | Defaulted to allow move. |
Release() | Free this object that was created within the Enlighten libraries. |
Save(IGeoStream &, Geo::u32) | Save an instance of this class to an IGeoStream. |
static IPrecompOutputProbeOctree* Enlighten::IPrecompOutputProbeOctree::Create
public: IPrecompOutputProbeOctree * Create()
Create a new empty IPrecompOutputProbeOctree.
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.
virtual const IPrecompProbeSetBuildParameters* Enlighten::IPrecompOutputProbeOctree::GetBuildParameters
public: const IPrecompProbeSetBuildParameters * GetBuildParameters() const
Read only access to the build parameters for this probe octree.
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.
virtual const char* Enlighten::IPrecompOutputProbeOctree::GetName
public: const char * GetName() const
Get the full name.
virtual PrecompOctreeCode Enlighten::IPrecompOutputProbeOctree::GetProbeSetOctreeCode
public: PrecompOctreeCode GetProbeSetOctreeCode
(
Geo::s32 probeSetIndex
) const
Returns the octree code for the specified probe set.
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().
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.
Geo::NonCopyable::NonCopyable
public: NonCopyable
(
NonCopyable &&
)
Defaulted to allow move.
NonCopyable& Geo::NonCopyable::operator=
public: NonCopyable & operator=
(
NonCopyable &&
)
Defaulted to allow move.
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)'
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.