This is the documentation for Enlighten.

class Enlighten GeoRayOrigin

class Enlighten::GeoRayOrigin

Debugging output representation of a ray origin.

Variables

Name Description
Geo::s32 m_Flags

Additional flags.

float m_IrradPushOff

Distance the rayorigin got pushed off the surface in normal direction.

Geo::v128 m_Normal

Normal.

Geo::u64 m_Padding

Explicit padding (required to avoid implicit padding and uninitialised data)

Geo::v128 m_Position

Position.

const Geo::u32 OriginBackfaceFlag = 0x00000001

Flag that indicates that the ray origin was culled due to backfaces.

const Geo::u32 OriginValidIrradFlag = 0x00000004

Flag that indicates that the ray origin has valid irradiance data.

Functions

Name Description
GetIrradianceOrigin()

Returns the actual location of the ray origin.

HasIrradianceData()

Check if the ray origin has valid irradiance data.


Geo::v128 Enlighten::GeoRayOrigin::GetIrradianceOrigin


public: Geo::v128 GetIrradianceOrigin() const


Returns the actual location of the ray origin.


bool Enlighten::GeoRayOrigin::HasIrradianceData


public: bool HasIrradianceData() const


Check if the ray origin has valid irradiance data.