Versions Compared

Key

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

class Enlighten::CpuAlbedoHandler

    └>Enlighten::BaseAlbedoHandler

Implementation of BaseAlbedoHandler for the CPU solver.

Functions

NameDescription
AllocateMaterialComponentBuffers(const Enlighten::InputWorkspace *)

Allocates material component buffers.

AllocateMaterialComponentBuffers(const Enlighten::InputWorkspace *)

Allocates material component buffers.

GetAlbedoBuffer()

Access to the buffers.

GetEmissiveBuffer()

Access to the buffers.

GetTransparencyBuffer()

Access to the 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.

UpdateMaterialComponentBuffersInternal(const Enlighten::BaseSystem *, bool)

Updates the material component buffers.

Variables

NameDescription
Enlighten::AlbedoBuffer * m_AlbedoBuffer

Buffers.

SystemAlbedoData m_AlbedoData

The albedo data.

bool m_AlbedoDirty

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

Enlighten::EmissiveBuffer * m_EmissiveBuffer

Buffers.

bool m_EmissiveDirty

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

Enlighten::TransparencyBuffer * m_TransparencyBuffer

Buffers.

bool m_TransparencyDirty

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


Anchor
ab37819cde559ecfc8784a3b6bbc742b4
ab37819cde559ecfc8784a3b6bbc742b4

virtual void Enlighten::CpuAlbedoHandler::AllocateMaterialComponentBuffers

...

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

...

Allocates material component buffers.


Anchor
a6ef8bf1e17534ed9ffb722dc39310f1f
a6ef8bf1e17534ed9ffb722dc39310f1f

virtual void Enlighten::BaseAlbedoHandler::AllocateMaterialComponentBuffers

...

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

...

Allocates material component buffers.


Anchor
a3bf6a73c2e68a540903ffc4d228c07a7
a3bf6a73c2e68a540903ffc4d228c07a7

const Enlighten::AlbedoBuffer* Enlighten::CpuAlbedoHandler::GetAlbedoBuffer

...

public: const Enlighten::AlbedoBuffer * GetAlbedoBuffer() const

...

Access to the buffers.


Anchor
aa256c4ac8cd2c0f9c31e1f44bc37033c
aa256c4ac8cd2c0f9c31e1f44bc37033c

const Enlighten::EmissiveBuffer* Enlighten::CpuAlbedoHandler::GetEmissiveBuffer

...

public: const Enlighten::EmissiveBuffer * GetEmissiveBuffer() const

...

Access to the buffers.


Anchor
aad8858fbcf7702cb4acb49a0502ae70e
aad8858fbcf7702cb4acb49a0502ae70e

const Enlighten::TransparencyBuffer* Enlighten::CpuAlbedoHandler::GetTransparencyBuffer

...

public: const Enlighten::TransparencyBuffer * GetTransparencyBuffer() const

...

Access to the 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.


Anchor
afe00593929eba198d12fef352aad19d4
afe00593929eba198d12fef352aad19d4

virtual void Enlighten::CpuAlbedoHandler::UpdateMaterialComponentBuffersInternal

...

protected: virtual void UpdateMaterialComponentBuffersInternal
(
    const Enlighten::BaseSystem * system,
    bool forceWhiteAlbedo
)

...

Updates the material component buffers.