[{"data":1,"prerenderedAt":682},["ShallowReactive",2],{"sdlFL9Axxd":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":681,"_id":4},"VkPipelineCoverageToColorStateCreateInfoNV","Structure specifying whether fragment coverage replaces a color","VK_NV_fragment_coverage_to_color","structs",[],{"type":10,"children":11,"toc":679},"root",[12,28,311,388,415,465,503,622,673],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,26],{"type":18,"value":19},"text","The ",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":4},{"type":18,"value":27}," structure is defined\nas:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,136],{"type":13,"tag":33,"props":34,"children":40},"pre",{"className":35,"code":36,"filename":37,"language":38,"meta":39,"style":39},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkPipelineCoverageToColorStateCreateInfoNV {\n VkStructureType sType;\n const void* pNext;\n VkPipelineCoverageToColorStateCreateFlagsNV flags;\n VkBool32 coverageToColorEnable;\n uint32_t coverageToColorLocation;\n} VkPipelineCoverageToColorStateCreateInfoNV;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,95,104,113,127],{"type":13,"tag":45,"props":46,"children":49},"span",{"class":47,"line":48},"line",1,[50,56,61],{"type":13,"tag":45,"props":51,"children":53},{"style":52},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[54],{"type":18,"value":55},"typedef",{"type":13,"tag":45,"props":57,"children":58},{"style":52},[59],{"type":18,"value":60}," struct",{"type":13,"tag":45,"props":62,"children":64},{"style":63},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[65],{"type":18,"value":66}," VkPipelineCoverageToColorStateCreateInfoNV {\n",{"type":13,"tag":45,"props":68,"children":70},{"class":47,"line":69},2,[71],{"type":13,"tag":45,"props":72,"children":73},{"style":63},[74],{"type":18,"value":75}," VkStructureType sType;\n",{"type":13,"tag":45,"props":77,"children":79},{"class":47,"line":78},3,[80,85,90],{"type":13,"tag":45,"props":81,"children":82},{"style":52},[83],{"type":18,"value":84}," const",{"type":13,"tag":45,"props":86,"children":87},{"style":52},[88],{"type":18,"value":89}," void*",{"type":13,"tag":45,"props":91,"children":92},{"style":63},[93],{"type":18,"value":94}," pNext;\n",{"type":13,"tag":45,"props":96,"children":98},{"class":47,"line":97},4,[99],{"type":13,"tag":45,"props":100,"children":101},{"style":63},[102],{"type":18,"value":103}," VkPipelineCoverageToColorStateCreateFlagsNV flags;\n",{"type":13,"tag":45,"props":105,"children":107},{"class":47,"line":106},5,[108],{"type":13,"tag":45,"props":109,"children":110},{"style":63},[111],{"type":18,"value":112}," VkBool32 coverageToColorEnable;\n",{"type":13,"tag":45,"props":114,"children":116},{"class":47,"line":115},6,[117,122],{"type":13,"tag":45,"props":118,"children":119},{"style":52},[120],{"type":18,"value":121}," uint32_t",{"type":13,"tag":45,"props":123,"children":124},{"style":63},[125],{"type":18,"value":126}," coverageToColorLocation;\n",{"type":13,"tag":45,"props":128,"children":130},{"class":47,"line":129},7,[131],{"type":13,"tag":45,"props":132,"children":133},{"style":63},[134],{"type":18,"value":135},"} VkPipelineCoverageToColorStateCreateInfoNV;\n",{"type":13,"tag":33,"props":137,"children":142},{"className":138,"code":139,"filename":140,"language":141,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PipelineCoverageToColorStateCreateInfoNV {\n s_type: vk::StructureType,\n p_next: *const c_void,\n flags: vk::PipelineCoverageToColorStateCreateFlagsNV,\n coverage_to_color_enable: vk::Bool32,\n coverage_to_color_location: u32,\n}\n","Rust","rs",[143],{"type":13,"tag":21,"props":144,"children":145},{"__ignoreMap":39},[146,169,202,224,253,282,303],{"type":13,"tag":45,"props":147,"children":148},{"class":47,"line":48},[149,154,158,164],{"type":13,"tag":45,"props":150,"children":151},{"style":52},[152],{"type":18,"value":153},"pub",{"type":13,"tag":45,"props":155,"children":156},{"style":52},[157],{"type":18,"value":60},{"type":13,"tag":45,"props":159,"children":161},{"style":160},"--shiki-default:#953800;--shiki-dark:#FFA657",[162],{"type":18,"value":163}," PipelineCoverageToColorStateCreateInfoNV",{"type":13,"tag":45,"props":165,"children":166},{"style":63},[167],{"type":18,"value":168}," {\n",{"type":13,"tag":45,"props":170,"children":171},{"class":47,"line":69},[172,177,182,187,192,197],{"type":13,"tag":45,"props":173,"children":174},{"style":63},[175],{"type":18,"value":176}," s_type",{"type":13,"tag":45,"props":178,"children":179},{"style":52},[180],{"type":18,"value":181},":",{"type":13,"tag":45,"props":183,"children":184},{"style":160},[185],{"type":18,"value":186}," vk",{"type":13,"tag":45,"props":188,"children":189},{"style":52},[190],{"type":18,"value":191},"::",{"type":13,"tag":45,"props":193,"children":194},{"style":160},[195],{"type":18,"value":196},"StructureType",{"type":13,"tag":45,"props":198,"children":199},{"style":63},[200],{"type":18,"value":201},",\n",{"type":13,"tag":45,"props":203,"children":204},{"class":47,"line":78},[205,210,214,219],{"type":13,"tag":45,"props":206,"children":207},{"style":63},[208],{"type":18,"value":209}," p_next",{"type":13,"tag":45,"props":211,"children":212},{"style":52},[213],{"type":18,"value":181},{"type":13,"tag":45,"props":215,"children":216},{"style":52},[217],{"type":18,"value":218}," *const",{"type":13,"tag":45,"props":220,"children":221},{"style":63},[222],{"type":18,"value":223}," c_void,\n",{"type":13,"tag":45,"props":225,"children":226},{"class":47,"line":97},[227,232,236,240,244,249],{"type":13,"tag":45,"props":228,"children":229},{"style":63},[230],{"type":18,"value":231}," flags",{"type":13,"tag":45,"props":233,"children":234},{"style":52},[235],{"type":18,"value":181},{"type":13,"tag":45,"props":237,"children":238},{"style":160},[239],{"type":18,"value":186},{"type":13,"tag":45,"props":241,"children":242},{"style":52},[243],{"type":18,"value":191},{"type":13,"tag":45,"props":245,"children":246},{"style":160},[247],{"type":18,"value":248},"PipelineCoverageToColorStateCreateFlagsNV",{"type":13,"tag":45,"props":250,"children":251},{"style":63},[252],{"type":18,"value":201},{"type":13,"tag":45,"props":254,"children":255},{"class":47,"line":106},[256,261,265,269,273,278],{"type":13,"tag":45,"props":257,"children":258},{"style":63},[259],{"type":18,"value":260}," coverage_to_color_enable",{"type":13,"tag":45,"props":262,"children":263},{"style":52},[264],{"type":18,"value":181},{"type":13,"tag":45,"props":266,"children":267},{"style":160},[268],{"type":18,"value":186},{"type":13,"tag":45,"props":270,"children":271},{"style":52},[272],{"type":18,"value":191},{"type":13,"tag":45,"props":274,"children":275},{"style":160},[276],{"type":18,"value":277},"Bool32",{"type":13,"tag":45,"props":279,"children":280},{"style":63},[281],{"type":18,"value":201},{"type":13,"tag":45,"props":283,"children":284},{"class":47,"line":115},[285,290,294,299],{"type":13,"tag":45,"props":286,"children":287},{"style":63},[288],{"type":18,"value":289}," coverage_to_color_location",{"type":13,"tag":45,"props":291,"children":292},{"style":52},[293],{"type":18,"value":181},{"type":13,"tag":45,"props":295,"children":296},{"style":160},[297],{"type":18,"value":298}," u32",{"type":13,"tag":45,"props":300,"children":301},{"style":63},[302],{"type":18,"value":201},{"type":13,"tag":45,"props":304,"children":305},{"class":47,"line":129},[306],{"type":13,"tag":45,"props":307,"children":308},{"style":63},[309],{"type":18,"value":310},"}\n",{"type":13,"tag":312,"props":313,"children":314},"ul",{},[315,336,355,366,377],{"type":13,"tag":316,"props":317,"children":318},"li",{},[319,325,327,334],{"type":13,"tag":21,"props":320,"children":322},{"className":321},[],[323],{"type":18,"value":324},"sType",{"type":18,"value":326}," is a ",{"type":13,"tag":328,"props":329,"children":331},"a",{"href":330},"/man/VkStructureType",[332],{"type":18,"value":333},"VkStructureType",{"type":18,"value":335}," value identifying this structure.",{"type":13,"tag":316,"props":337,"children":338},{},[339,345,347,353],{"type":13,"tag":21,"props":340,"children":342},{"className":341},[],[343],{"type":18,"value":344},"pNext",{"type":18,"value":346}," is ",{"type":13,"tag":21,"props":348,"children":350},{"className":349},[],[351],{"type":18,"value":352},"NULL",{"type":18,"value":354}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":316,"props":356,"children":357},{},[358,364],{"type":13,"tag":21,"props":359,"children":361},{"className":360},[],[362],{"type":18,"value":363},"flags",{"type":18,"value":365}," is reserved for future use.",{"type":13,"tag":316,"props":367,"children":368},{},[369,375],{"type":13,"tag":21,"props":370,"children":372},{"className":371},[],[373],{"type":18,"value":374},"coverageToColorEnable",{"type":18,"value":376}," controls whether the fragment coverage value\nreplaces a fragment color output.",{"type":13,"tag":316,"props":378,"children":379},{},[380,386],{"type":13,"tag":21,"props":381,"children":383},{"className":382},[],[384],{"type":18,"value":385},"coverageToColorLocation",{"type":18,"value":387}," controls which fragment shader color\noutput value is replaced.",{"type":13,"tag":14,"props":389,"children":390},{},[391,393,398,400,406,408,413],{"type":18,"value":392},"If the ",{"type":13,"tag":21,"props":394,"children":396},{"className":395},[],[397],{"type":18,"value":344},{"type":18,"value":399}," chain of ",{"type":13,"tag":328,"props":401,"children":403},{"href":402},"/man/VkPipelineMultisampleStateCreateInfo",[404],{"type":18,"value":405},"VkPipelineMultisampleStateCreateInfo",{"type":18,"value":407},"\nincludes a ",{"type":13,"tag":21,"props":409,"children":411},{"className":410},[],[412],{"type":18,"value":4},{"type":18,"value":414}," structure, then\nthat structure controls whether the fragment coverage is substituted for a\nfragment color output and, if so, which output is replaced.",{"type":13,"tag":14,"props":416,"children":417},{},[418,420,425,426,432,434,440,442,448,450,455,457,463],{"type":18,"value":419},"If ",{"type":13,"tag":21,"props":421,"children":423},{"className":422},[],[424],{"type":18,"value":374},{"type":18,"value":346},{"type":13,"tag":21,"props":427,"children":429},{"className":428},[],[430],{"type":18,"value":431},"VK_TRUE",{"type":18,"value":433},", the\n",{"type":13,"tag":328,"props":435,"children":437},{"href":436},"/chapters/primsrast#primsrast-multisampling-coverage-mask",[438],{"type":18,"value":439},"coverage mask",{"type":18,"value":441}," replaces the first\ncomponent of the color value corresponding to the fragment shader output\nlocation with ",{"type":13,"tag":21,"props":443,"children":445},{"className":444},[],[446],{"type":18,"value":447},"Location",{"type":18,"value":449}," equal to ",{"type":13,"tag":21,"props":451,"children":453},{"className":452},[],[454],{"type":18,"value":385},{"type":18,"value":456}," and\n",{"type":13,"tag":21,"props":458,"children":460},{"className":459},[],[461],{"type":18,"value":462},"Index",{"type":18,"value":464}," equal to zero.\nIf the color attachment format has fewer bits than the coverage mask, the\nlow bits of the sample coverage mask are taken without any clamping.\nIf the color attachment format has more bits than the coverage mask, the\nhigh bits of the sample coverage mask are filled with zeros.",{"type":13,"tag":14,"props":466,"children":467},{},[468,469,474,475,481,483,488,490,495,496,501],{"type":18,"value":419},{"type":13,"tag":21,"props":470,"children":472},{"className":471},[],[473],{"type":18,"value":374},{"type":18,"value":346},{"type":13,"tag":21,"props":476,"children":478},{"className":477},[],[479],{"type":18,"value":480},"VK_FALSE",{"type":18,"value":482},", these operations are\nskipped.\nIf this structure is not included in the ",{"type":13,"tag":21,"props":484,"children":486},{"className":485},[],[487],{"type":18,"value":344},{"type":18,"value":489}," chain, it is as if\n",{"type":13,"tag":21,"props":491,"children":493},{"className":492},[],[494],{"type":18,"value":374},{"type":18,"value":346},{"type":13,"tag":21,"props":497,"children":499},{"className":498},[],[500],{"type":18,"value":480},{"type":18,"value":502},".",{"type":13,"tag":504,"props":505,"children":507},"validity-group",{"name":506},"Valid Usage",[508],{"type":13,"tag":509,"props":510,"children":512},"validity-field",{"name":511},"VUID-VkPipelineCoverageToColorStateCreateInfoNV-coverageToColorEnable-01404",[513],{"type":13,"tag":14,"props":514,"children":515},{},[516,517,522,523,528,530,536,537,543,544,548,549,555,557,562,564,569,571,577,579,585,586,592,594,600,601,607,608,614,616],{"type":18,"value":419},{"type":13,"tag":21,"props":518,"children":520},{"className":519},[],[521],{"type":18,"value":374},{"type":18,"value":346},{"type":13,"tag":21,"props":524,"children":526},{"className":525},[],[527],{"type":18,"value":431},{"type":18,"value":529},", then the render pass\nsubpass indicated by\n",{"type":13,"tag":328,"props":531,"children":533},{"href":532},"/man/VkGraphicsPipelineCreateInfo",[534],{"type":18,"value":535},"VkGraphicsPipelineCreateInfo",{"type":18,"value":191},{"type":13,"tag":21,"props":538,"children":540},{"className":539},[],[541],{"type":18,"value":542},"renderPass",{"type":18,"value":456},{"type":13,"tag":328,"props":545,"children":546},{"href":532},[547],{"type":18,"value":535},{"type":18,"value":191},{"type":13,"tag":21,"props":550,"children":552},{"className":551},[],[553],{"type":18,"value":554},"subpass",{"type":18,"value":556}," ",{"type":13,"tag":558,"props":559,"children":561},"normative",{"type":560},"must",[],{"type":18,"value":563}," have a color\nattachment at the location selected by ",{"type":13,"tag":21,"props":565,"children":567},{"className":566},[],[568],{"type":18,"value":385},{"type":18,"value":570},",\nwith a ",{"type":13,"tag":328,"props":572,"children":574},{"href":573},"/man/VkFormat",[575],{"type":18,"value":576},"VkFormat",{"type":18,"value":578}," of ",{"type":13,"tag":21,"props":580,"children":582},{"className":581},[],[583],{"type":18,"value":584},"VK_FORMAT_R8_UINT",{"type":18,"value":201},{"type":13,"tag":21,"props":587,"children":589},{"className":588},[],[590],{"type":18,"value":591},"VK_FORMAT_R8_SINT",{"type":18,"value":593},", ",{"type":13,"tag":21,"props":595,"children":597},{"className":596},[],[598],{"type":18,"value":599},"VK_FORMAT_R16_UINT",{"type":18,"value":201},{"type":13,"tag":21,"props":602,"children":604},{"className":603},[],[605],{"type":18,"value":606},"VK_FORMAT_R16_SINT",{"type":18,"value":593},{"type":13,"tag":21,"props":609,"children":611},{"className":610},[],[612],{"type":18,"value":613},"VK_FORMAT_R32_UINT",{"type":18,"value":615},", or\n",{"type":13,"tag":21,"props":617,"children":619},{"className":618},[],[620],{"type":18,"value":621},"VK_FORMAT_R32_SINT",{"type":13,"tag":504,"props":623,"children":625},{"name":624},"Valid Usage (Implicit)",[626,650],{"type":13,"tag":509,"props":627,"children":629},{"name":628},"VUID-VkPipelineCoverageToColorStateCreateInfoNV-sType-sType",[630],{"type":13,"tag":14,"props":631,"children":632},{},[633,638,639,642,644],{"type":13,"tag":21,"props":634,"children":636},{"className":635},[],[637],{"type":18,"value":324},{"type":18,"value":556},{"type":13,"tag":558,"props":640,"children":641},{"type":560},[],{"type":18,"value":643}," be ",{"type":13,"tag":21,"props":645,"children":647},{"className":646},[],[648],{"type":18,"value":649},"VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_TO_COLOR_STATE_CREATE_INFO_NV",{"type":13,"tag":509,"props":651,"children":653},{"name":652},"VUID-VkPipelineCoverageToColorStateCreateInfoNV-flags-zerobitmask",[654],{"type":13,"tag":14,"props":655,"children":656},{},[657,662,663,666,667],{"type":13,"tag":21,"props":658,"children":660},{"className":659},[],[661],{"type":18,"value":363},{"type":18,"value":556},{"type":13,"tag":558,"props":664,"children":665},{"type":560},[],{"type":18,"value":643},{"type":13,"tag":21,"props":668,"children":670},{"className":669},[],[671],{"type":18,"value":672},"0",{"type":13,"tag":674,"props":675,"children":676},"style",{},[677],{"type":18,"value":678},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":39,"searchDepth":69,"depth":69,"links":680},[],"markdown",1729612471965]