namespace Brutal.VulkanApi { /// /// VkPipelineColorBlendStateCreateInfo - Structure specifying parameters of a newly created pipeline color blend state /// /// /// /// The VkPipelineColorBlendStateCreateInfo structure is defined as: /// /// /// // Provided by VK_VERSION_1_0 /// typedef struct VkPipelineColorBlendStateCreateInfo { /// VkStructureType sType; /// const void* pNext; /// VkPipelineColorBlendStateCreateFlags flags; /// VkBool32 logicOpEnable; /// VkLogicOp logicOp; /// uint32_t attachmentCount; /// const VkPipelineColorBlendAttachmentState* pAttachments; /// float blendConstants[4]; /// } VkPipelineColorBlendStateCreateInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 56)] public unsafe partial struct VkPipelineColorBlendStateCreateInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.PipelineColorBlendStateCreateInfo; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Flags is reserved for future use. /// [FieldOffset(16)] public VkPipelineColorBlendStateCreateFlags Flags; /// /// LogicOpEnable controls whether to apply Logical Operations^. /// [FieldOffset(20)] public Brutal.Bool32 LogicOpEnable; /// /// LogicOp selects which logical operation to apply. /// [FieldOffset(24)] public VkLogicOp LogicOp; /// /// AttachmentCount is the number of VkPipelineColorBlendAttachmentState elements in pAttachments. /// [FieldOffset(28)] public int AttachmentCount; /// /// Attachments is a pointer to an array of VkPipelineColorBlendAttachmentState structures defining blend state for each color attachment. /// [FieldOffset(32)] public VkPipelineColorBlendAttachmentState* Attachments; /// /// BlendConstants is a pointer to an array of four values used as the R, G, B, and A components of the blend constant that are used in blending, depending on the blend factor^. /// [FieldOffset(40)] public float4 BlendConstants; } }