Versions Compared

Key

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

struct Enlighten::Rgba32Gamma

Class to store 32-bit colour values in gamma space.

Typedefs

NameDescription
Geo::v128 ExpandedType

The expanded type.

Variables

NameDescription
const ExpandedType MaxValue

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

Functions

NameDescription
ByteSwap()

Byte swaps the value.

operator ExpandedType()

Extract the Expanded type from the data.

Rgba32Gamma(const ExpandedType &)

Construct the compressed data from the expanded type.

Zero()

Gets a zero value, represented in the expanded type.


Anchor
ad253aeee1592528ceff208af6e2412a5
ad253aeee1592528ceff208af6e2412a5

void Enlighten::Rgba32Gamma::ByteSwap

...

public: void ByteSwap()

...

Byte swaps the value.


Anchor
aa05c3104fd1bb1a4a07aafc65d656a02
aa05c3104fd1bb1a4a07aafc65d656a02

Enlighten::Rgba32Gamma::operator ExpandedType

...

public: operator ExpandedType() const

...

Extract the Expanded type from the data.


Anchor
a4d650778687db767e2f11cdbc6c1edd9
a4d650778687db767e2f11cdbc6c1edd9

Enlighten::Rgba32Gamma::Rgba32Gamma

...

public: Rgba32Gamma
(
    const ExpandedType & newVal
)

...

Construct the compressed data from the expanded type.


Anchor
a4b7c4569caf94258b877f05e5ee6fb56
a4b7c4569caf94258b877f05e5ee6fb56

static ExpandedType Enlighten::Rgba32Gamma::Zero

...

public: ExpandedType Zero()

...

Gets a zero value, represented in the expanded type.