This is the documentation for Enlighten.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

class Enlighten::DirectionalLight

    └>Enlighten::InputLightBase

DirectionalLight class used by extended input lighting.

Classes

Name Description
Enlighten::DirectionalLight::CachedData

Cached data for DirectionalLight.

Variables

Name Description
Geo::v128 m_Direction

World space direction of light.

bool m_HasChanged

Whether the light has changed since it was last given to the extended direct lighting api.

Geo::v128 m_Intensity

RGB intensity of the light (linear space).

const eLightType m_LightType

Type of input light corresponding to an eLightType enum value.

Geo::u64 m_Padding

Unused (this class is usually extended by one that starts with multiple v128s)

VisibilityFormat::Type m_VisibilityType

Visibility type.

Functions

Name Description
InputLightBase(eLightType)

Constructor.

InputLightBase(eLightType, bool)

Constructor.


Enlighten::InputLightBase::InputLightBase


protected: InputLightBase
(
    eLightType lightType
)


Constructor.


Enlighten::InputLightBase::InputLightBase


protected: InputLightBase
(
    eLightType lightType,
    bool hasChanged
)


Constructor.

  • No labels