class Enlighten Rgba64Linear

This is the documentation for Enlighten.

class Enlighten Rgba64Linear

class Enlighten::Rgba64Linear

Class to store a HDR value using FP16 precision.

Typedefs

Name

Description

Name

Description

Geo::v128 ExpandedType

The expanded type.

Variables

Name

Description

Name

Description

const ExpandedType MaxValue

Gets the maximum representable value, represented in the expanded type.

Functions

Name

Description

Name

Description

ByteSwap()

Byte swaps the value.

operator ExpandedType()

Uncompress the Rgba64Linear object to a v128 value.

Rgba64Linear(const ExpandedType &)

Construct a compressed Rgba64Linear object from a v128.

Zero()

Gets a zero value, represented in the expanded type.



void Enlighten::Rgba64Linear::ByteSwap


public: void ByteSwap()


Byte swaps the value.



GEO_FORCE_INLINE Enlighten::Rgba64Linear::operator ExpandedType


public: GEO_FORCE_INLINE operator ExpandedType() const


Uncompress the Rgba64Linear object to a v128 value.



GEO_FORCE_INLINE Enlighten::Rgba64Linear::Rgba64Linear


public: GEO_FORCE_INLINE Rgba64Linear
(
    const ExpandedType & value
)


Construct a compressed Rgba64Linear object from a v128.



static ExpandedType Enlighten::Rgba64Linear::Zero


public: ExpandedType Zero()


Gets a zero value, represented in the expanded type.