[{"data":1,"prerenderedAt":492},["ShallowReactive",2],{"MuZAY24jnE":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":491,"_id":4},"vkGetPhysicalDeviceXlibPresentationSupportKHR","Query physical device for presentation to X11 server using Xlib","VK_KHR_xlib_surface","protos",[],{"type":10,"children":11,"toc":489},"root",[12,20,304,368,380,427,483],{"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 an X11 server, using the Xlib client-side library, call:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,140],{"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 vkGetPhysicalDeviceXlibPresentationSupportKHR(\n VkPhysicalDevice physicalDevice,\n uint32_t queueFamilyIndex,\n Display* dpy,\n VisualID visualID);\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,59,79,98,121],{"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],{"type":13,"tag":38,"props":103,"children":104},{"style":45},[105],{"type":18,"value":106}," Display",{"type":13,"tag":38,"props":108,"children":109},{"style":85},[110],{"type":18,"value":111},"*",{"type":13,"tag":38,"props":113,"children":114},{"style":70},[115],{"type":18,"value":116}," dpy",{"type":13,"tag":38,"props":118,"children":119},{"style":45},[120],{"type":18,"value":78},{"type":13,"tag":38,"props":122,"children":124},{"class":40,"line":123},5,[125,130,135],{"type":13,"tag":38,"props":126,"children":127},{"style":45},[128],{"type":18,"value":129}," VisualID ",{"type":13,"tag":38,"props":131,"children":132},{"style":70},[133],{"type":18,"value":134},"visualID",{"type":13,"tag":38,"props":136,"children":137},{"style":45},[138],{"type":18,"value":139},");\n",{"type":13,"tag":25,"props":141,"children":146},{"className":142,"code":143,"filename":144,"language":145,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn get_physical_device_xlib_presentation_support_khr(\n physical_device: vk::PhysicalDevice,\n queue_family_index: u32,\n dpy: *mut Display,\n visual_id: VisualID,\n) -> vk::Bool32;\n","Rust","rs",[147],{"type":13,"tag":34,"props":148,"children":149},{"__ignoreMap":31},[150,172,204,225,251,272],{"type":13,"tag":38,"props":151,"children":152},{"class":40,"line":41},[153,158,163,168],{"type":13,"tag":38,"props":154,"children":155},{"style":85},[156],{"type":18,"value":157},"pub",{"type":13,"tag":38,"props":159,"children":160},{"style":85},[161],{"type":18,"value":162}," fn",{"type":13,"tag":38,"props":164,"children":165},{"style":51},[166],{"type":18,"value":167}," get_physical_device_xlib_presentation_support_khr",{"type":13,"tag":38,"props":169,"children":170},{"style":45},[171],{"type":18,"value":58},{"type":13,"tag":38,"props":173,"children":174},{"class":40,"line":61},[175,180,185,190,195,200],{"type":13,"tag":38,"props":176,"children":177},{"style":45},[178],{"type":18,"value":179}," physical_device",{"type":13,"tag":38,"props":181,"children":182},{"style":85},[183],{"type":18,"value":184},":",{"type":13,"tag":38,"props":186,"children":187},{"style":70},[188],{"type":18,"value":189}," vk",{"type":13,"tag":38,"props":191,"children":192},{"style":85},[193],{"type":18,"value":194},"::",{"type":13,"tag":38,"props":196,"children":197},{"style":70},[198],{"type":18,"value":199},"PhysicalDevice",{"type":13,"tag":38,"props":201,"children":202},{"style":45},[203],{"type":18,"value":78},{"type":13,"tag":38,"props":205,"children":206},{"class":40,"line":81},[207,212,216,221],{"type":13,"tag":38,"props":208,"children":209},{"style":45},[210],{"type":18,"value":211}," queue_family_index",{"type":13,"tag":38,"props":213,"children":214},{"style":85},[215],{"type":18,"value":184},{"type":13,"tag":38,"props":217,"children":218},{"style":70},[219],{"type":18,"value":220}," u32",{"type":13,"tag":38,"props":222,"children":223},{"style":45},[224],{"type":18,"value":78},{"type":13,"tag":38,"props":226,"children":227},{"class":40,"line":100},[228,233,237,242,247],{"type":13,"tag":38,"props":229,"children":230},{"style":45},[231],{"type":18,"value":232}," dpy",{"type":13,"tag":38,"props":234,"children":235},{"style":85},[236],{"type":18,"value":184},{"type":13,"tag":38,"props":238,"children":239},{"style":85},[240],{"type":18,"value":241}," *mut",{"type":13,"tag":38,"props":243,"children":244},{"style":70},[245],{"type":18,"value":246}," Display",{"type":13,"tag":38,"props":248,"children":249},{"style":45},[250],{"type":18,"value":78},{"type":13,"tag":38,"props":252,"children":253},{"class":40,"line":123},[254,259,263,268],{"type":13,"tag":38,"props":255,"children":256},{"style":45},[257],{"type":18,"value":258}," visual_id",{"type":13,"tag":38,"props":260,"children":261},{"style":85},[262],{"type":18,"value":184},{"type":13,"tag":38,"props":264,"children":265},{"style":70},[266],{"type":18,"value":267}," VisualID",{"type":13,"tag":38,"props":269,"children":270},{"style":45},[271],{"type":18,"value":78},{"type":13,"tag":38,"props":273,"children":275},{"class":40,"line":274},6,[276,281,286,290,294,299],{"type":13,"tag":38,"props":277,"children":278},{"style":45},[279],{"type":18,"value":280},") ",{"type":13,"tag":38,"props":282,"children":283},{"style":85},[284],{"type":18,"value":285},"->",{"type":13,"tag":38,"props":287,"children":288},{"style":70},[289],{"type":18,"value":189},{"type":13,"tag":38,"props":291,"children":292},{"style":85},[293],{"type":18,"value":194},{"type":13,"tag":38,"props":295,"children":296},{"style":70},[297],{"type":18,"value":298},"Bool32",{"type":13,"tag":38,"props":300,"children":301},{"style":45},[302],{"type":18,"value":303},";\n",{"type":13,"tag":305,"props":306,"children":307},"ul",{},[308,319,330,349],{"type":13,"tag":309,"props":310,"children":311},"li",{},[312,317],{"type":13,"tag":34,"props":313,"children":315},{"className":314},[],[316],{"type":18,"value":73},{"type":18,"value":318}," is the physical device.",{"type":13,"tag":309,"props":320,"children":321},{},[322,328],{"type":13,"tag":34,"props":323,"children":325},{"className":324},[],[326],{"type":18,"value":327},"queueFamilyIndex",{"type":18,"value":329}," is the queue family index.",{"type":13,"tag":309,"props":331,"children":332},{},[333,339,341,347],{"type":13,"tag":34,"props":334,"children":336},{"className":335},[],[337],{"type":18,"value":338},"dpy",{"type":18,"value":340}," is a pointer to an Xlib ",{"type":13,"tag":34,"props":342,"children":344},{"className":343},[],[345],{"type":18,"value":346},"Display",{"type":18,"value":348}," connection to the server.",{"type":13,"tag":309,"props":350,"children":351},{},[352,358,360,366],{"type":13,"tag":34,"props":353,"children":355},{"className":354},[],[356],{"type":18,"value":357},"visualId",{"type":18,"value":359}," is an X11 visual (",{"type":13,"tag":34,"props":361,"children":363},{"className":362},[],[364],{"type":18,"value":365},"VisualID",{"type":18,"value":367},").",{"type":13,"tag":14,"props":369,"children":370},{},[371,373,378],{"type":18,"value":372},"This platform-specific function ",{"type":13,"tag":374,"props":375,"children":377},"normative",{"type":376},"can",[],{"type":18,"value":379}," be called prior to creating a surface.",{"type":13,"tag":381,"props":382,"children":384},"validity-group",{"name":383},"Valid Usage",[385],{"type":13,"tag":386,"props":387,"children":389},"validity-field",{"name":388},"VUID-vkGetPhysicalDeviceXlibPresentationSupportKHR-queueFamilyIndex-01315",[390],{"type":13,"tag":14,"props":391,"children":392},{},[393,398,400,404,406,412,414,420,422],{"type":13,"tag":34,"props":394,"children":396},{"className":395},[],[397],{"type":18,"value":327},{"type":18,"value":399}," ",{"type":13,"tag":374,"props":401,"children":403},{"type":402},"must",[],{"type":18,"value":405}," be less than\n",{"type":13,"tag":34,"props":407,"children":409},{"className":408},[],[410],{"type":18,"value":411},"pQueueFamilyPropertyCount",{"type":18,"value":413}," returned by\n",{"type":13,"tag":34,"props":415,"children":417},{"className":416},[],[418],{"type":18,"value":419},"vkGetPhysicalDeviceQueueFamilyProperties",{"type":18,"value":421}," for the given\n",{"type":13,"tag":34,"props":423,"children":425},{"className":424},[],[426],{"type":18,"value":73},{"type":13,"tag":381,"props":428,"children":430},{"name":429},"Valid Usage (Implicit)",[431,458],{"type":13,"tag":386,"props":432,"children":434},{"name":433},"VUID-vkGetPhysicalDeviceXlibPresentationSupportKHR-physicalDevice-parameter",[435],{"type":13,"tag":14,"props":436,"children":437},{},[438,443,444,447,449,456],{"type":13,"tag":34,"props":439,"children":441},{"className":440},[],[442],{"type":18,"value":73},{"type":18,"value":399},{"type":13,"tag":374,"props":445,"children":446},{"type":402},[],{"type":18,"value":448}," be a valid ",{"type":13,"tag":450,"props":451,"children":453},"a",{"href":452},"/man/VkPhysicalDevice",[454],{"type":18,"value":455},"VkPhysicalDevice",{"type":18,"value":457}," handle",{"type":13,"tag":386,"props":459,"children":461},{"name":460},"VUID-vkGetPhysicalDeviceXlibPresentationSupportKHR-dpy-parameter",[462],{"type":13,"tag":14,"props":463,"children":464},{},[465,470,471,474,476,481],{"type":13,"tag":34,"props":466,"children":468},{"className":467},[],[469],{"type":18,"value":338},{"type":18,"value":399},{"type":13,"tag":374,"props":472,"children":473},{"type":402},[],{"type":18,"value":475}," be a valid pointer to a ",{"type":13,"tag":34,"props":477,"children":479},{"className":478},[],[480],{"type":18,"value":346},{"type":18,"value":482}," value",{"type":13,"tag":484,"props":485,"children":486},"style",{},[487],{"type":18,"value":488},"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":490},[],"markdown",1725732620940]