phaser
Version:
A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers from the team at Phaser Studio Inc.
11 lines (10 loc) • 648 B
JavaScript
/**
* @typedef {object} Phaser.Types.GameObjects.SpriteGPULayer.SpriteGPULayerConfig
* @since 4.0.0
*
* @property {number} size - The size of the SpriteGPULayer; the number of quads reserved in memory. This can be increased later.
* @property {(string|Phaser.Textures.Texture)} [key] - The key, or instance of the Texture this Game Object will use to render with, as stored in the Texture Manager.
* @property {number} [alpha=1] - The alpha (opacity) of the Game Object.
* @property {number} [blendMode=BlendModes.DEFAULT] - The blend mode of the GameObject.
* @property {boolean} [visible=true] - The visible state of the Game Object.
*/