class Enlighten CpuAlbedoHandler

This is the documentation for Enlighten.

class Enlighten CpuAlbedoHandler

class Enlighten::CpuAlbedoHandler

    └>Enlighten::BaseAlbedoHandler

Implementation of BaseAlbedoHandler for the CPU solver.

Functions

Name

Description

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

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