phaser - v4.0.0-rc.4
    Preparing search index...

    The CanvasPool is a global static object, that allows Phaser to recycle and pool 2D Context Canvas DOM elements. It does not pool WebGL Contexts, because once the context options are set they cannot be modified again, which is useless for the Phaser renderer.

    This singleton is instantiated as soon as Phaser loads, before a Phaser.Game instance has even been created. Which means all instances of Phaser Games on the same page can share the one single pool.

    Functions

    create
    create2D
    createWebGL
    disableSmoothing
    enableSmoothing
    first
    free
    remove
    total