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