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::DirectInputLightingParameters

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

Variables

Name Description
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

Name Description
DirectInputLightingParameters()

Default initialise.

IsValid()

Determine if any required pointers are null.


Enlighten::DirectInputLightingParameters::DirectInputLightingParameters


public: DirectInputLightingParameters()


Default initialise.


bool Enlighten::DirectInputLightingParameters::IsValid


public: bool IsValid()


Determine if any required pointers are null.

  • No labels