mirror of
https://github.com/photonstorm/phaser
synced 2024-12-18 17:16:03 +00:00
13 lines
370 B
JavaScript
13 lines
370 B
JavaScript
|
var GameObject = require('../GameObject');
|
||
|
|
||
|
var RenderTextureCanvasRenderer = function (renderer, renderTexture, interpolationPercentage, camera)
|
||
|
{
|
||
|
if (GameObject.RENDER_MASK !== renderTexture.renderFlags || (renderTexture.cameraFilter > 0 && (renderTexture.cameraFilter & camera._id)))
|
||
|
{
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
};
|
||
|
|
||
|
module.exports = RenderTextureCanvasRenderer;
|