Global types
ConstantArray
An array constant read back from a constant buffer: the engine's 1-based proxy over the constant's slots, not a Lua table.
cb.lights[1] reads the first slot and an index below 1 raises. The proxy
has no length, so it does not support # or .length; assign a whole new
array (cb.lights = [a, b]) to change how many slots the constant holds.