This is the documentation for Enlighten.
Base Albedo Handler.
| 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. |
| 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. |
public: void AllocateMaterialComponentBuffers
(
const Enlighten::InputWorkspace * inputWorkspace
)
Allocates material component 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.