mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Gamma Init
This commit is contained in:
41
app/WindowsDisplayAPI/DisplayShaderBlendingCapabilities.cs
Normal file
41
app/WindowsDisplayAPI/DisplayShaderBlendingCapabilities.cs
Normal file
@@ -0,0 +1,41 @@
|
||||
using System;
|
||||
|
||||
namespace WindowsDisplayAPI
|
||||
{
|
||||
/// <summary>
|
||||
/// Contains possible shader blending capabilities of a display device
|
||||
/// </summary>
|
||||
[Flags]
|
||||
public enum DisplayShaderBlendingCapabilities
|
||||
{
|
||||
/// <summary>
|
||||
/// Device does not support any of these capabilities.
|
||||
/// </summary>
|
||||
None = 0,
|
||||
|
||||
/// <summary>
|
||||
/// Capable of handling constant alpha
|
||||
/// </summary>
|
||||
ConstantAlpha = 1,
|
||||
|
||||
/// <summary>
|
||||
/// Capable of handling per-pixel alpha.
|
||||
/// </summary>
|
||||
PerPixelAlpha = 2,
|
||||
|
||||
/// <summary>
|
||||
/// Capable of handling pre-multiplied alpha
|
||||
/// </summary>
|
||||
PreMultipliedAlpha = 4,
|
||||
|
||||
/// <summary>
|
||||
/// Capable of doing gradient fill rectangles.
|
||||
/// </summary>
|
||||
RectangleGradient = 16,
|
||||
|
||||
/// <summary>
|
||||
/// Capable of doing gradient fill triangles.
|
||||
/// </summary>
|
||||
TriangleGradient = 32
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user