Files
sbox-public/engine/Sandbox.Engine/Systems/Render/BlendMode.cs
s&box team 71f266059a Open source release
This commit imports the C# engine code and game files, excluding C++ source code.

[Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
2025-11-24 09:05:18 +00:00

26 lines
481 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, // 5
// ColorDodge = 6,
// ColorBurn = 7,
// HardLight = 8,
// SoftLight = 9,
// Difference = 10,
// Exclusion = 11,
}
}