namespace Brutal.VulkanApi { /// /// VkPipelineMultisampleStateCreateInfo - Structure specifying parameters of a newly created pipeline multisample state /// /// /// /// The VkPipelineMultisampleStateCreateInfo structure is defined as: /// /// /// // Provided by VK_VERSION_1_0 /// typedef struct VkPipelineMultisampleStateCreateInfo { /// VkStructureType sType; /// const void* pNext; /// VkPipelineMultisampleStateCreateFlags flags; /// VkSampleCountFlagBits rasterizationSamples; /// VkBool32 sampleShadingEnable; /// float minSampleShading; /// const VkSampleMask* pSampleMask; /// VkBool32 alphaToCoverageEnable; /// VkBool32 alphaToOneEnable; /// } VkPipelineMultisampleStateCreateInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 48)] public unsafe partial struct VkPipelineMultisampleStateCreateInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.PipelineMultisampleStateCreateInfo; /// /// 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 VkPipelineMultisampleStateCreateFlags Flags; /// /// RasterizationSamples is a VkSampleCountFlags value specifying the number of samples used in rasterization. /// [FieldOffset(20)] public VkSampleCountFlags RasterizationSamples; /// /// SampleShadingEnable can be used to enable Sample Shading^. /// [FieldOffset(24)] public Brutal.Bool32 SampleShadingEnable; /// /// MinSampleShading specifies a minimum fraction of sample shading if sampleShadingEnable is VK_TRUE. /// [FieldOffset(28)] public float MinSampleShading; /// /// SampleMask is a pointer to an array of basetype:VkSampleMask values used in the sample mask test^. /// [FieldOffset(32)] public VkSampleMask* SampleMask; /// /// AlphaToCoverageEnable controls whether a temporary coverage value is generated based on the alpha component of the fragment's first color output as specified in the Multisample Coverage^ section. /// [FieldOffset(40)] public Brutal.Bool32 AlphaToCoverageEnable; /// /// AlphaToOneEnable controls whether the alpha component of the fragment's first color output is replaced with one as described in Multisample Coverage^. /// [FieldOffset(44)] public Brutal.Bool32 AlphaToOneEnable; } }