class Enlighten IBakeSolvedRuntime

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

Name

Description

Create()

Create a new IBakeSolvedRuntime.

GetSolvedProbe(Geo::GeoGuid, Geo::s32, float *)

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.

GetSolvedProbePositions(Geo::GeoGuid)

Get the positions of the solved probes, as 4 component vectors.

GetSolvedProbeSet(Geo::GeoGuid)

Get the runtime data for the probe set.

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.



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