2019-04-25 02:15:51 +00:00
|
|
|
/**
|
|
|
|
* @author Richard Davey <rich@photonstorm.com>
|
|
|
|
* @copyright 2019 Photon Storm Ltd.
|
|
|
|
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* This is a stub function for Shader.Render. There is no Canvas renderer for Shader objects.
|
|
|
|
*
|
|
|
|
* @method Phaser.GameObjects.Shader#renderCanvas
|
2019-04-30 18:43:50 +00:00
|
|
|
* @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 {number} interpolationPercentage - Reserved for future use and custom pipelines.
|
|
|
|
* @param {Phaser.Cameras.Scene2D.Camera} camera - The Camera that is rendering the Game Object.
|
|
|
|
*/
|
|
|
|
var ShaderCanvasRenderer = function ()
|
|
|
|
{
|
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = ShaderCanvasRenderer;
|