mirror of
https://github.com/photonstorm/phaser
synced 2025-01-25 19:35:15 +00:00
11 lines
290 B
JavaScript
11 lines
290 B
JavaScript
var TileSpriteWebGLRenderer = function (renderer, src, interpolationPercentage, camera)
|
|
{
|
|
if (this.renderMask !== this.renderFlags)
|
|
{
|
|
return;
|
|
}
|
|
src.updateTileTexture();
|
|
renderer.tileBatch.addTileSprite(src, camera);
|
|
};
|
|
|
|
module.exports = TileSpriteWebGLRenderer;
|