Versions Compared

Key

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

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

NameDescription
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::@0 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

NameDescription
GetSystemId()

Little helper function to get the id of a system.

RadSystemMetaData()

Constructor to ensure well-behaved memory initialisation.


Anchor
ad8ca791992b8bdf115f5097f5ffad219
ad8ca791992b8bdf115f5097f5ffad219

Geo::GeoGuid Enlighten::RadSystemMetaData::GetSystemId

...

public: Geo::GeoGuid GetSystemId() const

...

Little helper function to get the id of a system.


Anchor
a0ce7c5f00030c7d7e1f2fb013b994a50
a0ce7c5f00030c7d7e1f2fb013b994a50

Enlighten::RadSystemMetaData::RadSystemMetaData

...

public: RadSystemMetaData()

...

Constructor to ensure well-behaved memory initialisation.