hadronized / spectra

Rust demoscene engine (currently on hold)
122 stars 6 forks source link

Viewport renderer #63

Open hadronized opened 5 years ago

hadronized commented 5 years ago

A ViewportRenderer enables to simply provide a block and a set of inputs / outputs to perform a viewport-base render.

The ViewportRenderer maintains an internal state:

Whenever the block is updated, the renderer must recompile its shader in order to take into account of the new block.