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.

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.

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.