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

Method setObject

Source/Falcor/Utils/Scripting/Scripting.h:96–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94
95 template<typename T>
96 void setObject(const std::string& name, T obj)
97 {
98 mGlobals[name.c_str()] = obj;
99 }
100
101 template<typename T>
102 T getObject(const std::string& name) const

Callers 9

applyEditorChangesMethod · 0.80
runScriptFromFileMethod · 0.80
createFromFileMethod · 0.80
createFromStringMethod · 0.80
updateGraphMethod · 0.80
setParameterBlockMethod · 0.80
importInternalMethod · 0.80
CPU_TESTFunction · 0.80

Calls

no outgoing calls

Tested by 1

CPU_TESTFunction · 0.64