Tree @v0.1.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 publishing a LÖVE Canvas object.
API
- tvs.new(): creates a new- Clientobject (- texture-share-glclient).
- Client:newSharedCanvas(name, ...): creates a new- SharedCanvasobject by delegating to- love.graphics.newCanvas(...)and publishes it.
- Canvas.name: the name passed in the SharedCanvas constructor
- Canvas.canvas: the love2d- Canvasobject
- Canvas:send(): Sends the current contents of the Canvas to subscribers, call this after drawing to the Canvas.
- Canvas:any_other_method(): delegated to the love2d- Canvasobject