This is the documentation for Enlighten.
class Enlighten CpuAlbedoHandler
class Enlighten::CpuAlbedoHandler
└>Enlighten::BaseAlbedoHandler
Implementation of BaseAlbedoHandler for the CPU solver.
Functions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| 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. |
virtual void Enlighten::CpuAlbedoHandler::AllocateMaterialComponentBuffers
public: virtual void AllocateMaterialComponentBuffers
(
const Enlighten::InputWorkspace * inputWorkspace
)
Allocates material component buffers.
virtual void Enlighten::BaseAlbedoHandler::AllocateMaterialComponentBuffers
public: void AllocateMaterialComponentBuffers
(
const Enlighten::InputWorkspace * inputWorkspace
)
Allocates material component buffers.
const Enlighten::AlbedoBuffer* Enlighten::CpuAlbedoHandler::GetAlbedoBuffer
public: const Enlighten::AlbedoBuffer * GetAlbedoBuffer() const
Access to the buffers.
const Enlighten::EmissiveBuffer* Enlighten::CpuAlbedoHandler::GetEmissiveBuffer
public: const Enlighten::EmissiveBuffer * GetEmissiveBuffer() const
Access to the buffers.
const Enlighten::TransparencyBuffer* Enlighten::CpuAlbedoHandler::GetTransparencyBuffer
public: const Enlighten::TransparencyBuffer * GetTransparencyBuffer() const
Access to the 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.
virtual void Enlighten::CpuAlbedoHandler::UpdateMaterialComponentBuffersInternal
protected: virtual void UpdateMaterialComponentBuffersInternal
(
const Enlighten::BaseSystem * system,
bool forceWhiteAlbedo
)
Updates the material component buffers.