Versions Compared

Key

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

class Enlighten::BaseEnvironment

    └>Geo::IGeoReleasable

Trivial base class used to lend a base type to environment maps.

This class is extended for use with the CPU manager.

Variables

NameDescription
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.

Functions

NameDescription
BaseEnvironment(Geo::s32, PrecisionHint::Value)

Constructs an environment object of the given resolution.

CreateInputLightingBuffer()

Creates the input lighting buffer.

GetInputLightingPrecisionHint()

Gets the precision hint of the input lighting buffer.

Release()

Free this object that was created within the Enlighten libraries.

Release()

Free this object that was created within the Enlighten libraries.

UpdateEnvironmentInputLighting()

Updates the input lighting buffer.


Anchor
a8bfefd9df26486b5e510112a75e7d209
a8bfefd9df26486b5e510112a75e7d209

Enlighten::BaseEnvironment::BaseEnvironment

...

public: BaseEnvironment
(
    Geo::s32 resolution,
    PrecisionHint::Value precision
)

...

Constructs an environment object of the given resolution.


Anchor
a4ca073f6ec3e71f43c846630eab97a58
a4ca073f6ec3e71f43c846630eab97a58

virtual void Enlighten::BaseEnvironment::CreateInputLightingBuffer

...

public: virtual void CreateInputLightingBuffer()

...

Creates the input lighting buffer.


Anchor
a191f0cee4b3910ade3af3749f576ac11
a191f0cee4b3910ade3af3749f576ac11

PrecisionHint::Value Enlighten::BaseEnvironment::GetInputLightingPrecisionHint

...

public: PrecisionHint::Value GetInputLightingPrecisionHint() const

...

Gets the precision hint of the input lighting buffer.


Anchor
afa3b7f87ea5a68fd87901780bf4c53d2
afa3b7f87ea5a68fd87901780bf4c53d2

virtual void Enlighten::BaseEnvironment::Release

...

public: virtual void Release()

...

Free this object that was created within the Enlighten libraries.

Expect this to behave in a similar way to calling 'delete(this)'


Anchor
af6bdf30b42adde386c428e9dc2821eb9
af6bdf30b42adde386c428e9dc2821eb9

virtual void Geo::IGeoReleasable::Release

...

public: void Release()

...

Free this object that was created within the Enlighten libraries.

Expect this to behave in a similar way to calling 'delete(this)'


Anchor
a06b556793ea0cc6974d6f19683e4c602
a06b556793ea0cc6974d6f19683e4c602

virtual void Enlighten::BaseEnvironment::UpdateEnvironmentInputLighting

...

public: void UpdateEnvironmentInputLighting()

...

Updates the input lighting buffer.