Files
sbox-public/engine/Sandbox.Engine/Systems/Render/BlendMode.cs
Garry Newman 675f55005e Pause menu 3 (#3663)
* Add TextureFlags
* Add TextureFlags.PremultipliedAlpha in text block and webpanel textures
* Add BlendMode.PremultipliedAlpha
* Add panel to PauseModal
2025-12-23 15:11:25 +00:00

31 lines
488 B
C#

namespace Sandbox
{
/// <summary>
/// Blend modes used by the UI system
/// </summary>
[Expose]
public enum BlendMode
{
// these match web stuff. I haven't implemented them all in the shader. See ui/features.hlsl
Normal = 0,
Multiply = 1,
// Screen = 2,
// Overlay = 3,
// Darken = 4,
Lighten = 2,
PremultipliedAlpha = 3,
// 5
// ColorDodge = 6,
// ColorBurn = 7,
// HardLight = 8,
// SoftLight = 9,
// Difference = 10,
// Exclusion = 11,
}
}