This is the documentation for Enlighten.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

class Enlighten::BaseAlbedoHandler

Base Albedo Handler.

Variables

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.

Functions

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.


virtual void Enlighten::BaseAlbedoHandler::AllocateMaterialComponentBuffers


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


Allocates material component 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.

  • No labels