Toast Engine
Loading...
Searching...
No Matches
scripting::LuaCallback::Shared Struct Reference
Collaboration diagram for scripting::LuaCallback::Shared:

Public Member Functions

 Shared (const Shared &)=delete
auto operator= (const Shared &) -> Shared &=delete
auto alive () const noexcept -> bool

Public Attributes

size_t vm_index = 0
std::unique_ptr< luabridge::LuaRef > ref
 bound to the main thread of the interpreter
std::shared_ptr< RuntimeToken > token
toast::Box< toast::Node > node
std::string name

The documentation for this struct was generated from the following file:
  • engine/src/toast/scripting/lua_callback.cpp