Versions Compared

Key

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

class Enlighten::PipelineInstanceParameters

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

Variables

NameDescription
float m_ClusterSize

The size of a radiosity patch in world units.

Geo::GeoFileString m_Name

The name of the instance to apply these parameters to.

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


Anchor
aca945fb2c90ae15e1ac5d908d88ea94b
aca945fb2c90ae15e1ac5d908d88ea94b

Enlighten::PipelineInstanceParameters::PipelineInstanceParameters

...

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

...

Constructor.