3 ms·
I wanted to avoid (in some cases) a separate initialization phase and unify resource allocation with rendering (because requirements may change and require real
by znah 4y ago
I wanted to avoid (in some cases) a separate initialization phase and unify resource allocation with rendering (because requirements may change and require reallocation). Take GameOfLife example (https://github.com/google/swissgl/blob/main/demo/GameOfLife.js https://github.com/google/swissgl/blob/main/demo/GameOfLife....). It only has 'frame()' function which transparently resizes textures when needed.