struct Enlighten PointLight CachedData

This is the documentation for Enlighten.

struct Enlighten PointLight CachedData

struct Enlighten::PointLight::CachedData

    └>Enlighten::InputLightBase

Cached data for point light.

Variables

Name

Description

Name

Description

Geo::v128 m_BoundsMax

Axis aligned bounding box.

Geo::v128 m_BoundsMin

Axis aligned bounding box.

Geo::v128 m_Colour

RGB intensity of the light (linear space).

Geo::v128 m_CutoffSquared

Cutoff * cutoff.

Enlighten::InternalLightFalloffTable m_Falloff

Falloff table.

bool m_HasChanged

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

Geo::u32 m_HasVisibilityData

Has visibility data?

const eLightType m_LightType

Type of input light corresponding to an eLightType enum value.

Geo::u32 m_Padding

Unused padding.

Geo::u64 m_Padding

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

Geo::v128 m_Position

World space position of light.

Geo::v128 m_Radius

Radius.

const Geo::u8 * m_VisibilityData

Visibility data.

Geo::u64 m_VisibilityData64

Visibility data.

Functions



Enlighten::PointLight::CachedData::CachedData


public: CachedData
(
    PointLight & pointLight,
    const void * perDusterVisibility
)


Constructor.