phaser/src/gameobjects/mesh/MeshCanvasRenderer.js
2020-10-05 16:52:01 +01:00

22 lines
732 B
JavaScript

/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2020 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|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 {Phaser.Cameras.Scene2D.Camera} camera - The Camera that is rendering the Game Object.
*/
var MeshCanvasRenderer = function ()
{
};
module.exports = MeshCanvasRenderer;