UNPKG

phaser

Version:

A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers from the team at Phaser Studio Inc.

10 lines (9 loc) 540 B
/** * @typedef {object} Phaser.Types.GameObjects.Shader.ShaderConfig * @extends Phaser.Types.GameObjects.GameObjectConfig * @since 3.50.0 * * @property {string|Phaser.Types.GameObjects.Shader.ShaderQuadConfig} config - The configuration object this Shader will use. It can also be a key that corresponds to a shader in the shader cache, which will be used as `fragmentKey` in a new config object. * @property {number} [width=128] - The width of the Game Object. * @property {number} [height=128] - The height of the Game Object. */