VE Lua Documentation

Press F to search!

cast

Definition


-- @/=[C]:-1
function cast(...)

Callers

@/lua/common/extensions/ui/imguiUtils.lua
    --  -- assumes font 2 is monospaced
    --  local f = ffi.cast("ImFont*", imgui.GetIO().Fonts.Fonts.Data) -- Data is an ImVector, so do some pointer math
    --  print('font 1: ' .. tostring(f))