GE Lua Documentation

Press F to search!

GetMainContext

Definition


-- @/lua/common/extensions/ui/imgui_custom_luaintf.lua:234

  -- WRAPPER
  -- Context creation and access
  function M.GetMainContext() return imgui.GetMainContext() end

Callers

@/lua/common/extensions/ui/imgui.lua
    -- get the 1st, initial c++ context that is managed by the game engine
    M.ctx = Engine.imgui.GetMainContext()
  end