Versions Compared

Key

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

class Enlighten::GeoRayOrigin

Debugging output representation of a ray origin.

Variables

NameDescription
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

NameDescription
GetIrradianceOrigin()

Returns the actual location of the ray origin.

HasIrradianceData()

Check if the ray origin has valid irradiance data.


Anchor
a51c35a5f2f09db66e0c304a06a182b47
a51c35a5f2f09db66e0c304a06a182b47

Geo::v128 Enlighten::GeoRayOrigin::GetIrradianceOrigin

...

public: Geo::v128 GetIrradianceOrigin() const

...

Returns the actual location of the ray origin.


Anchor
a59c5e335b9a120f717be0ca9d5f54ef2
a59c5e335b9a120f717be0ca9d5f54ef2

bool Enlighten::GeoRayOrigin::HasIrradianceData

...

public: bool HasIrradianceData() const

...

Check if the ray origin has valid irradiance data.