mirror of
https://github.com/amerkoleci/Vortice.Win32.git
synced 2026-01-14 08:06:02 +08:00
Improve generation.
This commit is contained in:
@@ -15,7 +15,7 @@ public unsafe partial struct BlendDescription
|
||||
/// <summary>
|
||||
/// A built-in description with settings for alpha blend, that is blending the source and destination data using alpha.
|
||||
/// </summary>
|
||||
public static readonly BlendDescription AlphaBlend = new(Blend.One, Blend.InvSrcAlpha);
|
||||
public static readonly BlendDescription AlphaBlend = new(Blend.One, Blend.InverseSrcAlpha);
|
||||
|
||||
/// <summary>
|
||||
/// A built-in description with settings for additive blend, that is adding the destination data to the source data without using alpha.
|
||||
@@ -25,7 +25,7 @@ public unsafe partial struct BlendDescription
|
||||
/// <summary>
|
||||
/// A built-in description with settings for blending with non-premultipled alpha, that is blending source and destination data using alpha while assuming the color data contains no alpha information.
|
||||
/// </summary>
|
||||
public static readonly BlendDescription NonPremultiplied = new(Blend.SrcAlpha, Blend.InvSrcAlpha);
|
||||
public static readonly BlendDescription NonPremultiplied = new(Blend.SrcAlpha, Blend.InverseSrcAlpha);
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="BlendDescription"/> struct.
|
||||
|
||||
Reference in New Issue
Block a user