class Enlighten BaseAlbedoHandler

This is the documentation for Enlighten.

class Enlighten BaseAlbedoHandler

class Enlighten::BaseAlbedoHandler

 

Base Albedo Handler.

Variables

Name

Description

Name

Description

SystemAlbedoData m_AlbedoData

The albedo data.

bool m_AlbedoDirty

Flag to signal that the albedo/emissive buffers need an update.

bool m_EmissiveDirty

Flag to signal that the albedo/emissive buffers need an update.

bool m_TransparencyDirty

Flag to signal that the albedo/emissive buffers need an update.

Functions

Name

Description

Name

Description

AllocateMaterialComponentBuffers(const Enlighten::InputWorkspace *)

Allocates material component buffers.

HasAlbedoData()

Checks if there is valid albedo data.

SetAlbedoData(const SystemAlbedoData &, const Enlighten::InputWorkspace *)

Sets the albedo data.

UpdateMaterialComponentBuffers(const Enlighten::BaseSystem *, bool)

Updates material component buffers.



virtual void Enlighten::BaseAlbedoHandler::AllocateMaterialComponentBuffers


public: void AllocateMaterialComponentBuffers
(
    const Enlighten::InputWorkspace * inputWorkspace
)


Allocates material component buffers.



virtual bool Enlighten::BaseAlbedoHandler::HasAlbedoData


public: virtual bool HasAlbedoData() const


Checks if there is valid albedo data.



virtual void Enlighten::BaseAlbedoHandler::SetAlbedoData


public: virtual void SetAlbedoData
(
    const SystemAlbedoData & albedoData,
    const Enlighten::InputWorkspace * inputWorkspace
)


Sets the albedo data.



void Enlighten::BaseAlbedoHandler::UpdateMaterialComponentBuffers


public: void UpdateMaterialComponentBuffers
(
    const Enlighten::BaseSystem * system,
    bool forceWhiteAlbedo
)


Updates material component buffers.