mirror of
https://github.com/bjornbytes/lovr.git
synced 2024-07-12 17:03:34 +00:00
Pass stores draw commands rather than sending them to Vulkan immediately. The main motivation is to allow more flexibility in the Lua API. Passes are now regular objects, aren't invalidated whenever submit is called, and can cache their draws across multiple frames. Draws can also be internally culled, sorted, and batched. Some API methods (tallies) are missing, and there are still some bugs to fix, notably with background color. |
||
---|---|---|
.. | ||
animator.comp | ||
blender.comp | ||
cubemap.frag | ||
cubemap.vert | ||
equirect.frag | ||
fill.vert | ||
fill_array.frag | ||
font.frag | ||
logo.frag | ||
lovr.glsl | ||
normal.frag | ||
tallymerge.comp | ||
unlit.frag | ||
unlit.vert |