This is the documentation for Enlighten.
class Enlighten Alpha8Normalised
class Enlighten::Alpha8Normalised
Class to store a normalised single channel value in 1 byte.
Typedefs
Name | Description |
|---|---|
float ExpandedType | The expanded type. |
Variables
Name | Description |
|---|---|
const ExpandedType MaxValue | Gets the maximum representable value, represented in the expanded type. |
Functions
Name | Description |
|---|---|
Construct a compressed Alpha8Normalised object from a float. | |
Byte swaps the value. | |
Uncompress the Alpha8Normalised object to a float value. | |
Gets a zero value, represented in the expanded type. |
GEO_FORCE_INLINE Enlighten::Alpha8Normalised::Alpha8Normalised
public: GEO_FORCE_INLINE Alpha8Normalised
(
const ExpandedType & value
)
Construct a compressed Alpha8Normalised object from a float.
void Enlighten::Alpha8Normalised::ByteSwap
public: void ByteSwap()
Byte swaps the value.
GEO_FORCE_INLINE Enlighten::Alpha8Normalised::operator ExpandedType
public: GEO_FORCE_INLINE operator ExpandedType() const
Uncompress the Alpha8Normalised object to a float value.
static ExpandedType Enlighten::Alpha8Normalised::Zero
public: ExpandedType Zero()
Gets a zero value, represented in the expanded type.