[{"data":1,"prerenderedAt":564},["ShallowReactive",2],{"$fjvNtaCRfN0w98qFHMrYzzYOaw6Bo5b3vZ6SDje4mVqo":3},{"title":4,"description":5,"parent":6,"structextends":7,"type":10,"xrefs":11,"body":12,"_type":563,"_id":4},"VkPhysicalDeviceSwapchainMaintenance1FeaturesKHR","Structure describing whether implementation supports swapchain maintenance1 functionality","VK_KHR_swapchain_maintenance1",[8,9],"VkPhysicalDeviceFeatures2","VkDeviceCreateInfo","structs",[],{"type":13,"children":14,"toc":561},"root",[15,31,236,301,306,442,525,555],{"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\ndefined 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 VkPhysicalDeviceSwapchainMaintenance1FeaturesKHR {\n VkStructureType sType;\n void* pNext;\n VkBool32 swapchainMaintenance1;\n} VkPhysicalDeviceSwapchainMaintenance1FeaturesKHR;\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}," VkPhysicalDeviceSwapchainMaintenance1FeaturesKHR {\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 swapchainMaintenance1;\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},"} VkPhysicalDeviceSwapchainMaintenance1FeaturesKHR;\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 PhysicalDeviceSwapchainMaintenance1FeaturesKHR {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n swapchain_maintenance1: vk::Bool32,\n}\n","Rust","rs",[118],{"type":16,"tag":24,"props":119,"children":120},{"__ignoreMap":42},[121,144,177,199,228],{"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}," PhysicalDeviceSwapchainMaintenance1FeaturesKHR",{"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],{"type":16,"tag":48,"props":203,"children":204},{"style":66},[205],{"type":21,"value":206}," swapchain_maintenance1",{"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":176},{"type":16,"tag":48,"props":229,"children":230},{"class":50,"line":104},[231],{"type":16,"tag":48,"props":232,"children":233},{"style":66},[234],{"type":21,"value":235},"}\n",{"type":16,"tag":32,"props":237,"children":238},{},[239,258],{"type":16,"tag":36,"props":240,"children":242},{"className":38,"code":241,"filename":40,"language":41,"meta":42,"style":42},"typedef VkPhysicalDeviceSwapchainMaintenance1FeaturesKHR VkPhysicalDeviceSwapchainMaintenance1FeaturesEXT;\n",[243],{"type":16,"tag":24,"props":244,"children":245},{"__ignoreMap":42},[246],{"type":16,"tag":48,"props":247,"children":248},{"class":50,"line":51},[249,253],{"type":16,"tag":48,"props":250,"children":251},{"style":55},[252],{"type":21,"value":58},{"type":16,"tag":48,"props":254,"children":255},{"style":66},[256],{"type":21,"value":257}," VkPhysicalDeviceSwapchainMaintenance1FeaturesKHR VkPhysicalDeviceSwapchainMaintenance1FeaturesEXT;\n",{"type":16,"tag":36,"props":259,"children":261},{"className":113,"code":260,"filename":115,"language":116,"meta":42,"style":42},"type PhysicalDeviceSwapchainMaintenance1FeaturesEXT = vk::PhysicalDeviceSwapchainMaintenance1FeaturesKHR;\n",[262],{"type":16,"tag":24,"props":263,"children":264},{"__ignoreMap":42},[265],{"type":16,"tag":48,"props":266,"children":267},{"class":50,"line":51},[268,273,278,283,287,291,296],{"type":16,"tag":48,"props":269,"children":270},{"style":55},[271],{"type":21,"value":272},"type",{"type":16,"tag":48,"props":274,"children":275},{"style":135},[276],{"type":21,"value":277}," PhysicalDeviceSwapchainMaintenance1FeaturesEXT",{"type":16,"tag":48,"props":279,"children":280},{"style":55},[281],{"type":21,"value":282}," =",{"type":16,"tag":48,"props":284,"children":285},{"style":135},[286],{"type":21,"value":161},{"type":16,"tag":48,"props":288,"children":289},{"style":55},[290],{"type":21,"value":166},{"type":16,"tag":48,"props":292,"children":293},{"style":135},[294],{"type":21,"value":295},"PhysicalDeviceSwapchainMaintenance1FeaturesKHR",{"type":16,"tag":48,"props":297,"children":298},{"style":66},[299],{"type":21,"value":300},";\n",{"type":16,"tag":17,"props":302,"children":303},{},[304],{"type":21,"value":305},"This structure describes the following feature:",{"type":16,"tag":307,"props":308,"children":309},"ul",{},[310,331,350],{"type":16,"tag":311,"props":312,"children":313},"li",{},[314,320,322,329],{"type":16,"tag":24,"props":315,"children":317},{"className":316},[],[318],{"type":21,"value":319},"sType",{"type":21,"value":321}," is a ",{"type":16,"tag":323,"props":324,"children":326},"a",{"href":325},"/man/VkStructureType",[327],{"type":21,"value":328},"VkStructureType",{"type":21,"value":330}," value identifying this structure.",{"type":16,"tag":311,"props":332,"children":333},{},[334,340,342,348],{"type":16,"tag":24,"props":335,"children":337},{"className":336},[],[338],{"type":21,"value":339},"pNext",{"type":21,"value":341}," is ",{"type":16,"tag":24,"props":343,"children":345},{"className":344},[],[346],{"type":21,"value":347},"NULL",{"type":21,"value":349}," or a pointer to a structure extending this\nstructure.",{"type":16,"tag":311,"props":351,"children":352},{},[353,358,360,366,368],{"type":16,"tag":354,"props":355,"children":357},"anchor",{"id":356},"features-swapchainMaintenance1",[],{"type":21,"value":359}," ",{"type":16,"tag":24,"props":361,"children":363},{"className":362},[],[364],{"type":21,"value":365},"swapchainMaintenance1",{"type":21,"value":367}," indicates\nthat the implementation supports the following:",{"type":16,"tag":307,"props":369,"children":370},{},[371,389,408,419,431],{"type":16,"tag":311,"props":372,"children":373},{},[374,380,382,387],{"type":16,"tag":323,"props":375,"children":377},{"href":376},"/man/VkSwapchainPresentFenceInfoKHR",[378],{"type":21,"value":379},"VkSwapchainPresentFenceInfoKHR",{"type":21,"value":381},", specifying a fence that is\nsignaled when the resources associated with a present operation ",{"type":16,"tag":383,"props":384,"children":386},"normative",{"type":385},"can",[],{"type":21,"value":388}," be\nsafely destroyed.",{"type":16,"tag":311,"props":390,"children":391},{},[392,398,400,406],{"type":16,"tag":323,"props":393,"children":395},{"href":394},"/man/VkSwapchainPresentModesCreateInfoKHR",[396],{"type":21,"value":397},"VkSwapchainPresentModesCreateInfoKHR",{"type":21,"value":399}," and\n",{"type":16,"tag":323,"props":401,"children":403},{"href":402},"/man/VkSwapchainPresentModeInfoKHR",[404],{"type":21,"value":405},"VkSwapchainPresentModeInfoKHR",{"type":21,"value":407},", allowing the swapchain to switch\npresent modes without a need for recreation.",{"type":16,"tag":311,"props":409,"children":410},{},[411,417],{"type":16,"tag":323,"props":412,"children":414},{"href":413},"/man/VkSwapchainPresentScalingCreateInfoKHR",[415],{"type":21,"value":416},"VkSwapchainPresentScalingCreateInfoKHR",{"type":21,"value":418},", specifying the scaling\nbehavior of the swapchain in presence of window resizing.",{"type":16,"tag":311,"props":420,"children":421},{},[422,423,429],{"type":21,"value":22},{"type":16,"tag":24,"props":424,"children":426},{"className":425},[],[427],{"type":21,"value":428},"VK_SWAPCHAIN_CREATE_DEFERRED_MEMORY_ALLOCATION_BIT_KHR",{"type":21,"value":430}," flag,\nallowing the implementation to defer the allocation of swapchain image\nmemory until first acquisition.",{"type":16,"tag":311,"props":432,"children":433},{},[434,440],{"type":16,"tag":323,"props":435,"children":437},{"href":436},"/man/vkReleaseSwapchainImagesKHR",[438],{"type":21,"value":439},"vkReleaseSwapchainImagesKHR",{"type":21,"value":441},", allowing acquired swapchain images\nto be released without presenting them.",{"type":16,"tag":17,"props":443,"children":444},{},[445,447,452,454,459,461,466,468,474,476,482,484,489,491,495,497,503,505,510,512,517,519,523],{"type":21,"value":446},"If the ",{"type":16,"tag":24,"props":448,"children":450},{"className":449},[],[451],{"type":21,"value":4},{"type":21,"value":453}," structure is included in the ",{"type":16,"tag":24,"props":455,"children":457},{"className":456},[],[458],{"type":21,"value":339},{"type":21,"value":460}," chain of the\n",{"type":16,"tag":323,"props":462,"children":464},{"href":463},"/man/VkPhysicalDeviceFeatures2",[465],{"type":21,"value":8},{"type":21,"value":467}," structure passed to\n",{"type":16,"tag":323,"props":469,"children":471},{"href":470},"/man/vkGetPhysicalDeviceFeatures2",[472],{"type":21,"value":473},"vkGetPhysicalDeviceFeatures2",{"type":21,"value":475},", it is filled in to indicate whether each\ncorresponding feature is supported.\nIf the application wishes to use a ",{"type":16,"tag":323,"props":477,"children":479},{"href":478},"/man/VkDevice",[480],{"type":21,"value":481},"VkDevice",{"type":21,"value":483}," with any features\ndescribed by ",{"type":16,"tag":24,"props":485,"children":487},{"className":486},[],[488],{"type":21,"value":4},{"type":21,"value":490},", it ",{"type":16,"tag":383,"props":492,"children":494},{"type":493},"must",[],{"type":21,"value":496}," add an instance of the structure,\nwith the desired feature members set to ",{"type":16,"tag":24,"props":498,"children":500},{"className":499},[],[501],{"type":21,"value":502},"VK_TRUE",{"type":21,"value":504},", to the ",{"type":16,"tag":24,"props":506,"children":508},{"className":507},[],[509],{"type":21,"value":339},{"type":21,"value":511},"\nchain of ",{"type":16,"tag":323,"props":513,"children":515},{"href":514},"/man/VkDeviceCreateInfo",[516],{"type":21,"value":9},{"type":21,"value":518}," when creating the ",{"type":16,"tag":323,"props":520,"children":521},{"href":478},[522],{"type":21,"value":481},{"type":21,"value":524},".",{"type":16,"tag":526,"props":527,"children":529},"validity-group",{"name":528},"Valid Usage (Implicit)",[530],{"type":16,"tag":531,"props":532,"children":534},"validity-field",{"name":533},"VUID-VkPhysicalDeviceSwapchainMaintenance1FeaturesKHR-sType-sType",[535],{"type":16,"tag":17,"props":536,"children":537},{},[538,543,544,547,549],{"type":16,"tag":24,"props":539,"children":541},{"className":540},[],[542],{"type":21,"value":319},{"type":21,"value":359},{"type":16,"tag":383,"props":545,"children":546},{"type":493},[],{"type":21,"value":548}," be ",{"type":16,"tag":24,"props":550,"children":552},{"className":551},[],[553],{"type":21,"value":554},"VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SWAPCHAIN_MAINTENANCE_1_FEATURES_KHR",{"type":16,"tag":556,"props":557,"children":558},"style",{},[559],{"type":21,"value":560},"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":562},[],"markdown",1773054768665]