CRX_NO_VIRTUALIZE - Legacy Macros
Deprecated — Legacy Cortex Engine Only: CRX_NO_VIRTUALIZE is strictly for the Legacy (Cortex) build preset. For normal/standard builds, use CTN_NO_VIRTUALIZE from the Centurion documentation.
CRX_NO_VIRTUALIZE Native Luau Execution
Form: call (aliases: CRX_JIT_MAX, LPH_NO_VIRTUALIZE, LPH_JIT_MAX). Compiles the wrapped function as a native Luau closure (OP_NATIVE) with an environment proxy, completely bypassing VM bytecode interpretation.
Why Use It: Preserving Luau JIT Speed
Preserves full 60 FPS performance for RenderStepped render loops, physics simulations, camera manipulation, and raycasting. Must wrap a function literal and cannot reference VM-local upvalues.
-- Legacy Cortex Build
local onRender = CRX_NO_VIRTUALIZE(function(delta)
local offset = delta * 60
return offset
end)
Centurion Replacement (Normal Builds)
-- Normal Production Build (Centurion)
local onRender = CTN_NO_VIRTUALIZE(function(delta)
local offset = delta * 60
return offset
end)