Add inline comment explaining optimisation

This commit is contained in:
Dean Herbert 2024-03-11 11:28:15 +08:00
parent 2be6d1f1c6
commit f3d154a995
No known key found for this signature in database
1 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,8 @@ public partial class OsuPlayfield : Playfield
private readonly JudgementPooler<DrawableOsuJudgement> judgementPooler;
// For osu! gameplay, everything is always on screen.
// Skipping masking calculations improves performance in intense beatmaps (ie. https://osu.ppy.sh/beatmapsets/150945#osu/372245)
public override bool UpdateSubTreeMasking(Drawable source, RectangleF maskingBounds) => false;
public SmokeContainer Smoke { get; }