Versions Compared

Key

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

class Enlighten::DirectInputLightingParameters

A class containing the parameters to be used as input to the direct input lighting stage.

Variables

NameDescription
IncidentLightingBuffer * m_IncidentLightingBufferResult

Pointer to a valid IncidentLightingBuffer that will hold the result.

InputLightBase ** m_InputLights

Array of pointers to input lights.

const InputWorkspace * m_InputWorkspace

Pointer to a valid input workspace.

Geo::u32 m_NumLights

Number of lights in the array.

Geo::u32 * m_NumLightsAffecting

Pointer to an object in which to store the number of lights that affect the system after culling.

const RadCubeMapCore * m_RadCubeMapCore

Pointer to a valid "input lighting" cube map core.

void ** m_ThreadVisibilityPointers

Array of visibility pointers for lights in m_InputLights array. Ordering must match.

Geo::Matrix * m_Transform

Pointer to a system transformation. Most use cases will set this to identity.

Geo::v128 m_ViewOrigin

The position in world units used to determine which lights affect distant systems. This is usually the camera position.

Functions

NameDescription
DirectInputLightingParameters()

Default initialise.

IsValid()

Determine if any required pointers are null.


Anchor
a33b0610b8886aa4d0bc4cea1ea9c9cf9
a33b0610b8886aa4d0bc4cea1ea9c9cf9

Enlighten::DirectInputLightingParameters::DirectInputLightingParameters

...

public: DirectInputLightingParameters()

...

Default initialise.


Anchor
a349301df2a3f82e904aadcaf5a426580
a349301df2a3f82e904aadcaf5a426580

bool Enlighten::DirectInputLightingParameters::IsValid

...

public: bool IsValid()

...

Determine if any required pointers are null.