texture(key, data, pixelWidth, pixelHeight, palette) → {PIXI.Texture}
Generates a new PIXI.Texture from the given data, which can be applied to a Sprite. This allows you to create game graphics quickly and easily, with no external files but that use actual proper imagesrather than Phaser.Graphics objects, which are expensive to render and limited in scope. Each element of the array is a string holding the pixel color values, as mapped to one of the Phaser.Create PALETTE consts. For example: v