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

Method addDefines

Source/Falcor/Core/Program/Program.cpp:167–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165}
166
167bool Program::addDefines(const DefineList& dl)
168{
169 bool dirty = false;
170 for (auto it : dl)
171 {
172 if (addDefine(it.first, it.second))
173 {
174 dirty = true;
175 }
176 }
177 return dirty;
178}
179
180bool Program::removeDefine(const std::string& name)
181{

Callers 15

executeMethod · 0.80
executeMethod · 0.80
prepareLightingMethod · 0.80
finalShadingMethod · 0.80
updateProgramsMethod · 0.80
prepareLightingMethod · 0.80
executeMethod · 0.80
prepareVarsMethod · 0.80
setStaticParamsMethod · 0.80
executeMethod · 0.80
prepareVarsMethod · 0.80
executeRaytraceMethod · 0.80

Calls

no outgoing calls

Tested by 1

executeMethod · 0.64