This is the documentation for Enlighten.
class Enlighten CpuEnvironment
class Enlighten::CpuEnvironment
└>Enlighten::BaseEnvironment
└>Geo::IGeoReleasable
Class used by the CPU and console update managers to represent an environment map.
In particular, it allows the application to update the environment map in a thread-safe manner.
Variables
Name | Description |
|---|---|
InputLightingBuffer * m_EmissiveEnvironment | The underlying Enlighten object. |
PrecisionHint::Value m_InputLightingPrecisionHint | Precision hint of the input lighting buffer. |
Geo::s32 m_Resolution | Power-of-two face resolution of the environment cube map. |
Geo::v128 * m_Values | The application-settable base values. |
Functions
Name | Description |
|---|---|
Constructs an environment object of the given resolution. | |
Creates a copy of the CPU environment and its data values. | |
Constructs a CPU environment of the given resolution. | |
Creates a CPU environment of (default) resolution 2. Used in GeoMobileDemo. | |
Creates the input lighting buffer. | |
Gets the precision hint of the input lighting buffer. | |
Deserialises a CPU environment from a stream. | |
Free this object that was created within the Enlighten libraries. | |
Free this object that was created within the Enlighten libraries. | |
Serialises a CPU environment to a stream. | |
Updates the input lighting buffer. | |
Updates the input lighting buffer. |
Enlighten::BaseEnvironment::BaseEnvironment
public: BaseEnvironment
(
Geo::s32 resolution,
PrecisionHint::Value precision
)
Constructs an environment object of the given resolution.
CpuEnvironment* Enlighten::CpuEnvironment::Clone
public: CpuEnvironment * Clone() const
Creates a copy of the CPU environment and its data values.