This is the documentation for Enlighten.

struct Enlighten Rgba32Gamma

struct Enlighten::Rgba32Gamma

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

Typedefs

Name Description
Geo::v128 ExpandedType

The expanded type.

Variables

Name Description
const ExpandedType MaxValue

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

Functions

Name Description
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.


void Enlighten::Rgba32Gamma::ByteSwap


public: void ByteSwap()


Byte swaps the value.


Enlighten::Rgba32Gamma::operator ExpandedType


public: operator ExpandedType() const


Extract the Expanded type from the data.


Enlighten::Rgba32Gamma::Rgba32Gamma


public: Rgba32Gamma
(
    const ExpandedType & newVal
)


Construct the compressed data from the expanded type.


static ExpandedType Enlighten::Rgba32Gamma::Zero


public: ExpandedType Zero()


Gets a zero value, represented in the expanded type.