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 |
|---|---|
Determine the required size of the buffer. | |
Construct the buffer in the provided memory. | |
Gets the max number of interpolants. | |
Gets the LODs num interpolants array for a given cluster, size of array equals NumLods. | |
Gets number of LODs. | |
Gets the number of values. | |
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.