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