This is the documentation for Enlighten.
class Enlighten ClusterMaterialComponent
template<typename ColourType>
class Enlighten::ClusterMaterialComponent
Enlighten internal class for per material dynamic updates.
Typedefs
Name | Description |
|---|---|
ColourType::ExpandedType ValueType | The publicly exposed type that is read and written. |
Functions
Name | Description |
|---|---|
Byte swaps the members of this component. | |
Constructor. | |
Gets the current value of this component. | |
Gets the last-written value of this component. | |
Initialises this component as static or dynamic. | |
Queries if this component is dynamic. | |
Quantise the ValueType value based on the ColourType storage. | |
Sets the current value of this component. | |
Sets the last-written value of this component to the current value. |
void Enlighten::ClusterMaterialComponent< ColourType >::ByteSwap
public: void ByteSwap()
Byte swaps the members of this component.
Enlighten::ClusterMaterialComponent< ColourType >::ClusterMaterialComponent
public: ClusterMaterialComponent()
Constructor.
ValueType Enlighten::ClusterMaterialComponent< ColourType >::GetCurrent
public: ValueType GetCurrent() const
Gets the current value of this component.
ValueType Enlighten::ClusterMaterialComponent< ColourType >::GetWritten
public: ValueType GetWritten() const
Gets the last-written value of this component.