Versions Compared

Key

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

class Enlighten::PackedDusterPoint

This class contains the positions and normals of 4 duster points (internal).

It's the packed representation of 4 input lighting samples, generated by the precompute, and often referred to as a 'quad' in much of the code. It relies on other data to be decoded, and is exposed for use with the extended input lighting api.

Variables

NameDescription
Geo::u8 m_EmissiveIndex

Packed data.

Geo::u8 m_Normal0

Packed data.

Geo::u8 m_Normal1

Packed data.

Geo::u8 m_Normal2

Packed data.

Geo::u8 m_PositionA[3]

Packed data.

Geo::u8 m_PositionB[3]

Packed data.

Geo::u8 m_PositionC[3]

Packed data.

Geo::u8 m_PositionD[3]

Packed data.