Beispiel #1
0
        public void Draw(DrawContext drawContext, Camera camera, Box2 bounds, float opacity, bool updateFrameStats)
        {
            effectUpdateQueue.Enabled = allowEffectUpdates && MapsetPathIsValid;

            var newFrameStats = updateFrameStats ? new FrameStats() : null;

            LayerManager.Draw(drawContext, camera, bounds, opacity, newFrameStats);
            FrameStats = newFrameStats ?? FrameStats;
        }
Beispiel #2
0
 public void Draw(DrawContext drawContext, Camera camera, Box2 bounds, float opacity)
 {
     effectUpdateQueue.Enabled = true;
     layerManager.Draw(drawContext, camera, bounds, opacity);
 }