This is the documentation for Enlighten.

struct Enlighten PppiConfiguration

struct Enlighten::PppiConfiguration

PppiConfiguration.

Enums

Name Description
AtlasResolution

The available resolutions for the atlas.

Variables

Name Description
AtlasResolution m_AtlasResolution

The resolution of each atlas slice, in tiles.

Geo::u32 m_AtlasSize

The number of slices in the atlas. Each slice contains resolution^2 tiles.

bool m_BorderEnabled

When true, enable the fallback border lighting for regions not covered by any probe set.

Geo::u32 m_MaxProbeSets

The maximum number of concurrently added probe sets.

bool m_UseComputeUpdate

When true, updates are processed by IPppiComputeUpdateHandler.

const Geo::u32 MaxAtlasSize = 64

The maximum number of slices in the atlas.

Functions

Name Description
GetAtlasSize()

Print an error if the size is not valid.

PppiConfiguration()

Constructor.


AtlasResolution


public: enum AtlasResolution
{
    AtlasResolution32 = 32,
    AtlasResolution64 = 64
}


The available resolutions for the atlas.

enumerators
AtlasResolution32
AtlasResolution64


Geo::u32 Enlighten::PppiConfiguration::GetAtlasSize


public: Geo::u32 GetAtlasSize() const


Print an error if the size is not valid.


Enlighten::PppiConfiguration::PppiConfiguration


public: PppiConfiguration()


Constructor.