phaser/v3/src/gameobjects/tilesprite/TileSpriteWebGLRenderer.js

14 lines
292 B
JavaScript
Raw Normal View History

2017-04-25 22:09:13 +00:00
var TileSpriteWebGLRenderer = function (renderer, src, interpolationPercentage, camera)
{
if (this.renderMask !== this.renderFlags)
{
return;
}
2017-07-04 11:36:27 +00:00
2017-05-02 20:57:21 +00:00
src.updateTileTexture();
2017-07-04 11:36:27 +00:00
renderer.tileBatch.addTileSprite(src, camera);
2017-04-25 22:09:13 +00:00
};
module.exports = TileSpriteWebGLRenderer;