[{"data":1,"prerenderedAt":565},["ShallowReactive",2],{"7Ic6wJ4HTB":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":564,"_id":4},"vkGetDeviceGroupSurfacePresentModesKHR","Query present capabilities for a surface","VK_KHR_swapchain, VK_KHR_device_group","protos",[],{"type":10,"children":11,"toc":562},"root",[12,27,32,312,357,381,421,532,556],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,25],{"type":18,"value":19},"text","Some surfaces ",{"type":13,"tag":21,"props":22,"children":24},"normative",{"type":23},"may",[],{"type":18,"value":26}," not be capable of using all the device group present\nmodes.",{"type":13,"tag":14,"props":28,"children":29},{},[30],{"type":18,"value":31},"To query the supported device group present modes for a particular surface,\ncall:",{"type":13,"tag":33,"props":34,"children":35},"code-group",{},[36,134],{"type":13,"tag":37,"props":38,"children":44},"pre",{"className":39,"code":40,"filename":41,"language":42,"meta":43,"style":43},"language-c shiki shiki-themes github-light-default github-dark-default","VkResult vkGetDeviceGroupSurfacePresentModesKHR(\n VkDevice device,\n VkSurfaceKHR surface,\n VkDeviceGroupPresentModeFlagsKHR* pModes);\n","C","c","",[45],{"type":13,"tag":46,"props":47,"children":48},"code",{"__ignoreMap":43},[49,71,91,109],{"type":13,"tag":50,"props":51,"children":54},"span",{"class":52,"line":53},"line",1,[55,61,66],{"type":13,"tag":50,"props":56,"children":58},{"style":57},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[59],{"type":18,"value":60},"VkResult ",{"type":13,"tag":50,"props":62,"children":64},{"style":63},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[65],{"type":18,"value":4},{"type":13,"tag":50,"props":67,"children":68},{"style":57},[69],{"type":18,"value":70},"(\n",{"type":13,"tag":50,"props":72,"children":74},{"class":52,"line":73},2,[75,80,86],{"type":13,"tag":50,"props":76,"children":77},{"style":57},[78],{"type":18,"value":79}," VkDevice ",{"type":13,"tag":50,"props":81,"children":83},{"style":82},"--shiki-default:#953800;--shiki-dark:#FFA657",[84],{"type":18,"value":85},"device",{"type":13,"tag":50,"props":87,"children":88},{"style":57},[89],{"type":18,"value":90},",\n",{"type":13,"tag":50,"props":92,"children":94},{"class":52,"line":93},3,[95,100,105],{"type":13,"tag":50,"props":96,"children":97},{"style":57},[98],{"type":18,"value":99}," VkSurfaceKHR ",{"type":13,"tag":50,"props":101,"children":102},{"style":82},[103],{"type":18,"value":104},"surface",{"type":13,"tag":50,"props":106,"children":107},{"style":57},[108],{"type":18,"value":90},{"type":13,"tag":50,"props":110,"children":112},{"class":52,"line":111},4,[113,118,124,129],{"type":13,"tag":50,"props":114,"children":115},{"style":57},[116],{"type":18,"value":117}," VkDeviceGroupPresentModeFlagsKHR",{"type":13,"tag":50,"props":119,"children":121},{"style":120},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[122],{"type":18,"value":123},"*",{"type":13,"tag":50,"props":125,"children":126},{"style":82},[127],{"type":18,"value":128}," pModes",{"type":13,"tag":50,"props":130,"children":131},{"style":57},[132],{"type":18,"value":133},");\n",{"type":13,"tag":37,"props":135,"children":140},{"className":136,"code":137,"filename":138,"language":139,"meta":43,"style":43},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn get_device_group_surface_present_modes_khr(\n device: crate :: vk :: vk::Device,\n surface: vk::SurfaceKHR,\n p_modes: *mut vk::DeviceGroupPresentModeFlagsKHR,\n) -> vk::Result;\n","Rust","rs",[141],{"type":13,"tag":46,"props":142,"children":143},{"__ignoreMap":43},[144,166,217,246,280],{"type":13,"tag":50,"props":145,"children":146},{"class":52,"line":53},[147,152,157,162],{"type":13,"tag":50,"props":148,"children":149},{"style":120},[150],{"type":18,"value":151},"pub",{"type":13,"tag":50,"props":153,"children":154},{"style":120},[155],{"type":18,"value":156}," fn",{"type":13,"tag":50,"props":158,"children":159},{"style":63},[160],{"type":18,"value":161}," get_device_group_surface_present_modes_khr",{"type":13,"tag":50,"props":163,"children":164},{"style":57},[165],{"type":18,"value":70},{"type":13,"tag":50,"props":167,"children":168},{"class":52,"line":73},[169,174,179,184,189,194,199,204,208,213],{"type":13,"tag":50,"props":170,"children":171},{"style":57},[172],{"type":18,"value":173}," device",{"type":13,"tag":50,"props":175,"children":176},{"style":120},[177],{"type":18,"value":178},":",{"type":13,"tag":50,"props":180,"children":181},{"style":120},[182],{"type":18,"value":183}," crate",{"type":13,"tag":50,"props":185,"children":186},{"style":120},[187],{"type":18,"value":188}," ::",{"type":13,"tag":50,"props":190,"children":191},{"style":57},[192],{"type":18,"value":193}," vk ",{"type":13,"tag":50,"props":195,"children":196},{"style":120},[197],{"type":18,"value":198},"::",{"type":13,"tag":50,"props":200,"children":201},{"style":82},[202],{"type":18,"value":203}," vk",{"type":13,"tag":50,"props":205,"children":206},{"style":120},[207],{"type":18,"value":198},{"type":13,"tag":50,"props":209,"children":210},{"style":82},[211],{"type":18,"value":212},"Device",{"type":13,"tag":50,"props":214,"children":215},{"style":57},[216],{"type":18,"value":90},{"type":13,"tag":50,"props":218,"children":219},{"class":52,"line":93},[220,225,229,233,237,242],{"type":13,"tag":50,"props":221,"children":222},{"style":57},[223],{"type":18,"value":224}," surface",{"type":13,"tag":50,"props":226,"children":227},{"style":120},[228],{"type":18,"value":178},{"type":13,"tag":50,"props":230,"children":231},{"style":82},[232],{"type":18,"value":203},{"type":13,"tag":50,"props":234,"children":235},{"style":120},[236],{"type":18,"value":198},{"type":13,"tag":50,"props":238,"children":239},{"style":82},[240],{"type":18,"value":241},"SurfaceKHR",{"type":13,"tag":50,"props":243,"children":244},{"style":57},[245],{"type":18,"value":90},{"type":13,"tag":50,"props":247,"children":248},{"class":52,"line":111},[249,254,258,263,267,271,276],{"type":13,"tag":50,"props":250,"children":251},{"style":57},[252],{"type":18,"value":253}," p_modes",{"type":13,"tag":50,"props":255,"children":256},{"style":120},[257],{"type":18,"value":178},{"type":13,"tag":50,"props":259,"children":260},{"style":120},[261],{"type":18,"value":262}," *mut",{"type":13,"tag":50,"props":264,"children":265},{"style":82},[266],{"type":18,"value":203},{"type":13,"tag":50,"props":268,"children":269},{"style":120},[270],{"type":18,"value":198},{"type":13,"tag":50,"props":272,"children":273},{"style":82},[274],{"type":18,"value":275},"DeviceGroupPresentModeFlagsKHR",{"type":13,"tag":50,"props":277,"children":278},{"style":57},[279],{"type":18,"value":90},{"type":13,"tag":50,"props":281,"children":283},{"class":52,"line":282},5,[284,289,294,298,302,307],{"type":13,"tag":50,"props":285,"children":286},{"style":57},[287],{"type":18,"value":288},") ",{"type":13,"tag":50,"props":290,"children":291},{"style":120},[292],{"type":18,"value":293},"->",{"type":13,"tag":50,"props":295,"children":296},{"style":82},[297],{"type":18,"value":203},{"type":13,"tag":50,"props":299,"children":300},{"style":120},[301],{"type":18,"value":198},{"type":13,"tag":50,"props":303,"children":304},{"style":82},[305],{"type":18,"value":306},"Result",{"type":13,"tag":50,"props":308,"children":309},{"style":57},[310],{"type":18,"value":311},";\n",{"type":13,"tag":313,"props":314,"children":315},"ul",{},[316,327,337],{"type":13,"tag":317,"props":318,"children":319},"li",{},[320,325],{"type":13,"tag":46,"props":321,"children":323},{"className":322},[],[324],{"type":18,"value":85},{"type":18,"value":326}," is the logical device.",{"type":13,"tag":317,"props":328,"children":329},{},[330,335],{"type":13,"tag":46,"props":331,"children":333},{"className":332},[],[334],{"type":18,"value":104},{"type":18,"value":336}," is the surface.",{"type":13,"tag":317,"props":338,"children":339},{},[340,346,348,355],{"type":13,"tag":46,"props":341,"children":343},{"className":342},[],[344],{"type":18,"value":345},"pModes",{"type":18,"value":347}," is a pointer to a ",{"type":13,"tag":349,"props":350,"children":352},"a",{"href":351},"/man/VkDeviceGroupPresentModeFlagsKHR",[353],{"type":18,"value":354},"VkDeviceGroupPresentModeFlagsKHR",{"type":18,"value":356}," in\nwhich the supported device group present modes for the surface are\nreturned.",{"type":13,"tag":14,"props":358,"children":359},{},[360,362,365,367,371,373,379],{"type":18,"value":361},"The modes returned by this command are not invariant, and ",{"type":13,"tag":21,"props":363,"children":364},{"type":23},[],{"type":18,"value":366}," change in\nresponse to the surface being moved, resized, or occluded.\nThese modes ",{"type":13,"tag":21,"props":368,"children":370},{"type":369},"must",[],{"type":18,"value":372}," be a subset of the modes returned by\n",{"type":13,"tag":349,"props":374,"children":376},{"href":375},"/man/vkGetDeviceGroupPresentCapabilitiesKHR",[377],{"type":18,"value":378},"vkGetDeviceGroupPresentCapabilitiesKHR",{"type":18,"value":380},".",{"type":13,"tag":382,"props":383,"children":385},"validity-group",{"name":384},"Valid Usage",[386],{"type":13,"tag":387,"props":388,"children":390},"validity-field",{"name":389},"VUID-vkGetDeviceGroupSurfacePresentModesKHR-surface-06212",[391],{"type":13,"tag":14,"props":392,"children":393},{},[394,399,401,404,406,411,413,419],{"type":13,"tag":46,"props":395,"children":397},{"className":396},[],[398],{"type":18,"value":104},{"type":18,"value":400}," ",{"type":13,"tag":21,"props":402,"children":403},{"type":369},[],{"type":18,"value":405}," be supported by all physical devices associated with\n",{"type":13,"tag":46,"props":407,"children":409},{"className":408},[],[410],{"type":18,"value":85},{"type":18,"value":412},", as reported by ",{"type":13,"tag":349,"props":414,"children":416},{"href":415},"/man/vkGetPhysicalDeviceSurfaceSupportKHR",[417],{"type":18,"value":418},"vkGetPhysicalDeviceSurfaceSupportKHR",{"type":18,"value":420},"\nor an equivalent platform-specific mechanism",{"type":13,"tag":382,"props":422,"children":424},{"name":423},"Valid Usage (Implicit)",[425,451,475,499],{"type":13,"tag":387,"props":426,"children":428},{"name":427},"VUID-vkGetDeviceGroupSurfacePresentModesKHR-device-parameter",[429],{"type":13,"tag":14,"props":430,"children":431},{},[432,437,438,441,443,449],{"type":13,"tag":46,"props":433,"children":435},{"className":434},[],[436],{"type":18,"value":85},{"type":18,"value":400},{"type":13,"tag":21,"props":439,"children":440},{"type":369},[],{"type":18,"value":442}," be a valid ",{"type":13,"tag":349,"props":444,"children":446},{"href":445},"/man/VkDevice",[447],{"type":18,"value":448},"VkDevice",{"type":18,"value":450}," handle",{"type":13,"tag":387,"props":452,"children":454},{"name":453},"VUID-vkGetDeviceGroupSurfacePresentModesKHR-surface-parameter",[455],{"type":13,"tag":14,"props":456,"children":457},{},[458,463,464,467,468,474],{"type":13,"tag":46,"props":459,"children":461},{"className":460},[],[462],{"type":18,"value":104},{"type":18,"value":400},{"type":13,"tag":21,"props":465,"children":466},{"type":369},[],{"type":18,"value":442},{"type":13,"tag":349,"props":469,"children":471},{"href":470},"/man/VkSurfaceKHR",[472],{"type":18,"value":473},"VkSurfaceKHR",{"type":18,"value":450},{"type":13,"tag":387,"props":476,"children":478},{"name":477},"VUID-vkGetDeviceGroupSurfacePresentModesKHR-pModes-parameter",[479],{"type":13,"tag":14,"props":480,"children":481},{},[482,487,488,491,493,497],{"type":13,"tag":46,"props":483,"children":485},{"className":484},[],[486],{"type":18,"value":345},{"type":18,"value":400},{"type":13,"tag":21,"props":489,"children":490},{"type":369},[],{"type":18,"value":492}," be a valid pointer to a ",{"type":13,"tag":349,"props":494,"children":495},{"href":351},[496],{"type":18,"value":354},{"type":18,"value":498}," value",{"type":13,"tag":387,"props":500,"children":502},{"name":501},"VUID-vkGetDeviceGroupSurfacePresentModesKHR-commonparent",[503],{"type":13,"tag":14,"props":504,"children":505},{},[506,508,513,515,520,521,524,526],{"type":18,"value":507},"Both of ",{"type":13,"tag":46,"props":509,"children":511},{"className":510},[],[512],{"type":18,"value":85},{"type":18,"value":514},", and ",{"type":13,"tag":46,"props":516,"children":518},{"className":517},[],[519],{"type":18,"value":104},{"type":18,"value":400},{"type":13,"tag":21,"props":522,"children":523},{"type":369},[],{"type":18,"value":525}," have been created, allocated, or retrieved from the same ",{"type":13,"tag":349,"props":527,"children":529},{"href":528},"/man/VkInstance",[530],{"type":18,"value":531},"VkInstance",{"type":13,"tag":533,"props":534,"children":536},"validity-box",{"name":535},"Host Synchronization",[537],{"type":13,"tag":313,"props":538,"children":539},{},[540],{"type":13,"tag":317,"props":541,"children":542},{},[543,545,550,551,554],{"type":18,"value":544},"Host access to ",{"type":13,"tag":46,"props":546,"children":548},{"className":547},[],[549],{"type":18,"value":104},{"type":18,"value":400},{"type":13,"tag":21,"props":552,"children":553},{"type":369},[],{"type":18,"value":555}," be externally synchronized\n::",{"type":13,"tag":557,"props":558,"children":559},"style",{},[560],{"type":18,"value":561},"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":43,"searchDepth":73,"depth":73,"links":563},[],"markdown",1725732617547]