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; }
public void Draw(DrawContext drawContext, Camera camera, Box2 bounds, float opacity) { effectUpdateQueue.Enabled = true; layerManager.Draw(drawContext, camera, bounds, opacity); }