└>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.
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. |
public: IPrecompOutputProbeOctree * Create()
Create a new empty IPrecompOutputProbeOctree.
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.
public: const IPrecompProbeSetBuildParameters * GetBuildParameters() const
Read only access to the build parameters for this probe octree.
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.
public: const char * GetName() const
Get the full name.
public: PrecompOctreeCode GetProbeSetOctreeCode
(
Geo::s32 probeSetIndex
) const
Returns the octree code for the specified probe set.
public: Geo::s32 GetTotalProbeSetCount() const
The total number of sets of probe positions.
This is the same as GetNumLocalProbeSets() + GetNumAdjacentProbeSets().
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.
public: NonCopyable
(
NonCopyable &&
)
Defaulted to allow move.
public: NonCopyable & operator=
(
NonCopyable &&
)
Defaulted to allow move.
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)'
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.