Versions Compared

Key

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

class Enlighten::LightValue64

Convenience value type for a half precision lighting value.

This is simply a container that compresses from and uncompresses to v128 values

Functions

NameDescription
LightValue64(const Geo::v128 &)

Construct a compressed LightValue64 object from a v128.

operator Geo::v128()

Uncompress the LightValue64 object to a v128 value.


Anchor
ae013253c82ee13d810a42a8d039c60c2
ae013253c82ee13d810a42a8d039c60c2

GEO_FORCE_INLINE Enlighten::LightValue64::LightValue64

...

public: GEO_FORCE_INLINE LightValue64
(
    const Geo::v128 & value
)

...

Construct a compressed LightValue64 object from a v128.


Anchor
ad6a7b98561e4195785623c12f89b8558
ad6a7b98561e4195785623c12f89b8558

GEO_FORCE_INLINE Enlighten::LightValue64::operator Geo::v128

...

public: GEO_FORCE_INLINE operator Geo::v128() const

...

Uncompress the LightValue64 object to a v128 value.