lovr-docs
lovr-docs copied to clipboard
Documentation for LÖVR
e.g. ```lua function lovr.draw(pass) local width, height = pass:getDimensions() pass:setProjection(1, mat4():orthographic(width, height, -1, 1)) pass:setViewPose(1, mat4()) local font = lovr.graphics.getDefaultFont() font:setPixelDensity(1) pass:text('hi', width / 2, height / 2, 0, 1)...
Since 0.16 or so the lovr-docs repo has listed functions with more than one legal overload with this javascript picker at the top: https://lovr.org/docs/v0.16.0/lovr.graphics.newBuffer I love this, before I kept...
Consider https://lovr.org/docs/v0.16.0/lovr.graphics.newBuffer, case `(data, format)`. > location is the vertex attribute location of each field. This is used to match up each field with an attribute declared in a shader,...
It would be nice to be able to copy-paste a `sudo apt install` or `pacman -S` snippet to get all the necessary packages.
### Summary As discussed via Matrix, this PR adds a fresh new LuaCATS API annotations generator to this repository. Please consider this PR work in progress for the time being;...