phaser - v4.0.0-rc.4
    Preparing search index...
    • Looks up a canvas based on its parent, and if found puts it back in the pool, freeing it up for re-use. The canvas has its width and height set to 1, and its parent attribute nulled.

      Parameters

      • parent: any

        The canvas or the parent of the canvas to free.

      Returns void