This is the documentation for Enlighten.
class Enlighten RadSystemMetaData
class Enlighten::RadSystemMetaData
A data block that describes essential properties of a rad system, including it's id, output and input textures sizes, budget, pixel utilisation and other debugging data.
This data is effectively a header to any system data.
Variables
Name | Description |
---|---|
Geo::u8 HasDirectionalIrradiance | Whether or not this system has directional irradiance information in its data block. |
Geo::s32 m_EnvironmentResolution | Resolution of environment radiosity data. |
struct Enlighten::RadSystemMetaData::@18 m_Flags | Flags. |
Geo::s32 m_MaxIrradianceBudget | The maximum budget used by the system for the 'irradiance' technique (determines lighting quality) Higher budgets produce higher quality lighting. |
Geo::s32 m_NumRadPixels | The number of occupied pixels in the output, for which the run-time calculates radiosity. |
Geo::s32 m_OutputHeight | The height of the output texture in pixels. |
Geo::s32 m_OutputWidth | The width of the output texture in pixels. |
Geo::u8 m_Padding[7] | Unused padding. |
Geo::s32 m_RequiredWorkspaceSize | The size of the working memory required by SolveIrradianceTask for this radiosity core. |
Geo::GeoGuid m_SystemId | The globally unique ID of this system, assigned during the precompute. |
Functions
Name | Description |
---|---|
GetSystemId() | Little helper function to get the id of a system. |
RadSystemMetaData() | Constructor to ensure well-behaved memory initialisation. |
Geo::GeoGuid Enlighten::RadSystemMetaData::GetSystemId
public: Geo::GeoGuid GetSystemId() const
Little helper function to get the id of a system.
Enlighten::RadSystemMetaData::RadSystemMetaData
public: RadSystemMetaData()
Constructor to ensure well-behaved memory initialisation.