0.0.6 • Published 5 years ago
gl-gpgpu v0.0.6
gl-gpgpu
GPGPU state-stepping: maps minimal draw passes, shaders, GL resources, inputs, outputs. BYORenderer.
Aims to have loose drawing dependencies - for easier compatibility with any renderer which may rely on tracking the WebGL state (e.g: regl.
To handle resource creation and rendering, pass an API object for the needed callbacks (parameters match the regl API, but you may mix in whatever library you like).
The modules and many hooks may be used as given, or piecemeal, or overridden.
Installation
Install from npm using:
npm install @epok.tech/gl-gpgpuor:
yarn add @epok.tech/gl-gpgpu