Class VkPipelineMultisampleStateCreateInfo

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkPipelineMultisampleStateCreateInfo>
org.lwjgl.vulkan.VkPipelineMultisampleStateCreateInfo
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class VkPipelineMultisampleStateCreateInfo extends org.lwjgl.system.Struct<VkPipelineMultisampleStateCreateInfo> implements org.lwjgl.system.NativeResource
Structure specifying parameters of a newly created pipeline multisample state.
Description

Each bit in the sample mask is associated with a unique sample index as defined for the coverage mask. Each bit b for mask word w in the sample mask corresponds to sample index i, where i = 32 × w + b. pSampleMask has a length equal to ⌈ rasterizationSamples / 32 ⌉ words.

If pSampleMask is NULL, it is treated as if the mask has all bits set to 1.

Valid Usage
  • If the sampleRateShading feature is not enabled, sampleShadingEnable must be FALSE
  • If the alphaToOne feature is not enabled, alphaToOneEnable must be FALSE
  • minSampleShading must be in the range [0,1]
  • If the VK_NV_framebuffer_mixed_samples extension is enabled, and if the subpass has any color attachments and rasterizationSamples is greater than the number of color samples, then sampleShadingEnable must be FALSE
Valid Usage (Implicit)
See Also

VkGraphicsPipelineCreateInfo

Layout


 struct VkPipelineMultisampleStateCreateInfo {
     VkStructureType sType();
     void const * pNext();
     VkPipelineMultisampleStateCreateFlags flags();
     VkSampleCountFlagBits rasterizationSamples();
     VkBool32 sampleShadingEnable();
     float minSampleShading();
     VkSampleMask const * pSampleMask(int);
     VkBool32 alphaToCoverageEnable();
     VkBool32 alphaToOneEnable();
 }