getCef
Definition
-- @/lua/ge/extensions/ui/visibility.lua:10
-- CEF ui visibility
local function getCef()
return M.state.cefVisible
end
Callers
@/lua/ge/extensions/editor/main.lua
editor.savedCameraSpeed = editor.getCameraSpeed()
cefWasVisible = extensions.ui_visibility.getCef()
extensions.ui_visibility.setCef(false)
@/lua/ge/extensions/flowgraph/nodes/gfx/blur.lua
function C:onPreRender(dt, dtSim)
if not extensions.ui_visibility.getCef() then return end
-- this really does need to happen in the render pass and not in work
@/lua/ge/extensions/ui/gameBlur.lua
local function onPreRender()
if not extensions.ui_visibility.getCef() then return end
if render_openxr and render_openxr.isSessionRunning() then return end
@/lua/ge/extensions/ui/visibility.lua
local function toggleCef()
setCef(not getCef())
end