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