UNPKG

@phaserjs/phaser

Version:
13 lines (12 loc) 208 B
const queue = []; export const BindingQueue = { add: (texture, glConfig) => { queue.push({ texture, glConfig }); }, get: () => { return queue; }, clear: () => { queue.length = 0; } };