Releases: vuoro/sahti
Releases · vuoro/sahti
Buffer update optimization, texture refilling support
Rudimentary elements/indexed drawing support
0.11.0 Update package.json
Fix crash when making textures
0.10.2 Update package.json
Fix camera state not containing direction
0.10.1 Add camera direction to cameraState
Renderer config is now an object, and allows passing clearColor
This way you can hide the flash of black canvas upon initialization
Always clear before rendering commands
0.9.0 Update package.json
Make count respond to attribute buffer refills
0.8.1 Update package.json
New camera include API
- include = {x : true} instead of includeX = true
- near, far, zoom, fov, devicePixelRatio added as possible includes
DPR change & component.shouldRender
- the
pixelRatio
argument on renderer creation now multiplies window.devicePixelRatio, instead of overriding it - components now take a new prop function:
shouldRender = () => true
: whenever it returns false, the component won’t render
Fix missing Preact export
0.6.1 Update package.json