Function Context

Summary

#include <Source/Falcor/Utils/Scripting/Scripting.h>

(1) Context(pybind11::dict globals)

(2) Context()

Function overload

Synopsis

#include <Source/Falcor/Utils/Scripting/Scripting.h>

Context(pybind11::dict globals)

Description

No description yet.

Source

Lines 50-50 in Source/Falcor/Utils/Scripting/Scripting.h.

Context(pybind11::dict globals) : mGlobals(globals) {}

Synopsis

#include <Source/Falcor/Utils/Scripting/Scripting.h>

Context()

Description

No description yet.

Source

Lines 52-56 in Source/Falcor/Utils/Scripting/Scripting.h.

Context()
{
    // Copy __builtins__ to our empty globals dictionary.
    mGlobals["__builtins__"] = pybind11::globals()["__builtins__"];
}





Add Discussion as Guest

Log in