[{"data":1,"prerenderedAt":459},["ShallowReactive",2],{"fJ2MNotGs5":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":458,"_id":4},"VkSetPresentConfigNV","Structure specifying present metering configuration","VK_NV_present_metering","structs",[],{"type":10,"children":11,"toc":456},"root",[12,27,39,51,291,355,395,422,450],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20],{"type":18,"value":19},"text","Present Metering evenly paces out the next ",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":26},"numFramesPerBatch",{"type":13,"tag":14,"props":28,"children":29},{},[30,37],{"type":13,"tag":31,"props":32,"children":34},"a",{"href":33},"/man/vkQueuePresentKHR",[35],{"type":18,"value":36},"vkQueuePresentKHR",{"type":18,"value":38}," presents.\nThis gives smoother pacing between presents in applications with frame\ngeneration integrations.",{"type":13,"tag":14,"props":40,"children":41},{},[42,44,49],{"type":18,"value":43},"The ",{"type":13,"tag":21,"props":45,"children":47},{"className":46},[],[48],{"type":18,"value":4},{"type":18,"value":50}," structure is defined as:",{"type":13,"tag":52,"props":53,"children":54},"code-group",{},[55,154],{"type":13,"tag":56,"props":57,"children":63},"pre",{"className":58,"code":59,"filename":60,"language":61,"meta":62,"style":62},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkSetPresentConfigNV {\n VkStructureType sType;\n const void* pNext;\n uint32_t numFramesPerBatch;\n uint32_t presentConfigFeedback;\n} VkSetPresentConfigNV;\n","C","c","",[64],{"type":13,"tag":21,"props":65,"children":66},{"__ignoreMap":62},[67,90,99,118,132,145],{"type":13,"tag":68,"props":69,"children":72},"span",{"class":70,"line":71},"line",1,[73,79,84],{"type":13,"tag":68,"props":74,"children":76},{"style":75},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[77],{"type":18,"value":78},"typedef",{"type":13,"tag":68,"props":80,"children":81},{"style":75},[82],{"type":18,"value":83}," struct",{"type":13,"tag":68,"props":85,"children":87},{"style":86},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[88],{"type":18,"value":89}," VkSetPresentConfigNV {\n",{"type":13,"tag":68,"props":91,"children":93},{"class":70,"line":92},2,[94],{"type":13,"tag":68,"props":95,"children":96},{"style":86},[97],{"type":18,"value":98}," VkStructureType sType;\n",{"type":13,"tag":68,"props":100,"children":102},{"class":70,"line":101},3,[103,108,113],{"type":13,"tag":68,"props":104,"children":105},{"style":75},[106],{"type":18,"value":107}," const",{"type":13,"tag":68,"props":109,"children":110},{"style":75},[111],{"type":18,"value":112}," void*",{"type":13,"tag":68,"props":114,"children":115},{"style":86},[116],{"type":18,"value":117}," pNext;\n",{"type":13,"tag":68,"props":119,"children":121},{"class":70,"line":120},4,[122,127],{"type":13,"tag":68,"props":123,"children":124},{"style":75},[125],{"type":18,"value":126}," uint32_t",{"type":13,"tag":68,"props":128,"children":129},{"style":86},[130],{"type":18,"value":131}," numFramesPerBatch;\n",{"type":13,"tag":68,"props":133,"children":135},{"class":70,"line":134},5,[136,140],{"type":13,"tag":68,"props":137,"children":138},{"style":75},[139],{"type":18,"value":126},{"type":13,"tag":68,"props":141,"children":142},{"style":86},[143],{"type":18,"value":144}," presentConfigFeedback;\n",{"type":13,"tag":68,"props":146,"children":148},{"class":70,"line":147},6,[149],{"type":13,"tag":68,"props":150,"children":151},{"style":86},[152],{"type":18,"value":153},"} VkSetPresentConfigNV;\n",{"type":13,"tag":56,"props":155,"children":160},{"className":156,"code":157,"filename":158,"language":159,"meta":62,"style":62},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct SetPresentConfigNV {\n s_type: vk::StructureType,\n p_next: *const c_void,\n num_frames_per_batch: u32,\n present_config_feedback: u32,\n}\n","Rust","rs",[161],{"type":13,"tag":21,"props":162,"children":163},{"__ignoreMap":62},[164,187,220,242,263,283],{"type":13,"tag":68,"props":165,"children":166},{"class":70,"line":71},[167,172,176,182],{"type":13,"tag":68,"props":168,"children":169},{"style":75},[170],{"type":18,"value":171},"pub",{"type":13,"tag":68,"props":173,"children":174},{"style":75},[175],{"type":18,"value":83},{"type":13,"tag":68,"props":177,"children":179},{"style":178},"--shiki-default:#953800;--shiki-dark:#FFA657",[180],{"type":18,"value":181}," SetPresentConfigNV",{"type":13,"tag":68,"props":183,"children":184},{"style":86},[185],{"type":18,"value":186}," {\n",{"type":13,"tag":68,"props":188,"children":189},{"class":70,"line":92},[190,195,200,205,210,215],{"type":13,"tag":68,"props":191,"children":192},{"style":86},[193],{"type":18,"value":194}," s_type",{"type":13,"tag":68,"props":196,"children":197},{"style":75},[198],{"type":18,"value":199},":",{"type":13,"tag":68,"props":201,"children":202},{"style":178},[203],{"type":18,"value":204}," vk",{"type":13,"tag":68,"props":206,"children":207},{"style":75},[208],{"type":18,"value":209},"::",{"type":13,"tag":68,"props":211,"children":212},{"style":178},[213],{"type":18,"value":214},"StructureType",{"type":13,"tag":68,"props":216,"children":217},{"style":86},[218],{"type":18,"value":219},",\n",{"type":13,"tag":68,"props":221,"children":222},{"class":70,"line":101},[223,228,232,237],{"type":13,"tag":68,"props":224,"children":225},{"style":86},[226],{"type":18,"value":227}," p_next",{"type":13,"tag":68,"props":229,"children":230},{"style":75},[231],{"type":18,"value":199},{"type":13,"tag":68,"props":233,"children":234},{"style":75},[235],{"type":18,"value":236}," *const",{"type":13,"tag":68,"props":238,"children":239},{"style":86},[240],{"type":18,"value":241}," c_void,\n",{"type":13,"tag":68,"props":243,"children":244},{"class":70,"line":120},[245,250,254,259],{"type":13,"tag":68,"props":246,"children":247},{"style":86},[248],{"type":18,"value":249}," num_frames_per_batch",{"type":13,"tag":68,"props":251,"children":252},{"style":75},[253],{"type":18,"value":199},{"type":13,"tag":68,"props":255,"children":256},{"style":178},[257],{"type":18,"value":258}," u32",{"type":13,"tag":68,"props":260,"children":261},{"style":86},[262],{"type":18,"value":219},{"type":13,"tag":68,"props":264,"children":265},{"class":70,"line":134},[266,271,275,279],{"type":13,"tag":68,"props":267,"children":268},{"style":86},[269],{"type":18,"value":270}," present_config_feedback",{"type":13,"tag":68,"props":272,"children":273},{"style":75},[274],{"type":18,"value":199},{"type":13,"tag":68,"props":276,"children":277},{"style":178},[278],{"type":18,"value":258},{"type":13,"tag":68,"props":280,"children":281},{"style":86},[282],{"type":18,"value":219},{"type":13,"tag":68,"props":284,"children":285},{"class":70,"line":147},[286],{"type":13,"tag":68,"props":287,"children":288},{"style":86},[289],{"type":18,"value":290},"}\n",{"type":13,"tag":292,"props":293,"children":294},"ul",{},[295,315,334,344],{"type":13,"tag":296,"props":297,"children":298},"li",{},[299,305,307,313],{"type":13,"tag":21,"props":300,"children":302},{"className":301},[],[303],{"type":18,"value":304},"sType",{"type":18,"value":306}," is a ",{"type":13,"tag":31,"props":308,"children":310},{"href":309},"/man/VkStructureType",[311],{"type":18,"value":312},"VkStructureType",{"type":18,"value":314}," value identifying this structure.",{"type":13,"tag":296,"props":316,"children":317},{},[318,324,326,332],{"type":13,"tag":21,"props":319,"children":321},{"className":320},[],[322],{"type":18,"value":323},"pNext",{"type":18,"value":325}," is ",{"type":13,"tag":21,"props":327,"children":329},{"className":328},[],[330],{"type":18,"value":331},"NULL",{"type":18,"value":333}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":296,"props":335,"children":336},{},[337,342],{"type":13,"tag":21,"props":338,"children":340},{"className":339},[],[341],{"type":18,"value":26},{"type":18,"value":343}," is the number of frames to batch",{"type":13,"tag":296,"props":345,"children":346},{},[347,353],{"type":13,"tag":21,"props":348,"children":350},{"className":349},[],[351],{"type":18,"value":352},"presentConfigFeedback",{"type":18,"value":354}," will return the success or error status",{"type":13,"tag":14,"props":356,"children":357},{},[358,360,366,368,373,375,380,382,386,388,393],{"type":18,"value":359},"The metering configuration applies to all swapchains in the array in\n",{"type":13,"tag":31,"props":361,"children":363},{"href":362},"/man/VkPresentInfoKHR",[364],{"type":18,"value":365},"VkPresentInfoKHR",{"type":18,"value":367},".\nThe configuration specified by ",{"type":13,"tag":21,"props":369,"children":371},{"className":370},[],[372],{"type":18,"value":4},{"type":18,"value":374}," applies to the\nnext ",{"type":13,"tag":21,"props":376,"children":378},{"className":377},[],[379],{"type":18,"value":26},{"type":18,"value":381}," calls to ",{"type":13,"tag":31,"props":383,"children":384},{"href":33},[385],{"type":18,"value":36},{"type":18,"value":387}," and needs to\nbe updated every ",{"type":13,"tag":21,"props":389,"children":391},{"className":390},[],[392],{"type":18,"value":26},{"type":18,"value":394}," presents.",{"type":13,"tag":396,"props":397,"children":399},"validity-group",{"name":398},"Valid Usage",[400],{"type":13,"tag":401,"props":402,"children":404},"validity-field",{"name":403},"VUID-VkSetPresentConfigNV-numFramesPerBatch-10581",[405],{"type":13,"tag":14,"props":406,"children":407},{},[408,413,415,420],{"type":13,"tag":21,"props":409,"children":411},{"className":410},[],[412],{"type":18,"value":26},{"type":18,"value":414}," ",{"type":13,"tag":416,"props":417,"children":419},"normative",{"type":418},"must",[],{"type":18,"value":421}," not be larger than 8",{"type":13,"tag":396,"props":423,"children":425},{"name":424},"Valid Usage (Implicit)",[426],{"type":13,"tag":401,"props":427,"children":429},{"name":428},"VUID-VkSetPresentConfigNV-sType-sType",[430],{"type":13,"tag":14,"props":431,"children":432},{},[433,438,439,442,444],{"type":13,"tag":21,"props":434,"children":436},{"className":435},[],[437],{"type":18,"value":304},{"type":18,"value":414},{"type":13,"tag":416,"props":440,"children":441},{"type":418},[],{"type":18,"value":443}," be ",{"type":13,"tag":21,"props":445,"children":447},{"className":446},[],[448],{"type":18,"value":449},"VK_STRUCTURE_TYPE_SET_PRESENT_CONFIG_NV",{"type":13,"tag":451,"props":452,"children":453},"style",{},[454],{"type":18,"value":455},"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":62,"searchDepth":92,"depth":92,"links":457},[],"markdown",1744876572490]