Versions Compared

Key

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

class Enlighten::Alpha8Normalised

Class to store a normalised single channel value in 1 byte.

Typedefs

NameDescription
float ExpandedType

The expanded type.

Variables

NameDescription
const ExpandedType MaxValue

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

Functions

NameDescription
Alpha8Normalised(const ExpandedType &)

Construct a compressed Alpha8Normalised object from a float.

ByteSwap()

Byte swaps the value.

operator ExpandedType()

Uncompress the Alpha8Normalised object to a float value.

Zero()

Gets a zero value, represented in the expanded type.


Anchor
aed4b221e36c5e89888dd9fd643dbd563
aed4b221e36c5e89888dd9fd643dbd563

GEO_FORCE_INLINE Enlighten::Alpha8Normalised::Alpha8Normalised

...

public: GEO_FORCE_INLINE Alpha8Normalised
(
    const ExpandedType & value
)

...

Construct a compressed Alpha8Normalised object from a float.


Anchor
a878f039b3b3a4e6dd9fb96cf88f34ddf
a878f039b3b3a4e6dd9fb96cf88f34ddf

void Enlighten::Alpha8Normalised::ByteSwap

...

public: void ByteSwap()

...

Byte swaps the value.


Anchor
a6c5795166bb3491568f321ccbaa5c0dc
a6c5795166bb3491568f321ccbaa5c0dc

GEO_FORCE_INLINE Enlighten::Alpha8Normalised::operator ExpandedType

...

public: GEO_FORCE_INLINE operator ExpandedType() const

...

Uncompress the Alpha8Normalised object to a float value.


Anchor
af09934931338c420bc9bfa58f558a140
af09934931338c420bc9bfa58f558a140

static ExpandedType Enlighten::Alpha8Normalised::Zero

...

public: ExpandedType Zero()

...

Gets a zero value, represented in the expanded type.