This is the documentation for Enlighten.
class Enlighten IBakeSolvedRuntime
class Enlighten::IBakeSolvedRuntime
└>Geo::IGeoSerialisable
└>Geo::IGeoReleasable
Interface for providing radiosity output for systems and probesets for baking.
The probe data is explicitly accessible for efficiently lighting dynamic objects.
Functions
Name | Description |
|---|---|
Create a new IBakeSolvedRuntime. | |
Get the solved values of a probe, as floats. | |
GetSolvedProbeCompressed(Geo::GeoGuid, Geo::s32, float, Geo::u8 *) | Get the solved values of a probe, as chars. |
Get the positions of the solved probes, as 4 component vectors. | |
Get the runtime data for the probe set. | |
Load an instance of this class from an IGeoInputStream. | |
Free this object that was created within the Enlighten libraries. | |
Save an instance of this class to an IGeoStream. |
static IBakeSolvedRuntime* Enlighten::IBakeSolvedRuntime::Create
public: IBakeSolvedRuntime * Create()
Create a new IBakeSolvedRuntime.
virtual bool Enlighten::IBakeSolvedRuntime::GetSolvedProbe
public: bool GetSolvedProbe
(
Geo::GeoGuid id,
Geo::s32 idx,
float * output
) const
Get the solved values of a probe, as floats.
Parameters
[in] | id | The probe set id. |
[in] | idx | The index of the probe within the probeset. |
[out] | output | The output (SH_Order x 3 probe values) is written here. |
virtual bool Enlighten::IBakeSolvedRuntime::GetSolvedProbeCompressed
public: bool GetSolvedProbeCompressed
(
Geo::GeoGuid id,
Geo::s32 idx,
float scale,
Geo::u8 * output
) const