[{"data":1,"prerenderedAt":480},["ShallowReactive",2],{"6iwoyfZOLP":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":479,"_id":4},"vkGetPhysicalDeviceDisplayPlaneProperties2KHR","Query information about the available display planes.","VK_KHR_get_display_properties2","protos",[],{"type":10,"children":11,"toc":477},"root",[12,20,277,330,349,471],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","To query the properties of a device’s display planes, call:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,122],{"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","VkResult vkGetPhysicalDeviceDisplayPlaneProperties2KHR(\n VkPhysicalDevice physicalDevice,\n uint32_t* pPropertyCount,\n VkDisplayPlaneProperties2KHR* pProperties);\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},"VkResult ",{"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}," pPropertyCount",{"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}," VkDisplayPlaneProperties2KHR",{"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}," pProperties",{"type":13,"tag":38,"props":118,"children":119},{"style":45},[120],{"type":18,"value":121},");\n",{"type":13,"tag":25,"props":123,"children":128},{"className":124,"code":125,"filename":126,"language":127,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn get_physical_device_display_plane_properties2_khr(\n physical_device: vk::PhysicalDevice,\n p_property_count: *mut u32,\n p_properties: *mut vk::DisplayPlaneProperties2KHR,\n) -> vk::Result;\n","Rust","rs",[129],{"type":13,"tag":34,"props":130,"children":131},{"__ignoreMap":31},[132,154,186,212,245],{"type":13,"tag":38,"props":133,"children":134},{"class":40,"line":41},[135,140,145,150],{"type":13,"tag":38,"props":136,"children":137},{"style":85},[138],{"type":18,"value":139},"pub",{"type":13,"tag":38,"props":141,"children":142},{"style":85},[143],{"type":18,"value":144}," fn",{"type":13,"tag":38,"props":146,"children":147},{"style":51},[148],{"type":18,"value":149}," get_physical_device_display_plane_properties2_khr",{"type":13,"tag":38,"props":151,"children":152},{"style":45},[153],{"type":18,"value":58},{"type":13,"tag":38,"props":155,"children":156},{"class":40,"line":61},[157,162,167,172,177,182],{"type":13,"tag":38,"props":158,"children":159},{"style":45},[160],{"type":18,"value":161}," physical_device",{"type":13,"tag":38,"props":163,"children":164},{"style":85},[165],{"type":18,"value":166},":",{"type":13,"tag":38,"props":168,"children":169},{"style":70},[170],{"type":18,"value":171}," vk",{"type":13,"tag":38,"props":173,"children":174},{"style":85},[175],{"type":18,"value":176},"::",{"type":13,"tag":38,"props":178,"children":179},{"style":70},[180],{"type":18,"value":181},"PhysicalDevice",{"type":13,"tag":38,"props":183,"children":184},{"style":45},[185],{"type":18,"value":78},{"type":13,"tag":38,"props":187,"children":188},{"class":40,"line":81},[189,194,198,203,208],{"type":13,"tag":38,"props":190,"children":191},{"style":45},[192],{"type":18,"value":193}," p_property_count",{"type":13,"tag":38,"props":195,"children":196},{"style":85},[197],{"type":18,"value":166},{"type":13,"tag":38,"props":199,"children":200},{"style":85},[201],{"type":18,"value":202}," *mut",{"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,228,232,236,241],{"type":13,"tag":38,"props":216,"children":217},{"style":45},[218],{"type":18,"value":219}," p_properties",{"type":13,"tag":38,"props":221,"children":222},{"style":85},[223],{"type":18,"value":166},{"type":13,"tag":38,"props":225,"children":226},{"style":85},[227],{"type":18,"value":202},{"type":13,"tag":38,"props":229,"children":230},{"style":70},[231],{"type":18,"value":171},{"type":13,"tag":38,"props":233,"children":234},{"style":85},[235],{"type":18,"value":176},{"type":13,"tag":38,"props":237,"children":238},{"style":70},[239],{"type":18,"value":240},"DisplayPlaneProperties2KHR",{"type":13,"tag":38,"props":242,"children":243},{"style":45},[244],{"type":18,"value":78},{"type":13,"tag":38,"props":246,"children":248},{"class":40,"line":247},5,[249,254,259,263,267,272],{"type":13,"tag":38,"props":250,"children":251},{"style":45},[252],{"type":18,"value":253},") ",{"type":13,"tag":38,"props":255,"children":256},{"style":85},[257],{"type":18,"value":258},"->",{"type":13,"tag":38,"props":260,"children":261},{"style":70},[262],{"type":18,"value":171},{"type":13,"tag":38,"props":264,"children":265},{"style":85},[266],{"type":18,"value":176},{"type":13,"tag":38,"props":268,"children":269},{"style":70},[270],{"type":18,"value":271},"Result",{"type":13,"tag":38,"props":273,"children":274},{"style":45},[275],{"type":18,"value":276},";\n",{"type":13,"tag":278,"props":279,"children":280},"ul",{},[281,292,303],{"type":13,"tag":282,"props":283,"children":284},"li",{},[285,290],{"type":13,"tag":34,"props":286,"children":288},{"className":287},[],[289],{"type":18,"value":73},{"type":18,"value":291}," is a physical device.",{"type":13,"tag":282,"props":293,"children":294},{},[295,301],{"type":13,"tag":34,"props":296,"children":298},{"className":297},[],[299],{"type":18,"value":300},"pPropertyCount",{"type":18,"value":302}," is a pointer to an integer related to the number of\ndisplay planes available or queried, as described below.",{"type":13,"tag":282,"props":304,"children":305},{},[306,312,314,320,322,328],{"type":13,"tag":34,"props":307,"children":309},{"className":308},[],[310],{"type":18,"value":311},"pProperties",{"type":18,"value":313}," is either ",{"type":13,"tag":34,"props":315,"children":317},{"className":316},[],[318],{"type":18,"value":319},"NULL",{"type":18,"value":321}," or a pointer to an array of\n",{"type":13,"tag":34,"props":323,"children":325},{"className":324},[],[326],{"type":18,"value":327},"VkDisplayPlaneProperties2KHR",{"type":18,"value":329}," structures.",{"type":13,"tag":14,"props":331,"children":332},{},[333,338,340,347],{"type":13,"tag":34,"props":334,"children":336},{"className":335},[],[337],{"type":18,"value":4},{"type":18,"value":339}," behaves similarly to\n",{"type":13,"tag":341,"props":342,"children":344},"a",{"href":343},"/man/vkGetPhysicalDeviceDisplayPlanePropertiesKHR",[345],{"type":18,"value":346},"vkGetPhysicalDeviceDisplayPlanePropertiesKHR",{"type":18,"value":348},", with the ability to\nreturn extended information via chained output structures.",{"type":13,"tag":350,"props":351,"children":353},"validity-group",{"name":352},"Valid Usage (Implicit)",[354,384,410],{"type":13,"tag":355,"props":356,"children":358},"validity-field",{"name":357},"VUID-vkGetPhysicalDeviceDisplayPlaneProperties2KHR-physicalDevice-parameter",[359],{"type":13,"tag":14,"props":360,"children":361},{},[362,367,369,374,376,382],{"type":13,"tag":34,"props":363,"children":365},{"className":364},[],[366],{"type":18,"value":73},{"type":18,"value":368}," ",{"type":13,"tag":370,"props":371,"children":373},"normative",{"type":372},"must",[],{"type":18,"value":375}," be a valid ",{"type":13,"tag":341,"props":377,"children":379},{"href":378},"/man/VkPhysicalDevice",[380],{"type":18,"value":381},"VkPhysicalDevice",{"type":18,"value":383}," handle",{"type":13,"tag":355,"props":385,"children":387},{"name":386},"VUID-vkGetPhysicalDeviceDisplayPlaneProperties2KHR-pPropertyCount-parameter",[388],{"type":13,"tag":14,"props":389,"children":390},{},[391,396,397,400,402,408],{"type":13,"tag":34,"props":392,"children":394},{"className":393},[],[395],{"type":18,"value":300},{"type":18,"value":368},{"type":13,"tag":370,"props":398,"children":399},{"type":372},[],{"type":18,"value":401}," be a valid pointer to a ",{"type":13,"tag":34,"props":403,"children":405},{"className":404},[],[406],{"type":18,"value":407},"uint32_t",{"type":18,"value":409}," value",{"type":13,"tag":355,"props":411,"children":413},{"name":412},"VUID-vkGetPhysicalDeviceDisplayPlaneProperties2KHR-pProperties-parameter",[414],{"type":13,"tag":14,"props":415,"children":416},{},[417,419,424,426,432,434,439,440,445,447,452,453,456,458,463,464,469],{"type":18,"value":418},"If the value referenced by ",{"type":13,"tag":34,"props":420,"children":422},{"className":421},[],[423],{"type":18,"value":300},{"type":18,"value":425}," is not ",{"type":13,"tag":34,"props":427,"children":429},{"className":428},[],[430],{"type":18,"value":431},"0",{"type":18,"value":433},", and ",{"type":13,"tag":34,"props":435,"children":437},{"className":436},[],[438],{"type":18,"value":311},{"type":18,"value":425},{"type":13,"tag":34,"props":441,"children":443},{"className":442},[],[444],{"type":18,"value":319},{"type":18,"value":446},", ",{"type":13,"tag":34,"props":448,"children":450},{"className":449},[],[451],{"type":18,"value":311},{"type":18,"value":368},{"type":13,"tag":370,"props":454,"children":455},{"type":372},[],{"type":18,"value":457}," be a valid pointer to an array of ",{"type":13,"tag":34,"props":459,"children":461},{"className":460},[],[462],{"type":18,"value":300},{"type":18,"value":368},{"type":13,"tag":341,"props":465,"children":467},{"href":466},"/man/VkDisplayPlaneProperties2KHR",[468],{"type":18,"value":327},{"type":18,"value":470}," structures",{"type":13,"tag":472,"props":473,"children":474},"style",{},[475],{"type":18,"value":476},"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":478},[],"markdown",1725732619487]