This is the documentation for Enlighten.

class Enlighten PipelineInstanceParameters

class Enlighten::PipelineInstanceParameters

Recommended default values for parameters that affect the precompute for a subset of instances in the scene.

Variables

Name Description
float m_ClusterSize

The size of a radiosity patch in world units.

Geo::GeoFileString m_Name

The name used to associate an instance with this set of parameters.

Geo::u32 m_NumTerrainLodLevels

The number of lightmap LOD levels to generate for a terrain instance.

float m_OutputPixelSize

The output lightmap pixel size in world units.

bool m_RequiresTerrainLods

The number of lightmap LOD levels to generate for a terrain instance.

bool m_RequiresTerrainPackingPadding

When using terrain LOD: if true, half a pixel of padding is added around each chart.

Functions

Name Description
PipelineInstanceParameters(Geo::GeoFileString, float, float)

Constructor.

PipelineInstanceParameters(Geo::GeoFileString, float)

Constructor that does not require outputPixelSize.


Enlighten::PipelineInstanceParameters::PipelineInstanceParameters


public: PipelineInstanceParameters
(
    Geo::GeoFileString name,
    float clusterSize,
    float outputPixelSize
)


Constructor.


Enlighten::PipelineInstanceParameters::PipelineInstanceParameters


public: PipelineInstanceParameters
(
    Geo::GeoFileString name,
    float clusterSize
)


Constructor that does not require outputPixelSize.