Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

class Enlighten::IBakeOutputProbeSet

    └>Geo::IGeoSerialisable
        └>Geo::IGeoReleasable

Baking output for a probe set.

Functions

NameDescription
Create()

Create a new and empty IBakeOutputProbeSet.

Create(Geo::s32, Geo::s32)

Create a new IBakeOutputProbeSet for the given number of elements.

CreateU8Output(float, Geo::u8 *)

Get the probe values in U8 format.

GetMaxValue()

Retrieves the largest coefficient used in any probe.

GetNumElements()

Returns the number of elements in the output data.

GetNumProbes()

Returns the number of probes in the probe set.

GetOutput()

Get the probe values.

GetOutput()

Get the probe values.

GetShOrder()

Returns the SH order of the probe set.

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.


Anchor
a380b06c928961406d207fa39d6250a49
a380b06c928961406d207fa39d6250a49

static IBakeOutputProbeSet* Enlighten::IBakeOutputProbeSet::Create

...

public: IBakeOutputProbeSet * Create()

...

Create a new and empty IBakeOutputProbeSet.


Anchor
aba8a8386fd81f66b5e98440d4e45be79
aba8a8386fd81f66b5e98440d4e45be79

static IBakeOutputProbeSet* Enlighten::IBakeOutputProbeSet::Create

...

public: IBakeOutputProbeSet * Create
(
    Geo::s32 shOrder,
    Geo::s32 numProbes
)

...

Create a new IBakeOutputProbeSet for the given number of elements.


Anchor
a72e87383b241a71377ec3b2eda98b489
a72e87383b241a71377ec3b2eda98b489

virtual void Enlighten::IBakeOutputProbeSet::CreateU8Output

...

public: void CreateU8Output
(
    float scale,
    Geo::u8 * output
) const

...

Get the probe values in U8 format.

Parameters
[in]scale

The scale to apply to the values to bring them into the range [0,1]. For example 1.0/GetMaxValue().

[in]output

Must refer to a block of memory at least GetNumElements() bytes in size.


Anchor
ad4a16b1b450d891f588192c46da79f02
ad4a16b1b450d891f588192c46da79f02

virtual float Enlighten::IBakeOutputProbeSet::GetMaxValue

...

public: float GetMaxValue() const

...

Retrieves the largest coefficient used in any probe.


Anchor
af236332e04e7df410cb549599f14e79f
af236332e04e7df410cb549599f14e79f

virtual Geo::s32 Enlighten::IBakeOutputProbeSet::GetNumElements

...

public: Geo::s32 GetNumElements() const

...

Returns the number of elements in the output data.


Anchor
af81207aa1f26d33c8261cac7c2b8edc1
af81207aa1f26d33c8261cac7c2b8edc1

virtual Geo::s32 Enlighten::IBakeOutputProbeSet::GetNumProbes

...

public: Geo::s32 GetNumProbes() const

...

Returns the number of probes in the probe set.


Anchor
ac7959032dba8a93f78be400337ffecda
ac7959032dba8a93f78be400337ffecda

virtual const float* Enlighten::IBakeOutputProbeSet::GetOutput

...

public: const float * GetOutput() const

...

Get the probe values.

The data is owned by this object.


Anchor
ab3514b42937e95a563153feb8f69246a
ab3514b42937e95a563153feb8f69246a

virtual float* Enlighten::IBakeOutputProbeSet::GetOutput

...

public: float * GetOutput()

...

Get the probe values.

The data is owned by this object.


Anchor
a873fc933bd2bacb8d84a24136ac43899
a873fc933bd2bacb8d84a24136ac43899

virtual Geo::s32 Enlighten::IBakeOutputProbeSet::GetShOrder

...

public: Geo::s32 GetShOrder() const

...

Returns the SH order of the probe set.


Anchor
ae5fb810c8f4470cb3c9fcb16c6f7f7fe
ae5fb810c8f4470cb3c9fcb16c6f7f7fe

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
adaed81b4c59f263dcb4e78c4126f4683
adaed81b4c59f263dcb4e78c4126f4683

Geo::NonCopyable::NonCopyable

...

public: NonCopyable
(
    NonCopyable &&
)

...

Defaulted to allow move.


Anchor
a6abc781e23b8f4864e0b868806e0acbf
a6abc781e23b8f4864e0b868806e0acbf

NonCopyable& Geo::NonCopyable::operator=

...

public: NonCopyable & operator=
(
    NonCopyable &&
)

...

Defaulted to allow move.


Anchor
af6bdf30b42adde386c428e9dc2821eb9
af6bdf30b42adde386c428e9dc2821eb9

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
a5b03439626a3dac9b9c27feb1a3978d3
a5b03439626a3dac9b9c27feb1a3978d3

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.