phaser/src/gameobjects/shader/ShaderCanvasRenderer.js
2023-01-02 17:36:27 +00:00

22 lines
750 B
JavaScript

/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2013-2023 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* 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
* @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;