[{"data":1,"prerenderedAt":435},["ShallowReactive",2],{"M01jH159Hj":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":434,"_id":4},"vkGetPhysicalDeviceWaylandPresentationSupportKHR","Query physical device for presentation to Wayland","VK_KHR_wayland_surface","protos",[],{"type":10,"children":11,"toc":432},"root",[12,20,266,311,323,370,426],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","To determine whether a queue family of a physical device supports\npresentation to a Wayland compositor, call:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,127],{"type":13,"tag":25,"props":26,"children":32},"pre",{"className":27,"code":28,"filename":29,"language":30,"meta":31,"style":31},"language-c shiki shiki-themes github-light-default github-dark-default","VkBool32 vkGetPhysicalDeviceWaylandPresentationSupportKHR(\n VkPhysicalDevice physicalDevice,\n uint32_t queueFamilyIndex,\n struct wl_display* display);\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,59,79,98],{"type":13,"tag":38,"props":39,"children":42},"span",{"class":40,"line":41},"line",1,[43,49,54],{"type":13,"tag":38,"props":44,"children":46},{"style":45},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[47],{"type":18,"value":48},"VkBool32 ",{"type":13,"tag":38,"props":50,"children":52},{"style":51},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[53],{"type":18,"value":4},{"type":13,"tag":38,"props":55,"children":56},{"style":45},[57],{"type":18,"value":58},"(\n",{"type":13,"tag":38,"props":60,"children":62},{"class":40,"line":61},2,[63,68,74],{"type":13,"tag":38,"props":64,"children":65},{"style":45},[66],{"type":18,"value":67}," VkPhysicalDevice ",{"type":13,"tag":38,"props":69,"children":71},{"style":70},"--shiki-default:#953800;--shiki-dark:#FFA657",[72],{"type":18,"value":73},"physicalDevice",{"type":13,"tag":38,"props":75,"children":76},{"style":45},[77],{"type":18,"value":78},",\n",{"type":13,"tag":38,"props":80,"children":82},{"class":40,"line":81},3,[83,89,94],{"type":13,"tag":38,"props":84,"children":86},{"style":85},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[87],{"type":18,"value":88}," uint32_t",{"type":13,"tag":38,"props":90,"children":91},{"style":70},[92],{"type":18,"value":93}," queueFamilyIndex",{"type":13,"tag":38,"props":95,"children":96},{"style":45},[97],{"type":18,"value":78},{"type":13,"tag":38,"props":99,"children":101},{"class":40,"line":100},4,[102,107,112,117,122],{"type":13,"tag":38,"props":103,"children":104},{"style":85},[105],{"type":18,"value":106}," struct",{"type":13,"tag":38,"props":108,"children":109},{"style":45},[110],{"type":18,"value":111}," wl_display",{"type":13,"tag":38,"props":113,"children":114},{"style":85},[115],{"type":18,"value":116},"*",{"type":13,"tag":38,"props":118,"children":119},{"style":70},[120],{"type":18,"value":121}," display",{"type":13,"tag":38,"props":123,"children":124},{"style":45},[125],{"type":18,"value":126},");\n",{"type":13,"tag":25,"props":128,"children":133},{"className":129,"code":130,"filename":131,"language":132,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn get_physical_device_wayland_presentation_support_khr(\n physical_device: vk::PhysicalDevice,\n queue_family_index: u32,\n display: *mut wl_display,\n) -> vk::Bool32;\n","Rust","rs",[134],{"type":13,"tag":34,"props":135,"children":136},{"__ignoreMap":31},[137,159,191,212,234],{"type":13,"tag":38,"props":138,"children":139},{"class":40,"line":41},[140,145,150,155],{"type":13,"tag":38,"props":141,"children":142},{"style":85},[143],{"type":18,"value":144},"pub",{"type":13,"tag":38,"props":146,"children":147},{"style":85},[148],{"type":18,"value":149}," fn",{"type":13,"tag":38,"props":151,"children":152},{"style":51},[153],{"type":18,"value":154}," get_physical_device_wayland_presentation_support_khr",{"type":13,"tag":38,"props":156,"children":157},{"style":45},[158],{"type":18,"value":58},{"type":13,"tag":38,"props":160,"children":161},{"class":40,"line":61},[162,167,172,177,182,187],{"type":13,"tag":38,"props":163,"children":164},{"style":45},[165],{"type":18,"value":166}," physical_device",{"type":13,"tag":38,"props":168,"children":169},{"style":85},[170],{"type":18,"value":171},":",{"type":13,"tag":38,"props":173,"children":174},{"style":70},[175],{"type":18,"value":176}," vk",{"type":13,"tag":38,"props":178,"children":179},{"style":85},[180],{"type":18,"value":181},"::",{"type":13,"tag":38,"props":183,"children":184},{"style":70},[185],{"type":18,"value":186},"PhysicalDevice",{"type":13,"tag":38,"props":188,"children":189},{"style":45},[190],{"type":18,"value":78},{"type":13,"tag":38,"props":192,"children":193},{"class":40,"line":81},[194,199,203,208],{"type":13,"tag":38,"props":195,"children":196},{"style":45},[197],{"type":18,"value":198}," queue_family_index",{"type":13,"tag":38,"props":200,"children":201},{"style":85},[202],{"type":18,"value":171},{"type":13,"tag":38,"props":204,"children":205},{"style":70},[206],{"type":18,"value":207}," u32",{"type":13,"tag":38,"props":209,"children":210},{"style":45},[211],{"type":18,"value":78},{"type":13,"tag":38,"props":213,"children":214},{"class":40,"line":100},[215,220,224,229],{"type":13,"tag":38,"props":216,"children":217},{"style":45},[218],{"type":18,"value":219}," display",{"type":13,"tag":38,"props":221,"children":222},{"style":85},[223],{"type":18,"value":171},{"type":13,"tag":38,"props":225,"children":226},{"style":85},[227],{"type":18,"value":228}," *mut",{"type":13,"tag":38,"props":230,"children":231},{"style":45},[232],{"type":18,"value":233}," wl_display,\n",{"type":13,"tag":38,"props":235,"children":237},{"class":40,"line":236},5,[238,243,248,252,256,261],{"type":13,"tag":38,"props":239,"children":240},{"style":45},[241],{"type":18,"value":242},") ",{"type":13,"tag":38,"props":244,"children":245},{"style":85},[246],{"type":18,"value":247},"->",{"type":13,"tag":38,"props":249,"children":250},{"style":70},[251],{"type":18,"value":176},{"type":13,"tag":38,"props":253,"children":254},{"style":85},[255],{"type":18,"value":181},{"type":13,"tag":38,"props":257,"children":258},{"style":70},[259],{"type":18,"value":260},"Bool32",{"type":13,"tag":38,"props":262,"children":263},{"style":45},[264],{"type":18,"value":265},";\n",{"type":13,"tag":267,"props":268,"children":269},"ul",{},[270,281,292],{"type":13,"tag":271,"props":272,"children":273},"li",{},[274,279],{"type":13,"tag":34,"props":275,"children":277},{"className":276},[],[278],{"type":18,"value":73},{"type":18,"value":280}," is the physical device.",{"type":13,"tag":271,"props":282,"children":283},{},[284,290],{"type":13,"tag":34,"props":285,"children":287},{"className":286},[],[288],{"type":18,"value":289},"queueFamilyIndex",{"type":18,"value":291}," is the queue family index.",{"type":13,"tag":271,"props":293,"children":294},{},[295,301,303,309],{"type":13,"tag":34,"props":296,"children":298},{"className":297},[],[299],{"type":18,"value":300},"display",{"type":18,"value":302}," is a pointer to the ",{"type":13,"tag":34,"props":304,"children":306},{"className":305},[],[307],{"type":18,"value":308},"wl_display",{"type":18,"value":310}," associated with a\nWayland compositor.",{"type":13,"tag":14,"props":312,"children":313},{},[314,316,321],{"type":18,"value":315},"This platform-specific function ",{"type":13,"tag":317,"props":318,"children":320},"normative",{"type":319},"can",[],{"type":18,"value":322}," be called prior to creating a surface.",{"type":13,"tag":324,"props":325,"children":327},"validity-group",{"name":326},"Valid Usage",[328],{"type":13,"tag":329,"props":330,"children":332},"validity-field",{"name":331},"VUID-vkGetPhysicalDeviceWaylandPresentationSupportKHR-queueFamilyIndex-01306",[333],{"type":13,"tag":14,"props":334,"children":335},{},[336,341,343,347,349,355,357,363,365],{"type":13,"tag":34,"props":337,"children":339},{"className":338},[],[340],{"type":18,"value":289},{"type":18,"value":342}," ",{"type":13,"tag":317,"props":344,"children":346},{"type":345},"must",[],{"type":18,"value":348}," be less than\n",{"type":13,"tag":34,"props":350,"children":352},{"className":351},[],[353],{"type":18,"value":354},"pQueueFamilyPropertyCount",{"type":18,"value":356}," returned by\n",{"type":13,"tag":34,"props":358,"children":360},{"className":359},[],[361],{"type":18,"value":362},"vkGetPhysicalDeviceQueueFamilyProperties",{"type":18,"value":364}," for the given\n",{"type":13,"tag":34,"props":366,"children":368},{"className":367},[],[369],{"type":18,"value":73},{"type":13,"tag":324,"props":371,"children":373},{"name":372},"Valid Usage (Implicit)",[374,401],{"type":13,"tag":329,"props":375,"children":377},{"name":376},"VUID-vkGetPhysicalDeviceWaylandPresentationSupportKHR-physicalDevice-parameter",[378],{"type":13,"tag":14,"props":379,"children":380},{},[381,386,387,390,392,399],{"type":13,"tag":34,"props":382,"children":384},{"className":383},[],[385],{"type":18,"value":73},{"type":18,"value":342},{"type":13,"tag":317,"props":388,"children":389},{"type":345},[],{"type":18,"value":391}," be a valid ",{"type":13,"tag":393,"props":394,"children":396},"a",{"href":395},"/man/VkPhysicalDevice",[397],{"type":18,"value":398},"VkPhysicalDevice",{"type":18,"value":400}," handle",{"type":13,"tag":329,"props":402,"children":404},{"name":403},"VUID-vkGetPhysicalDeviceWaylandPresentationSupportKHR-display-parameter",[405],{"type":13,"tag":14,"props":406,"children":407},{},[408,413,414,417,419,424],{"type":13,"tag":34,"props":409,"children":411},{"className":410},[],[412],{"type":18,"value":300},{"type":18,"value":342},{"type":13,"tag":317,"props":415,"children":416},{"type":345},[],{"type":18,"value":418}," be a valid pointer to a ",{"type":13,"tag":34,"props":420,"children":422},{"className":421},[],[423],{"type":18,"value":308},{"type":18,"value":425}," value",{"type":13,"tag":427,"props":428,"children":429},"style",{},[430],{"type":18,"value":431},"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":31,"searchDepth":61,"depth":61,"links":433},[],"markdown",1725732620830]