@eryx/gfx/window Module

JSON

Window creation and management.

local window = require("@eryx/gfx/window")
local win = window.create(800, 600, "My App")

The returned Window object has methods like :pollEvents(), :startFrame(), :endFrame(), :drawText(), :drawTexture(), :drawRectangle(), etc. These are provided by the native metatable.