namespace Brutal.VulkanApi { /// /// VkPipelineCoverageModulationStateCreateInfoNV - Structure specifying parameters controlling coverage modulation /// /// /// /// As part of coverage reduction, fragment color values can also be modulated /// (multiplied) by a value that is a function of fraction of covered /// rasterization samples associated with that color sample. /// /// /// Pipeline state controlling coverage modulation is specified through the /// members of the VkPipelineCoverageModulationStateCreateInfoNV /// structure. /// /// /// The VkPipelineCoverageModulationStateCreateInfoNV structure is defined /// as: /// /// /// // Provided by VK_NV_framebuffer_mixed_samples /// typedef struct VkPipelineCoverageModulationStateCreateInfoNV { /// VkStructureType sType; /// const void* pNext; /// VkPipelineCoverageModulationStateCreateFlagsNV flags; /// VkCoverageModulationModeNV coverageModulationMode; /// VkBool32 coverageModulationTableEnable; /// uint32_t coverageModulationTableCount; /// const float* pCoverageModulationTable; /// } VkPipelineCoverageModulationStateCreateInfoNV; /// /// [StructLayout(LayoutKind.Explicit, Size = 40)] public unsafe partial struct VkPipelineCoverageModulationStateCreateInfoNV() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.PipelineCoverageModulationStateCreateInfoNV; /// /// 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 VkPipelineCoverageModulationStateCreateFlagsNV Flags; /// /// CoverageModulationMode is a VkCoverageModulationModeNV value controlling which color components are modulated. /// [FieldOffset(20)] public VkCoverageModulationModeNV CoverageModulationMode; /// /// CoverageModulationTableEnable controls whether the modulation factor is looked up from a table in pCoverageModulationTable. /// [FieldOffset(24)] public Brutal.Bool32 CoverageModulationTableEnable; /// /// CoverageModulationTableCount is the number of elements in pCoverageModulationTable. /// [FieldOffset(28)] public int CoverageModulationTableCount; /// /// CoverageModulationTable is a table of modulation factors containing a value for each number of covered samples. /// [FieldOffset(32)] public float* CoverageModulationTable; } }