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. |
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 | ||||
---|---|---|---|---|
|
static IPrecompOutputProbeOctree* Enlighten::IPrecompOutputProbeOctree::Create
...
public: IPrecompOutputProbeOctree * Create()
...
Create a new empty IPrecompOutputProbeOctree.
Anchor | ||||
---|---|---|---|---|
|
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 | ||||
---|---|---|---|---|
|
virtual const IPrecompProbeSetBuildParameters* Enlighten::IPrecompOutputProbeOctree::GetBuildParameters
...
public: const IPrecompProbeSetBuildParameters * GetBuildParameters() const
...
Read only access to the build parameters for this probe octree.
Anchor | ||||
---|---|---|---|---|
|
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 | ||||
---|---|---|---|---|
|
virtual const char* Enlighten::IPrecompOutputProbeOctree::GetName
...
public: const char * GetName() const
...
Get the full name.
Anchor | ||||
---|---|---|---|---|
|
virtual Geo::s32 Enlighten::IPrecompOutputProbeOctree::GetNumProbeSets
...
public: Geo::s32 GetNumProbeSets() const
...
The number of sets of probe positions generated from the octree.
Anchor | ||||
---|---|---|---|---|
|
virtual PrecompOctreeCode Enlighten::IPrecompOutputProbeOctree::GetProbeSetOctreeCode
...
public: PrecompOctreeCode GetProbeSetOctreeCode
(
Geo::s32 probeSetIndex
) const
...
Returns the octree code for the specified probe set.
Anchor | ||||
---|---|---|---|---|
|
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 | ||||
---|---|---|---|---|
|
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 | ||||
---|---|---|---|---|
|
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 | ||||
---|---|---|---|---|
|
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 | ||||
---|---|---|---|---|
|
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.