This is the documentation for Enlighten.
class Enlighten DirectInputLightingParameters
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. |
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
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.