Versions Compared

Key

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

class Enlighten::ProbeBounceWorkspace

Workspace used for probe bounce (internal).

The data for this class lies immediately after it in memory.

Functions

NameDescription
CalculateSize(const InputWorkspace *, Geo::s32, Geo::s32)

Determine the required size of the buffer.

Create(const InputWorkspace *, Geo::s32, Geo::s32, void *)

Construct the buffer in the provided memory.

GetMaxNumInterpolants()

Gets the max number of interpolants.

GetNumInterpolantsArray(Geo::s32)

Gets the LODs num interpolants array for a given cluster, size of array equals NumLods.

GetNumLods()

Gets number of LODs.

GetNumValues()

Gets the number of values.

GetProbeInterpolants(Geo::s32, Geo::s32)

Gets the probe interpolants array for a given cluster and LOD, size of array equals MaxNumInterpolants.


Anchor
a32d1430e2bf2e1c63bd1b4664dafb089
a32d1430e2bf2e1c63bd1b4664dafb089

static Geo::u32 Enlighten::ProbeBounceWorkspace::CalculateSize

...

public: Geo::u32 CalculateSize
(
    const InputWorkspace * inputWorkspace,
    Geo::s32 numInterpolants,
    Geo::s32 numLods
)

...

Determine the required size of the buffer.


Anchor
ac974cc62ad2b599c88e0e568fe909538
ac974cc62ad2b599c88e0e568fe909538

static ProbeBounceWorkspace* Enlighten::ProbeBounceWorkspace::Create

...

public: ProbeBounceWorkspace * Create
(
    const InputWorkspace * inputWorkspace,
    Geo::s32 numInterpolants,
    Geo::s32 numLods,
    void * memory
)

...

Construct the buffer in the provided memory.


Anchor
a86974f31af72f54899bf1a99afd4d109
a86974f31af72f54899bf1a99afd4d109

Geo::s32 Enlighten::ProbeBounceWorkspace::GetMaxNumInterpolants

...

public: Geo::s32 GetMaxNumInterpolants() const

...

Gets the max number of interpolants.


Anchor
ac3b693fe3fdf4e2f9743a6f5cd81e2bc
ac3b693fe3fdf4e2f9743a6f5cd81e2bc

Geo::u8* Enlighten::ProbeBounceWorkspace::GetNumInterpolantsArray

...

public: Geo::u8 * GetNumInterpolantsArray
(
    Geo::s32 cluster
)

...

Gets the LODs num interpolants array for a given cluster, size of array equals NumLods.


Anchor
a1ed87ce520fbf70bbf7d4028f9b96281
a1ed87ce520fbf70bbf7d4028f9b96281

Geo::s32 Enlighten::ProbeBounceWorkspace::GetNumLods

...

public: Geo::s32 GetNumLods() const

...

Gets number of LODs.


Anchor
a408d3a1b295f1a043e5067aa00e53b99
a408d3a1b295f1a043e5067aa00e53b99

Geo::s32 Enlighten::ProbeBounceWorkspace::GetNumValues

...

public: Geo::s32 GetNumValues() const

...

Gets the number of values.


Anchor
ad5c68503cac1b1cb2e4a2a4e9dd15791
ad5c68503cac1b1cb2e4a2a4e9dd15791

ProbeInterpolant* Enlighten::ProbeBounceWorkspace::GetProbeInterpolants

...

public: ProbeInterpolant * GetProbeInterpolants
(
    Geo::s32 cluster,
    Geo::s32 lod
)

...

Gets the probe interpolants array for a given cluster and LOD, size of array equals MaxNumInterpolants.