MCPcopy
hub / github.com/phaserjs/phaser / create2D

Function create2D

src/display/canvas/CanvasPool.js:106–109  ·  view source on GitHub ↗
(parent, width, height)

Source from the content-addressed store, hash-verified

104 * @return {HTMLCanvasElement} The canvas element that was created or pulled from the pool.
105 */
106 var create2D = function (parent, width, height)
107 {
108 return create(parent, width, height, CONST.CANVAS);
109 };
110
111 /**
112 * Creates a new WebGL Canvas DOM element.

Callers

nothing calls this directly

Calls 1

createFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…