This is the documentation for Enlighten.
└>Enlighten::BaseAlbedoHandler
Implementation of BaseAlbedoHandler for the CPU solver.
| 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. |
| 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. |
public: virtual void AllocateMaterialComponentBuffers
(
const Enlighten::InputWorkspace * inputWorkspace
)
Allocates material component buffers.
public: void AllocateMaterialComponentBuffers
(
const Enlighten::InputWorkspace * inputWorkspace
)
Allocates material component buffers.
public: const Enlighten::AlbedoBuffer * GetAlbedoBuffer() const
Access to the buffers.
public: const Enlighten::EmissiveBuffer * GetEmissiveBuffer() const
Access to the buffers.
public: const Enlighten::TransparencyBuffer * GetTransparencyBuffer() const
Access to the buffers.
public: virtual bool HasAlbedoData() const
Checks if there is valid albedo data.
public: virtual void SetAlbedoData
(
const SystemAlbedoData & albedoData,
const Enlighten::InputWorkspace * inputWorkspace
)
Sets the albedo data.
public: void UpdateMaterialComponentBuffers
(
const Enlighten::BaseSystem * system,
bool forceWhiteAlbedo
)
Updates material component buffers.
protected: virtual void UpdateMaterialComponentBuffersInternal
(
const Enlighten::BaseSystem * system,
bool forceWhiteAlbedo
)
Updates the material component buffers.