This is the documentation for Enlighten.
struct Enlighten PppiConfiguration
struct Enlighten::PppiConfiguration
Enums
Name | Description |
|---|---|
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 64x64 tiles, 192x192 texels. |
bool m_DoubleLodDistance | When true, double the distance at which a given probe LOD is available. |
Geo::u32 m_MaxProbeSets | The maximum number of concurrently added probe sets. 8 bytes allocated per probe set. Default 65536 = 512KB. |
Geo::u32 m_ResolutionBias | The highest resolution required in the PPPI clipmap. |
PppiAtlasFootprint::TileDistribution m_TileDistribution | The number of tiles in each atlas pool. |
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 |
|---|---|
Return the resolution of one slice in the atlas. | |
Return the number of slices in the atlas. | |
Return true if the configuration is valid. | |
Constructor. |
AtlasResolution
public: enum AtlasResolution
{
AtlasResolution32 = 32,
AtlasResolution64 = 64
}
The available resolutions for the atlas.
enumerators
AtlasResolution32 |
|
AtlasResolution64 |
|
AtlasResolution Enlighten::PppiConfiguration::GetAtlasResolution
public: AtlasResolution GetAtlasResolution() const
Return the resolution of one slice in the atlas.