Gets the first free canvas index from the pool.
name | type | arguments | Default | description |
---|---|---|---|---|
canvasType | number | <optional> | Phaser.CANVAS |
The type of the Canvas. Either |
The first free canvas, or null
if a WebGL canvas was requested or if the pool doesn't have free canvases.