node package manager
We need your input. Help make JavaScript better: Take the 2017 JavaScript Ecosystem survey ยป

deferred-regl

deferred-regl

defer operations to a regl instance

api

var defregl = require('deferred-regl')

var dregl = defregl()

Create a new fake regl instance dregl that queues all operations.

dregl.setRegl(regl)

Provide a real regl implementation and run all operations from the queue.

install

npm install deferred-regl

license

BSD