A game framework written with osu! in mind.
at master 38 lines 1.0 kB view raw
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 4namespace osu.Framework.Graphics 5{ 6 public enum BlendingEquation 7 { 8 /// <summary> 9 /// Inherits from parent. 10 /// </summary> 11 Inherit = 0, 12 13 /// <summary> 14 /// Adds the source and destination colours. 15 /// </summary> 16 Add, 17 18 /// <summary> 19 /// Chooses the minimum of each component of the source and destination colours. 20 /// </summary> 21 Min, 22 23 /// <summary> 24 /// Chooses the maximum of each component of the source and destination colours. 25 /// </summary> 26 Max, 27 28 /// <summary> 29 /// Subtracts the destination colour from the source colour. 30 /// </summary> 31 Subtract, 32 33 /// <summary> 34 /// Subtracts the source colour from the destination colour. 35 /// </summary> 36 ReverseSubtract, 37 } 38}