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