mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
|
|
@ -0,0 +1,61 @@
|
|||
namespace Brutal.VulkanApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <see href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkColorBlendEquationEXT.html">VkColorBlendEquationEXT</see> - Structure specifying the color blend factors and operations for an attachment
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// The <c>VkColorBlendEquationEXT</c> structure is defined as:
|
||||
/// </para>
|
||||
/// <code>
|
||||
/// // Provided by VK_EXT_extended_dynamic_state3, VK_EXT_shader_object
|
||||
/// typedef struct VkColorBlendEquationEXT {
|
||||
/// VkBlendFactor srcColorBlendFactor;
|
||||
/// VkBlendFactor dstColorBlendFactor;
|
||||
/// VkBlendOp colorBlendOp;
|
||||
/// VkBlendFactor srcAlphaBlendFactor;
|
||||
/// VkBlendFactor dstAlphaBlendFactor;
|
||||
/// VkBlendOp alphaBlendOp;
|
||||
/// } VkColorBlendEquationEXT;
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 24)]
|
||||
public partial struct VkColorBlendEquationEXT()
|
||||
{
|
||||
/// <summary>
|
||||
/// <c>SrcColorBlendFactor</c> selects which blend factor is used to determine the source factors <c>(S~r~,S~g~,S~b~)</c>.
|
||||
/// </summary>
|
||||
[FieldOffset(0)]
|
||||
public VkBlendFactor SrcColorBlendFactor;
|
||||
|
||||
/// <summary>
|
||||
/// <c>DstColorBlendFactor</c> selects which blend factor is used to determine the destination factors <c>(D~r~,D~g~,D~b~)</c>.
|
||||
/// </summary>
|
||||
[FieldOffset(4)]
|
||||
public VkBlendFactor DstColorBlendFactor;
|
||||
|
||||
/// <summary>
|
||||
/// <c>ColorBlendOp</c> selects which blend operation is used to calculate the RGB values to write to the color attachment.
|
||||
/// </summary>
|
||||
[FieldOffset(8)]
|
||||
public VkBlendOp ColorBlendOp;
|
||||
|
||||
/// <summary>
|
||||
/// <c>SrcAlphaBlendFactor</c> selects which blend factor is used to determine the source factor <c>S~a~</c>.
|
||||
/// </summary>
|
||||
[FieldOffset(12)]
|
||||
public VkBlendFactor SrcAlphaBlendFactor;
|
||||
|
||||
/// <summary>
|
||||
/// <c>DstAlphaBlendFactor</c> selects which blend factor is used to determine the destination factor <c>D~a~</c>.
|
||||
/// </summary>
|
||||
[FieldOffset(16)]
|
||||
public VkBlendFactor DstAlphaBlendFactor;
|
||||
|
||||
/// <summary>
|
||||
/// <c>AlphaBlendOp</c> selects which blend operation is use to calculate the alpha values to write to the color attachment.
|
||||
/// </summary>
|
||||
[FieldOffset(20)]
|
||||
public VkBlendOp AlphaBlendOp;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue