Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In order to bounce light from geometry, Enlighten needs some description of the surface colour - the "albedo" of the surface.

Enlighten will use the albedo colour to modulate the input lighting to compute the colour of the bounce light.

...

NameDescription
Geo::GeoRGBXTextureElement CpuTextureElement

Structure defining the memory layout of CPU texture data used by Enlighten for texture albedo and emissive.

Geo::u64 SurfaceSelection

Selects a set of surfaces within a system.

...

Enlighten::AlbedoBuffer* GEO_CALL Enlighten::CreateAlbedoBuffer

...

public: Enlighten::AlbedoBuffer *GEO_CALL CreateAlbedoBuffer
(
    const Enlighten::InputWorkspace * inputWorkspace,
    void * mem
)

...

Enlighten::EmissiveBuffer* GEO_CALL Enlighten::CreateEmissiveBuffer

...

public: Enlighten::EmissiveBuffer *GEO_CALL CreateEmissiveBuffer
(
    const Enlighten::InputWorkspace * inputWorkspace,
    void * mem
)

...

Enlighten::TransparencyBuffer* GEO_CALL Enlighten::CreateTransparencyBuffer

...

public: Enlighten::TransparencyBuffer *GEO_CALL CreateTransparencyBuffer
(
    const Enlighten::InputWorkspace * inputWorkspace,
    void * mem
)

...

public: bool GEO_CALL UpdateAlbedoBuffer
(
    DynamicMaterialWorkspace * materialWorkspace,
    const Enlighten::ClusterAlbedoWorkspaceMaterialData * materialData,
    Enlighten::AlbedoBuffer * albedoBuffer
)

...

Update an AlbedoBuffer from the DynamicMaterialWorkspace.

...

public: bool GEO_CALL UpdateEmissiveBuffer
(
    DynamicMaterialWorkspace * materialWorkspace,
    const Enlighten::ClusterAlbedoWorkspaceMaterialData * materialData,
    Enlighten::EmissiveBuffer * emissiveBuffer
)

...

Update an EmissiveBuffer from the DynamicMaterialWorkspace.

...

public: bool GEO_CALL UpdateTransparencyBuffer
(
    DynamicMaterialWorkspace * materialWorkspace,
    const Enlighten::ClusterAlbedoWorkspaceMaterialData * materialData,
    Enlighten::TransparencyBuffer * transparencyBuffer
)

...

Update a TransparencyBuffer from the DynamicMaterialWorkspace.

...