A game framework written with osu! in mind.
1// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
2// See the LICENCE file in the repository root for full licence text.
3
4using osu.Framework.Graphics.Shaders;
5
6namespace osu.Framework.Graphics
7{
8 /// <summary>
9 /// Interface for <see cref="Drawable"/>s which can be drawn by <see cref="TexturedShaderDrawNode"/>s.
10 /// </summary>
11 public interface ITexturedShaderDrawable : IDrawable
12 {
13 /// <summary>
14 /// The <see cref="IShader"/> to be used for rendering when masking is not required.
15 /// </summary>
16 IShader TextureShader { get; }
17
18 /// <summary>
19 /// The <see cref="IShader"/> to be used for rendering when masking is required.
20 /// </summary>
21 IShader RoundedTextureShader { get; }
22 }
23}