[{"data":1,"prerenderedAt":711},["ShallowReactive",2],{"xdNJKd5MLI":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":710,"_id":4},"VkPipelineViewportCoarseSampleOrderStateCreateInfoNV","Structure specifying parameters controlling sample order in coarse fragments","VK_NV_shading_rate_image","structs",[],{"type":10,"children":11,"toc":708},"root",[12,45,57,358,448,468,500,520,603,702],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27,29,36,38,43],{"type":18,"value":19},"text","If the ",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":26},"pNext",{"type":18,"value":28}," chain of ",{"type":13,"tag":30,"props":31,"children":33},"a",{"href":32},"/man/VkPipelineViewportStateCreateInfo",[34],{"type":18,"value":35},"VkPipelineViewportStateCreateInfo",{"type":18,"value":37}," includes\na ",{"type":13,"tag":21,"props":39,"children":41},{"className":40},[],[42],{"type":18,"value":4},{"type":18,"value":44}," structure, then\nthat structure includes parameters controlling the order of coverage samples\nin fragments larger than one pixel.",{"type":13,"tag":14,"props":46,"children":47},{},[48,50,55],{"type":18,"value":49},"The ",{"type":13,"tag":21,"props":51,"children":53},{"className":52},[],[54],{"type":18,"value":4},{"type":18,"value":56}," structure is\ndefined as:",{"type":13,"tag":58,"props":59,"children":60},"code-group",{},[61,179],{"type":13,"tag":62,"props":63,"children":69},"pre",{"className":64,"code":65,"filename":66,"language":67,"meta":68,"style":68},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkPipelineViewportCoarseSampleOrderStateCreateInfoNV {\n VkStructureType sType;\n const void* pNext;\n VkCoarseSampleOrderTypeNV sampleOrderType;\n uint32_t customSampleOrderCount;\n const VkCoarseSampleOrderCustomNV* pCustomSampleOrders;\n} VkPipelineViewportCoarseSampleOrderStateCreateInfoNV;\n","C","c","",[70],{"type":13,"tag":21,"props":71,"children":72},{"__ignoreMap":68},[73,96,105,124,133,147,170],{"type":13,"tag":74,"props":75,"children":78},"span",{"class":76,"line":77},"line",1,[79,85,90],{"type":13,"tag":74,"props":80,"children":82},{"style":81},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[83],{"type":18,"value":84},"typedef",{"type":13,"tag":74,"props":86,"children":87},{"style":81},[88],{"type":18,"value":89}," struct",{"type":13,"tag":74,"props":91,"children":93},{"style":92},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[94],{"type":18,"value":95}," VkPipelineViewportCoarseSampleOrderStateCreateInfoNV {\n",{"type":13,"tag":74,"props":97,"children":99},{"class":76,"line":98},2,[100],{"type":13,"tag":74,"props":101,"children":102},{"style":92},[103],{"type":18,"value":104}," VkStructureType sType;\n",{"type":13,"tag":74,"props":106,"children":108},{"class":76,"line":107},3,[109,114,119],{"type":13,"tag":74,"props":110,"children":111},{"style":81},[112],{"type":18,"value":113}," const",{"type":13,"tag":74,"props":115,"children":116},{"style":81},[117],{"type":18,"value":118}," void*",{"type":13,"tag":74,"props":120,"children":121},{"style":92},[122],{"type":18,"value":123}," pNext;\n",{"type":13,"tag":74,"props":125,"children":127},{"class":76,"line":126},4,[128],{"type":13,"tag":74,"props":129,"children":130},{"style":92},[131],{"type":18,"value":132}," VkCoarseSampleOrderTypeNV sampleOrderType;\n",{"type":13,"tag":74,"props":134,"children":136},{"class":76,"line":135},5,[137,142],{"type":13,"tag":74,"props":138,"children":139},{"style":81},[140],{"type":18,"value":141}," uint32_t",{"type":13,"tag":74,"props":143,"children":144},{"style":92},[145],{"type":18,"value":146}," customSampleOrderCount;\n",{"type":13,"tag":74,"props":148,"children":150},{"class":76,"line":149},6,[151,155,160,165],{"type":13,"tag":74,"props":152,"children":153},{"style":81},[154],{"type":18,"value":113},{"type":13,"tag":74,"props":156,"children":157},{"style":92},[158],{"type":18,"value":159}," VkCoarseSampleOrderCustomNV",{"type":13,"tag":74,"props":161,"children":162},{"style":81},[163],{"type":18,"value":164},"*",{"type":13,"tag":74,"props":166,"children":167},{"style":92},[168],{"type":18,"value":169}," pCustomSampleOrders;\n",{"type":13,"tag":74,"props":171,"children":173},{"class":76,"line":172},7,[174],{"type":13,"tag":74,"props":175,"children":176},{"style":92},[177],{"type":18,"value":178},"} VkPipelineViewportCoarseSampleOrderStateCreateInfoNV;\n",{"type":13,"tag":62,"props":180,"children":185},{"className":181,"code":182,"filename":183,"language":184,"meta":68,"style":68},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PipelineViewportCoarseSampleOrderStateCreateInfoNV {\n s_type: vk::StructureType,\n p_next: *const c_void,\n sample_order_type: vk::CoarseSampleOrderTypeNV,\n custom_sample_order_count: u32,\n p_custom_sample_orders: *const vk::CoarseSampleOrderCustomNV,\n}\n","Rust","rs",[186],{"type":13,"tag":21,"props":187,"children":188},{"__ignoreMap":68},[189,212,245,267,296,317,350],{"type":13,"tag":74,"props":190,"children":191},{"class":76,"line":77},[192,197,201,207],{"type":13,"tag":74,"props":193,"children":194},{"style":81},[195],{"type":18,"value":196},"pub",{"type":13,"tag":74,"props":198,"children":199},{"style":81},[200],{"type":18,"value":89},{"type":13,"tag":74,"props":202,"children":204},{"style":203},"--shiki-default:#953800;--shiki-dark:#FFA657",[205],{"type":18,"value":206}," PipelineViewportCoarseSampleOrderStateCreateInfoNV",{"type":13,"tag":74,"props":208,"children":209},{"style":92},[210],{"type":18,"value":211}," {\n",{"type":13,"tag":74,"props":213,"children":214},{"class":76,"line":98},[215,220,225,230,235,240],{"type":13,"tag":74,"props":216,"children":217},{"style":92},[218],{"type":18,"value":219}," s_type",{"type":13,"tag":74,"props":221,"children":222},{"style":81},[223],{"type":18,"value":224},":",{"type":13,"tag":74,"props":226,"children":227},{"style":203},[228],{"type":18,"value":229}," vk",{"type":13,"tag":74,"props":231,"children":232},{"style":81},[233],{"type":18,"value":234},"::",{"type":13,"tag":74,"props":236,"children":237},{"style":203},[238],{"type":18,"value":239},"StructureType",{"type":13,"tag":74,"props":241,"children":242},{"style":92},[243],{"type":18,"value":244},",\n",{"type":13,"tag":74,"props":246,"children":247},{"class":76,"line":107},[248,253,257,262],{"type":13,"tag":74,"props":249,"children":250},{"style":92},[251],{"type":18,"value":252}," p_next",{"type":13,"tag":74,"props":254,"children":255},{"style":81},[256],{"type":18,"value":224},{"type":13,"tag":74,"props":258,"children":259},{"style":81},[260],{"type":18,"value":261}," *const",{"type":13,"tag":74,"props":263,"children":264},{"style":92},[265],{"type":18,"value":266}," c_void,\n",{"type":13,"tag":74,"props":268,"children":269},{"class":76,"line":126},[270,275,279,283,287,292],{"type":13,"tag":74,"props":271,"children":272},{"style":92},[273],{"type":18,"value":274}," sample_order_type",{"type":13,"tag":74,"props":276,"children":277},{"style":81},[278],{"type":18,"value":224},{"type":13,"tag":74,"props":280,"children":281},{"style":203},[282],{"type":18,"value":229},{"type":13,"tag":74,"props":284,"children":285},{"style":81},[286],{"type":18,"value":234},{"type":13,"tag":74,"props":288,"children":289},{"style":203},[290],{"type":18,"value":291},"CoarseSampleOrderTypeNV",{"type":13,"tag":74,"props":293,"children":294},{"style":92},[295],{"type":18,"value":244},{"type":13,"tag":74,"props":297,"children":298},{"class":76,"line":135},[299,304,308,313],{"type":13,"tag":74,"props":300,"children":301},{"style":92},[302],{"type":18,"value":303}," custom_sample_order_count",{"type":13,"tag":74,"props":305,"children":306},{"style":81},[307],{"type":18,"value":224},{"type":13,"tag":74,"props":309,"children":310},{"style":203},[311],{"type":18,"value":312}," u32",{"type":13,"tag":74,"props":314,"children":315},{"style":92},[316],{"type":18,"value":244},{"type":13,"tag":74,"props":318,"children":319},{"class":76,"line":149},[320,325,329,333,337,341,346],{"type":13,"tag":74,"props":321,"children":322},{"style":92},[323],{"type":18,"value":324}," p_custom_sample_orders",{"type":13,"tag":74,"props":326,"children":327},{"style":81},[328],{"type":18,"value":224},{"type":13,"tag":74,"props":330,"children":331},{"style":81},[332],{"type":18,"value":261},{"type":13,"tag":74,"props":334,"children":335},{"style":203},[336],{"type":18,"value":229},{"type":13,"tag":74,"props":338,"children":339},{"style":81},[340],{"type":18,"value":234},{"type":13,"tag":74,"props":342,"children":343},{"style":203},[344],{"type":18,"value":345},"CoarseSampleOrderCustomNV",{"type":13,"tag":74,"props":347,"children":348},{"style":92},[349],{"type":18,"value":244},{"type":13,"tag":74,"props":351,"children":352},{"class":76,"line":172},[353],{"type":13,"tag":74,"props":354,"children":355},{"style":92},[356],{"type":18,"value":357},"}\n",{"type":13,"tag":359,"props":360,"children":361},"ul",{},[362,382,400,411,422],{"type":13,"tag":363,"props":364,"children":365},"li",{},[366,372,374,380],{"type":13,"tag":21,"props":367,"children":369},{"className":368},[],[370],{"type":18,"value":371},"sType",{"type":18,"value":373}," is a ",{"type":13,"tag":30,"props":375,"children":377},{"href":376},"/man/VkStructureType",[378],{"type":18,"value":379},"VkStructureType",{"type":18,"value":381}," value identifying this structure.",{"type":13,"tag":363,"props":383,"children":384},{},[385,390,392,398],{"type":13,"tag":21,"props":386,"children":388},{"className":387},[],[389],{"type":18,"value":26},{"type":18,"value":391}," is ",{"type":13,"tag":21,"props":393,"children":395},{"className":394},[],[396],{"type":18,"value":397},"NULL",{"type":18,"value":399}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":363,"props":401,"children":402},{},[403,409],{"type":13,"tag":21,"props":404,"children":406},{"className":405},[],[407],{"type":18,"value":408},"sampleOrderType",{"type":18,"value":410}," specifies the mechanism used to order coverage\nsamples in fragments larger than one pixel.",{"type":13,"tag":363,"props":412,"children":413},{},[414,420],{"type":13,"tag":21,"props":415,"children":417},{"className":416},[],[418],{"type":18,"value":419},"customSampleOrderCount",{"type":18,"value":421}," specifies the number of custom sample\norderings to use when ordering coverage samples.",{"type":13,"tag":363,"props":423,"children":424},{},[425,431,433,438,440,446],{"type":13,"tag":21,"props":426,"children":428},{"className":427},[],[429],{"type":18,"value":430},"pCustomSampleOrders",{"type":18,"value":432}," is a pointer to an array of\n",{"type":13,"tag":21,"props":434,"children":436},{"className":435},[],[437],{"type":18,"value":419},{"type":18,"value":439}," ",{"type":13,"tag":30,"props":441,"children":443},{"href":442},"/man/VkCoarseSampleOrderCustomNV",[444],{"type":18,"value":445},"VkCoarseSampleOrderCustomNV",{"type":18,"value":447},"\nstructures, each structure specifying the coverage sample order for a\nsingle combination of fragment area and coverage sample count.",{"type":13,"tag":14,"props":449,"children":450},{},[451,453,458,460,466],{"type":18,"value":452},"If this structure is not present, ",{"type":13,"tag":21,"props":454,"children":456},{"className":455},[],[457],{"type":18,"value":408},{"type":18,"value":459}," is considered to be\n",{"type":13,"tag":21,"props":461,"children":463},{"className":462},[],[464],{"type":18,"value":465},"VK_COARSE_SAMPLE_ORDER_TYPE_DEFAULT_NV",{"type":18,"value":467},".",{"type":13,"tag":14,"props":469,"children":470},{},[471,473,478,479,485,487,492,494,499],{"type":18,"value":472},"If ",{"type":13,"tag":21,"props":474,"children":476},{"className":475},[],[477],{"type":18,"value":408},{"type":18,"value":391},{"type":13,"tag":21,"props":480,"children":482},{"className":481},[],[483],{"type":18,"value":484},"VK_COARSE_SAMPLE_ORDER_TYPE_CUSTOM_NV",{"type":18,"value":486},", the\ncoverage sample order used for any combination of fragment area and coverage\nsample count not enumerated in ",{"type":13,"tag":21,"props":488,"children":490},{"className":489},[],[491],{"type":18,"value":430},{"type":18,"value":493}," will be identical\nto that used for ",{"type":13,"tag":21,"props":495,"children":497},{"className":496},[],[498],{"type":18,"value":465},{"type":18,"value":467},{"type":13,"tag":14,"props":501,"children":502},{},[503,505,511,513,519],{"type":18,"value":504},"If the pipeline was created with\n",{"type":13,"tag":21,"props":506,"children":508},{"className":507},[],[509],{"type":18,"value":510},"VK_DYNAMIC_STATE_VIEWPORT_COARSE_SAMPLE_ORDER_NV",{"type":18,"value":512},", the contents of this\nstructure (if present) are ignored, and the coverage sample order is instead\nspecified by ",{"type":13,"tag":30,"props":514,"children":516},{"href":515},"/man/vkCmdSetCoarseSampleOrderNV",[517],{"type":18,"value":518},"vkCmdSetCoarseSampleOrderNV",{"type":18,"value":467},{"type":13,"tag":521,"props":522,"children":524},"validity-group",{"name":523},"Valid Usage",[525,567],{"type":13,"tag":526,"props":527,"children":529},"validity-field",{"name":528},"VUID-VkPipelineViewportCoarseSampleOrderStateCreateInfoNV-sampleOrderType-02072",[530],{"type":13,"tag":14,"props":531,"children":532},{},[533,534,539,541,546,547,553,554,559,561],{"type":18,"value":472},{"type":13,"tag":21,"props":535,"children":537},{"className":536},[],[538],{"type":18,"value":408},{"type":18,"value":540}," is not\n",{"type":13,"tag":21,"props":542,"children":544},{"className":543},[],[545],{"type":18,"value":484},{"type":18,"value":244},{"type":13,"tag":21,"props":548,"children":550},{"className":549},[],[551],{"type":18,"value":552},"customSamplerOrderCount",{"type":18,"value":439},{"type":13,"tag":555,"props":556,"children":558},"normative",{"type":557},"must",[],{"type":18,"value":560}," be ",{"type":13,"tag":21,"props":562,"children":564},{"className":563},[],[565],{"type":18,"value":566},"0",{"type":13,"tag":526,"props":568,"children":570},{"name":569},"VUID-VkPipelineViewportCoarseSampleOrderStateCreateInfoNV-pCustomSampleOrders-02234",[571],{"type":13,"tag":14,"props":572,"children":573},{},[574,576,581,582,585,587,593,595,601],{"type":18,"value":575},"The array ",{"type":13,"tag":21,"props":577,"children":579},{"className":578},[],[580],{"type":18,"value":430},{"type":18,"value":439},{"type":13,"tag":555,"props":583,"children":584},{"type":557},[],{"type":18,"value":586}," not contain two structures\nwith matching values for both the ",{"type":13,"tag":21,"props":588,"children":590},{"className":589},[],[591],{"type":18,"value":592},"shadingRate",{"type":18,"value":594}," and\n",{"type":13,"tag":21,"props":596,"children":598},{"className":597},[],[599],{"type":18,"value":600},"sampleCount",{"type":18,"value":602}," members",{"type":13,"tag":521,"props":604,"children":606},{"name":605},"Valid Usage (Implicit)",[607,630,656],{"type":13,"tag":526,"props":608,"children":610},{"name":609},"VUID-VkPipelineViewportCoarseSampleOrderStateCreateInfoNV-sType-sType",[611],{"type":13,"tag":14,"props":612,"children":613},{},[614,619,620,623,624],{"type":13,"tag":21,"props":615,"children":617},{"className":616},[],[618],{"type":18,"value":371},{"type":18,"value":439},{"type":13,"tag":555,"props":621,"children":622},{"type":557},[],{"type":18,"value":560},{"type":13,"tag":21,"props":625,"children":627},{"className":626},[],[628],{"type":18,"value":629},"VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_COARSE_SAMPLE_ORDER_STATE_CREATE_INFO_NV",{"type":13,"tag":526,"props":631,"children":633},{"name":632},"VUID-VkPipelineViewportCoarseSampleOrderStateCreateInfoNV-sampleOrderType-parameter",[634],{"type":13,"tag":14,"props":635,"children":636},{},[637,642,643,646,648,654],{"type":13,"tag":21,"props":638,"children":640},{"className":639},[],[641],{"type":18,"value":408},{"type":18,"value":439},{"type":13,"tag":555,"props":644,"children":645},{"type":557},[],{"type":18,"value":647}," be a valid ",{"type":13,"tag":30,"props":649,"children":651},{"href":650},"/man/VkCoarseSampleOrderTypeNV",[652],{"type":18,"value":653},"VkCoarseSampleOrderTypeNV",{"type":18,"value":655}," value",{"type":13,"tag":526,"props":657,"children":659},{"name":658},"VUID-VkPipelineViewportCoarseSampleOrderStateCreateInfoNV-pCustomSampleOrders-parameter",[660],{"type":13,"tag":14,"props":661,"children":662},{},[663,664,669,671,676,678,683,684,687,689,694,696,700],{"type":18,"value":472},{"type":13,"tag":21,"props":665,"children":667},{"className":666},[],[668],{"type":18,"value":419},{"type":18,"value":670}," is not ",{"type":13,"tag":21,"props":672,"children":674},{"className":673},[],[675],{"type":18,"value":566},{"type":18,"value":677},", ",{"type":13,"tag":21,"props":679,"children":681},{"className":680},[],[682],{"type":18,"value":430},{"type":18,"value":439},{"type":13,"tag":555,"props":685,"children":686},{"type":557},[],{"type":18,"value":688}," be a valid pointer to an array of ",{"type":13,"tag":21,"props":690,"children":692},{"className":691},[],[693],{"type":18,"value":419},{"type":18,"value":695}," valid ",{"type":13,"tag":30,"props":697,"children":698},{"href":442},[699],{"type":18,"value":445},{"type":18,"value":701}," structures",{"type":13,"tag":703,"props":704,"children":705},"style",{},[706],{"type":18,"value":707},"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":68,"searchDepth":98,"depth":98,"links":709},[],"markdown",1729612474348]