Skip to main content

raw

Function raw 

Source
pub fn raw<'lua>(lua: &'lua Lua, name: &str) -> Result<LuaTable<'lua>, LuaError>
Expand description

The real table behind a protected API, for the engine’s own per-frame writes.

Callers must use LuaTable::raw_set on it. A plain set would work today — the real table has no metatable — but the point of fetching it here rather than reading the global is that the write path and the read path are deliberately different, and raw_set says so at the call site.