struct Enlighten UE4 UnrealDirectionalLightFunction CachedData

This is the documentation for Enlighten.

struct Enlighten UE4 UnrealDirectionalLightFunction CachedData

struct Enlighten::UE4::UnrealDirectionalLightFunction::CachedData

    └>Enlighten::InputLightBase

Cached data for DirectionalLight.

Variables

Name

Description

Name

Description

Geo::v128 m_Colour

RGB intensity of the light (linear space).

Geo::v128 m_Direction

World space position of light.

bool m_HasChanged

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

Geo::u32 m_HasVisibility

Has visisibility data?

const Geo::u8 * m_LightFunctionClipmap

Clipmap for light function.

Geo::u32 m_LightFunctionClipmapLevelCount

Clipmap level count for light function.

Geo::u32 m_LightFunctionClipmapResolution

Clipmap resolution for light function.

Geo::u32 m_LightFunctionClipmapScale

Clipmap scale for light function.

const eLightType m_LightType

Type of input light corresponding to an eLightType enum value.

float m_MaximumDistance

Distance from the camera changing the light to another(Refer to Enlighten::DirectionalLight).

Geo::u64 m_Padding

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

Geo::v128 m_ViewPosition

Clipmap view position for light function.

VisibilityBuffer m_VisibilityBuffer

Visibility buffer.

Functions



GEO_CONTROLLED_INLINE Enlighten::UE4::UnrealDirectionalLightFunction::CachedData::CachedData


public: GEO_CONTROLLED_INLINE CachedData
(
    const UnrealDirectionalLightFunction & directionalLight,
    const void * perDusterVisibility
)


Constructor.