Versions Compared

Key

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

template<typename ColourType>
class Enlighten::ClusterMaterialComponent

Enlighten internal class for per material dynamic updates.

Typedefs

NameDescription
ColourType::ExpandedType ValueType

The publicly exposed type that is read and written.

Functions

NameDescription
ByteSwap()

Byte swaps the members of this component.

ClusterMaterialComponent()

Constructor.

GetCurrent()

Gets the current value of this component.

GetWritten()

Gets the last-written value of this component.

Initialise(bool)

Initialises this component as static or dynamic.

IsDynamic()

Queries if this component is dynamic.

Quantise(const ValueType &)

Quantise the ValueType value based on the ColourType storage.

SetCurrent(ValueType)

Sets the current value of this component.

SetWritten()

Sets the last-written value of this component to the current value.


Anchor
a829c0645b0a6f5f72c8c8563c8ebd1be
a829c0645b0a6f5f72c8c8563c8ebd1be

void Enlighten::ClusterMaterialComponent< ColourType >::ByteSwap

...

public: void ByteSwap()

...

Byte swaps the members of this component.


Anchor
aa7d43dc445e863da3617f1ba8f09f4c2
aa7d43dc445e863da3617f1ba8f09f4c2

Enlighten::ClusterMaterialComponent< ColourType >::ClusterMaterialComponent

...

public: ClusterMaterialComponent()

...

Constructor.


Anchor
a1fdde7ef95b0702d9874c3a2fa5a6152
a1fdde7ef95b0702d9874c3a2fa5a6152

ValueType Enlighten::ClusterMaterialComponent< ColourType >::GetCurrent

...

public: ValueType GetCurrent() const

...

Gets the current value of this component.


Anchor
a8188562a4ba388135af3a171a1710e17
a8188562a4ba388135af3a171a1710e17

ValueType Enlighten::ClusterMaterialComponent< ColourType >::GetWritten

...

public: ValueType GetWritten() const

...

Gets the last-written value of this component.


Anchor
a89de9391122f42930bd98a78e6142043
a89de9391122f42930bd98a78e6142043

void Enlighten::ClusterMaterialComponent< ColourType >::Initialise

...

public: void Initialise
(
    bool dynamic
)

...

Initialises this component as static or dynamic.


Anchor
ae6a9bfc3b153b85c517ddd9eeb8d21f6
ae6a9bfc3b153b85c517ddd9eeb8d21f6

bool Enlighten::ClusterMaterialComponent< ColourType >::IsDynamic

...

public: bool IsDynamic() const

...

Queries if this component is dynamic.


Anchor
ad94f733bd491112fb2db159893f14348
ad94f733bd491112fb2db159893f14348

Enlighten::ClusterMaterialComponent< ColourType >::ValueType Enlighten::ClusterMaterialComponent< ColourType >::Quantise

...

public: ValueType Quantise
(
    const ValueType & val
)

...

Quantise the ValueType value based on the ColourType storage.


Anchor
ada0cbd3bb114df7a4f5a1816a1d8828d
ada0cbd3bb114df7a4f5a1816a1d8828d

void Enlighten::ClusterMaterialComponent< ColourType >::SetCurrent

...

public: void SetCurrent
(
    ValueType newCurrent
)

...

Sets the current value of this component.


Anchor
a7604bedaa174845e7861b538924e866e
a7604bedaa174845e7861b538924e866e

void Enlighten::ClusterMaterialComponent< ColourType >::SetWritten

...

public: void SetWritten()

...

Sets the last-written value of this component to the current value.