This is the documentation for Enlighten.
class Enlighten InputLightingBuffer
class Enlighten::InputLightingBuffer
A single frame of the InputWorkspace lighting (internal).
Runtime data allocated by end user that stores one frame of light bounce.
The data for this class lies immediately after it in memory.
Functions
Name | Description |
|---|---|
CalculateBufferSize(const InputWorkspace *, PrecisionHint::Value) | Factory Methods. |
Clears the frozen flag of this buffer. | |
Converts the endian-ness of this buffer. | |
Copy the contents from a source buffer. | |
Create(const InputWorkspace *, void *, PrecisionHint::Value) | Factory Methods. |
Factory Methods. | |
Factory Methods. | |
Factory Methods. | |
Return a const pointer to the light values. | |
Return a pointer to the light values. | |
Return the number of light values. | |
Gets the total size (in bytes) of this buffer. | |
Return the system guid for this InputLightingBuffer. | |
Queries the frozen flag of this buffer. | |
Is this lighting buffer static? | |
Sets the frozen flag of this buffer. | |
Sets the static flag of this buffer. |
Variables
Name | Description |
|---|---|
Geo::u32 m_Frozen | Frozen flag. |
Geo::s32 m_NumClusters | Number of clusters in the leaf level. |
Geo::u32 m_ObjectSize | Total size of this buffer (in bytes). |
PrecisionHint::Value m_Precision | Precision. |
Geo::GeoGuid m_SystemId | The system GUID for this buffer. |
static Geo::u32 Enlighten::InputLightingBuffer::CalculateBufferSize
public: Geo::u32 CalculateBufferSize
(
const InputWorkspace * inputWorkspace,
PrecisionHint::Value precisionHint
)
Factory Methods.