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

Function PYBIND11_MODULE

Source/Falcor/FalcorPython.cpp:52–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52PYBIND11_MODULE(falcor_ext, m)
53{
54 if (!isLoadedFromEmbeddedPython())
55 {
56 Falcor::Logger::setOutputs(Falcor::Logger::OutputFlags::Console | Falcor::Logger::OutputFlags::DebugWindow);
57 Falcor::Device::enableAgilitySDK();
58 Falcor::PluginManager::instance().loadAllPlugins();
59 }
60
61 m.doc() = "Falcor python bindings";
62 Falcor::ScriptBindings::initModule(m);
63}

Callers

nothing calls this directly

Calls 3

initModuleFunction · 0.85
loadAllPluginsMethod · 0.80

Tested by

no test coverage detected