Versions Compared

Key

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

class Enlighten::BaseAlbedoHandler

Base Albedo Handler.

Variables

NameDescription
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

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


Anchor
a6ef8bf1e17534ed9ffb722dc39310f1f
a6ef8bf1e17534ed9ffb722dc39310f1f

virtual void Enlighten::BaseAlbedoHandler::AllocateMaterialComponentBuffers

...

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

...

Allocates material component buffers.


Anchor
ae2a8f0987d7c3024be19a62cef6afa6f
ae2a8f0987d7c3024be19a62cef6afa6f

virtual bool Enlighten::BaseAlbedoHandler::HasAlbedoData

...

public: virtual bool HasAlbedoData() const

...

Checks if there is valid albedo data.


Anchor
a6e5101d910e8a35af78473733f44d485
a6e5101d910e8a35af78473733f44d485

virtual void Enlighten::BaseAlbedoHandler::SetAlbedoData

...

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

...

Sets the albedo data.


Anchor
aff8c6ff59b516bba85c5383163e3a5e6
aff8c6ff59b516bba85c5383163e3a5e6

void Enlighten::BaseAlbedoHandler::UpdateMaterialComponentBuffers

...

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

...

Updates material component buffers.