Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)

Enlighten API 3.10 Documentation
Results will update as you type.
  • Modules
  • Namespaces
    • namespace Enlighten
      • class Enlighten A8CpuTextureSampler
      • class Enlighten Alpha8Normalised
      • class Enlighten AsyncTaskThreadGroup
      • class Enlighten AutoProbeVolumes
      • class Enlighten BakedProbeOutputInfo
      • class Enlighten BakeInputLight
      • class Enlighten BakeInputMeshInfo
      • class Enlighten BakeMaterialInfo
      • class Enlighten BaseAlbedoHandler
      • class Enlighten BaseCubeMap
      • class Enlighten BaseDynamicObject
      • class Enlighten BaseEnvironment
      • class Enlighten BaseLightMeta
      • class Enlighten BaseProbeSet
      • class Enlighten BaseSystem
      • class Enlighten BaseSystemSolutionSpace
      • class Enlighten BaseUpdateManager
      • class Enlighten BaseWorker
      • class Enlighten BoundingBox2D
      • class Enlighten BoxSpotlight
      • class Enlighten BoxVolume
      • class Enlighten CallableEnqueueFunctorCommand
      • class Enlighten ClusterAlbedoWorkspaceMaterialData
      • class Enlighten ClusterMaterialComponent
      • class Enlighten ClusterMaterials
      • class Enlighten ClusterProbeBounceSampleData
      • class Enlighten ClusterProbeSample
      • class Enlighten ClusterProbeTransparencySampleData
      • class Enlighten ClusterRange
      • class Enlighten Command
      • class Enlighten ConstLightValueIterator
      • class Enlighten CopyAlbedoBufferInfo
      • class Enlighten CopyBounceBufferInfo
      • class Enlighten CopyEmissiveBufferInfo
      • class Enlighten CopyEmissiveEnvironmentInfo
      • class Enlighten CopyInputLightingBufferInfo
      • class Enlighten CopyProbeOutputInfo
      • class Enlighten CopyRawOutputInfo
      • class Enlighten CopyTransparencyBufferInfo
      • class Enlighten CopyVisibilityBufferInfo
      • class Enlighten CpuAlbedoHandler
      • class Enlighten CpuCubeMap
      • class Enlighten CpuDynamicObject
      • class Enlighten CpuEnvironment
      • class Enlighten CpuSystem
      • class Enlighten CpuSystemSolutionSpace
      • class Enlighten CpuTextureSamplerBase
      • class Enlighten CpuUpdateManager
      • class Enlighten CpuWorker
      • class Enlighten CubeMapDataBlock
      • class Enlighten CubeMapMeta
      • class Enlighten DefaultGeometryTransparencySampler
      • class Enlighten DefaultThreadGroup
      • class Enlighten DirectInputLightingParameters
      • class Enlighten DirectionalLight
      • class Enlighten DirectionalLightMeta
      • class Enlighten Dx9TextureUpdater
      • class Enlighten Dx11TextureUpdater
      • class Enlighten DynamicMaterialWorkspace
      • class Enlighten DynamicObject
      • class Enlighten EnlightenDataBlock
      • class Enlighten EnlightenProfile
      • class Enlighten EnlightenTask
      • class Enlighten EntireProbeSetTask
    Calendars

You‘re viewing this with anonymous access, so some content might be blocked.
/
class Enlighten ClusterMaterialComponent

    This is the documentation for Enlighten.

    class Enlighten ClusterMaterialComponent

    Nov 21, 2019

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


    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.


    void Enlighten::ClusterMaterialComponent< ColourType >::Initialise


    public: void Initialise
    (
        bool dynamic
    )


    Initialises this component as static or dynamic.


    bool Enlighten::ClusterMaterialComponent< ColourType >::IsDynamic


    public: bool IsDynamic() const


    Queries if this component is dynamic.


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


    public: ValueType Quantise
    (
        const ValueType & val
    )


    Quantise the ValueType value based on the ColourType storage.


    void Enlighten::ClusterMaterialComponent< ColourType >::SetCurrent


    public: void SetCurrent
    (
        ValueType newCurrent
    )


    Sets the current value of this component.


    void Enlighten::ClusterMaterialComponent< ColourType >::SetWritten


    public: void SetWritten()


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

    , multiple selections available,
    {"serverDuration": 10, "requestCorrelationId": "fa3a8b4c53d944f88d1c648d787bbf95"}