phaser/src/gameobjects/shader/ShaderCanvasRenderer.js

23 lines
745 B
JavaScript
Raw Normal View History

2019-04-25 02:15:51 +00:00
/**
* @author Richard Davey <rich@photonstorm.com>
2022-02-28 14:29:51 +00:00
* @copyright 2022 Photon Storm Ltd.
2019-05-10 15:15:04 +00:00
* @license {@link https://opensource.org/licenses/MIT|MIT License}
2019-04-25 02:15:51 +00:00
*/
/**
* This is a stub function for Shader.Render. There is no Canvas renderer for Shader objects.
*
* @method Phaser.GameObjects.Shader#renderCanvas
* @since 3.17.0
2019-04-25 02:15:51 +00:00
* @private
*
* @param {Phaser.Renderer.Canvas.CanvasRenderer} renderer - A reference to the current active Canvas renderer.
* @param {Phaser.GameObjects.Shader} src - The Game Object being rendered in this call.
* @param {Phaser.Cameras.Scene2D.Camera} camera - The Camera that is rendering the Game Object.
*/
var ShaderCanvasRenderer = function ()
{
};
module.exports = ShaderCanvasRenderer;