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

Function defineListToPython

Source/Falcor/Core/API/PythonHelpers.cpp:93–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93pybind11::dict defineListToPython(const DefineList& defines)
94{
95 pybind11::dict dict;
96 for (const auto& [key, value] : defines)
97 dict[key.c_str()] = value;
98 return dict;
99}
100
101DefineList defineListFromPython(const pybind11::dict& dict)
102{

Callers 1

FALCOR_SCRIPT_BINDINGFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected