phaser/src/gameobjects/mesh/MeshCanvasRenderer.js
2018-03-28 15:04:09 +01:00

23 lines
849 B
JavaScript

/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2018 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
/**
* This is a stub function for Mesh.Render. There is no Canvas renderer for Mesh objects.
*
* @method Phaser.GameObjects.Mesh#renderCanvas
* @since 3.0.0
* @private
*
* @param {Phaser.Renderer.Canvas.CanvasRenderer} renderer - A reference to the current active Canvas renderer.
* @param {Phaser.GameObjects.Mesh} 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 MeshCanvasRenderer = function ()
{
};
module.exports = MeshCanvasRenderer;