mirror of
https://github.com/photonstorm/phaser
synced 2024-12-25 04:23:30 +00:00
24 lines
861 B
JavaScript
24 lines
861 B
JavaScript
|
/**
|
||
|
* @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
|
||
|
* @since 3.0.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 {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;
|