// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. namespace osu.Framework.Graphics.Effects { /// /// Represents an effect that can be applied to a drawable. /// /// The type of the drawable that is created as a result of applying the effect to a drawable. public interface IEffect where T : Drawable { /// /// Applies this effect to the given drawable. /// /// The drawable to apply this effect to. /// A new drawable derived from the given drawable with the effect applied. T ApplyTo(Drawable drawable); } }