class Enlighten ProbeBounceWorkspace

This is the documentation for Enlighten.

class Enlighten ProbeBounceWorkspace

class Enlighten::ProbeBounceWorkspace

Workspace used for probe bounce (internal).

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

Functions

Name

Description

Name

Description

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.



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.



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.



Geo::s32 Enlighten::ProbeBounceWorkspace::GetMaxNumInterpolants


public: Geo::s32 GetMaxNumInterpolants() const


Gets the max number of interpolants.



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.