MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / setEmissiveFactor

Method setEmissiveFactor

Source/Falcor/Scene/Material/StandardMaterial.cpp:194–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192 }
193
194 void StandardMaterial::setEmissiveFactor(float factor)
195 {
196 if (mData.emissiveFactor != factor)
197 {
198 mData.emissiveFactor = factor;
199 markUpdates(UpdateFlags::DataChanged | UpdateFlags::EmissiveChanged);
200 updateEmissiveFlag();
201 }
202 }
203
204 void StandardMaterial::setHasEntryPointVolumeProperties(bool hasEntryPointVolumeProperties)
205 {

Callers 3

convertMethod · 0.80
createAreaLightFunction · 0.80
buildShapeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected