MCPcopy Create free account
hub / github.com/LuxCoreRender/LuxCore / GetImportance

Method GetImportance

include/slg/lights/light.h:130–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128 virtual float GetPower(const Scene &scene) const = 0;
129 virtual u_int GetID() const { return lightMaterial->GetLightID(); }
130 virtual float GetImportance() const { return lightMaterial->GetEmittedImportance(); }
131
132 virtual bool IsVisibleIndirectDiffuse() const { return lightMaterial->IsVisibleIndirectDiffuse(); }
133 virtual bool IsVisibleIndirectGlossy() const { return lightMaterial->IsVisibleIndirectGlossy(); }

Callers 3

PreprocessMethod · 0.45
PreprocessMethod · 0.45
PreprocessMethod · 0.45

Calls 1

GetEmittedImportanceMethod · 0.80

Tested by

no test coverage detected