// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Graphics.OpenGL.Buffers; using osuTK; using osuTK.Graphics; namespace osu.Framework.Graphics { /// /// Interface for s which can be drawn by a . /// public interface IBufferedDrawable : ITexturedShaderDrawable { /// /// The background colour of the s. /// Visually changes the colour which rendered alpha is blended against. /// /// /// This should generally be transparent-black or transparent-white, but can also be used to /// colourise the background colour of the with non-transparent colours. /// Color4 BackgroundColour { get; } /// /// The colour with which the s are rendered to the screen. /// A null value implies the s should be drawn as they are. /// DrawColourInfo? FrameBufferDrawColour { get; } /// /// The scale of the s drawn relative to the size of this . /// /// /// The contents of the s are populated at this scale, however the scale of s remains unaffected. /// Vector2 FrameBufferScale { get; } } }