Tree @v0.2.0 (Download .tar.gz)
lua texture-share-vk
A LÖVE library for sharing GPU textures between processes.
This wraps the OpenGL C API of texture-share-vk and allows sending and receiving LÖVE Canvas contents.
API
tvs.new(): creates a newClientobject (texture-share-glclient).Client:newSharedCanvas(name, ...): creates a newSharedCanvasobject by delegating tolove.graphics.newCanvas(...)and publishes it.Client:loadSharedCanvas(name): loads aSharedCanvasobject from another publisher.Canvas.name: the name passed in the SharedCanvas constructorCanvas.canvas: the love2dCanvasobjectCanvas:send([fail_silently]): Sends the current contents of the Canvas to subscribers, call this after drawing to the Canvas.Canvas:load([fail_silently]): Loads updated contents from the publisher, call this before drawing the Canvas.Canvas:any_other_method(): delegated to the love2dCanvasobject
Commit History
@v0.2.0
git clone https://git.s-ol.nu/lua-texture-share-vk.git
- bump version to 0.2.0 s-ol 17 days ago
- check errors in Canvas:send/recv, disable with fail_silently s-ol 17 days ago
- release 0.1.1 s-ol 1 year, 1 month ago
- support receiving canvas s-ol 1 year, 1 month ago
- release 0.1.0 s-ol 1 year, 1 month ago
- package for luarocks s-ol 1 year, 1 month ago
- as lib s-ol 1 year, 1 month ago
- with unpatched love2d s-ol 1 year, 1 month ago
- initial PoC s-ol 1 year, 1 month ago