[{"data":1,"prerenderedAt":465},["ShallowReactive",2],{"t0527h5nze":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":464,"_id":4},"vkGetDisplayPlaneCapabilities2KHR","Query capabilities of a mode and plane combination","VK_KHR_get_display_properties2","protos",[],{"type":10,"children":11,"toc":462},"root",[12,20,295,356,374,456],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","To query the capabilities of a given mode and plane combination, call:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,131],{"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 vkGetDisplayPlaneCapabilities2KHR(\n VkPhysicalDevice physicalDevice,\n const VkDisplayPlaneInfo2KHR* pDisplayPlaneInfo,\n VkDisplayPlaneCapabilities2KHR* pCapabilities);\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,59,79,108],{"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,99,104],{"type":13,"tag":38,"props":84,"children":86},{"style":85},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[87],{"type":18,"value":88}," const",{"type":13,"tag":38,"props":90,"children":91},{"style":45},[92],{"type":18,"value":93}," VkDisplayPlaneInfo2KHR",{"type":13,"tag":38,"props":95,"children":96},{"style":85},[97],{"type":18,"value":98},"*",{"type":13,"tag":38,"props":100,"children":101},{"style":70},[102],{"type":18,"value":103}," pDisplayPlaneInfo",{"type":13,"tag":38,"props":105,"children":106},{"style":45},[107],{"type":18,"value":78},{"type":13,"tag":38,"props":109,"children":111},{"class":40,"line":110},4,[112,117,121,126],{"type":13,"tag":38,"props":113,"children":114},{"style":45},[115],{"type":18,"value":116}," VkDisplayPlaneCapabilities2KHR",{"type":13,"tag":38,"props":118,"children":119},{"style":85},[120],{"type":18,"value":98},{"type":13,"tag":38,"props":122,"children":123},{"style":70},[124],{"type":18,"value":125}," pCapabilities",{"type":13,"tag":38,"props":127,"children":128},{"style":45},[129],{"type":18,"value":130},");\n",{"type":13,"tag":25,"props":132,"children":137},{"className":133,"code":134,"filename":135,"language":136,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn get_display_plane_capabilities2_khr(\n physical_device: vk::PhysicalDevice,\n p_display_plane_info: *const vk::DisplayPlaneInfo2KHR,\n p_capabilities: *mut vk::DisplayPlaneCapabilities2KHR,\n) -> vk::Result;\n","Rust","rs",[138],{"type":13,"tag":34,"props":139,"children":140},{"__ignoreMap":31},[141,163,195,229,263],{"type":13,"tag":38,"props":142,"children":143},{"class":40,"line":41},[144,149,154,159],{"type":13,"tag":38,"props":145,"children":146},{"style":85},[147],{"type":18,"value":148},"pub",{"type":13,"tag":38,"props":150,"children":151},{"style":85},[152],{"type":18,"value":153}," fn",{"type":13,"tag":38,"props":155,"children":156},{"style":51},[157],{"type":18,"value":158}," get_display_plane_capabilities2_khr",{"type":13,"tag":38,"props":160,"children":161},{"style":45},[162],{"type":18,"value":58},{"type":13,"tag":38,"props":164,"children":165},{"class":40,"line":61},[166,171,176,181,186,191],{"type":13,"tag":38,"props":167,"children":168},{"style":45},[169],{"type":18,"value":170}," physical_device",{"type":13,"tag":38,"props":172,"children":173},{"style":85},[174],{"type":18,"value":175},":",{"type":13,"tag":38,"props":177,"children":178},{"style":70},[179],{"type":18,"value":180}," vk",{"type":13,"tag":38,"props":182,"children":183},{"style":85},[184],{"type":18,"value":185},"::",{"type":13,"tag":38,"props":187,"children":188},{"style":70},[189],{"type":18,"value":190},"PhysicalDevice",{"type":13,"tag":38,"props":192,"children":193},{"style":45},[194],{"type":18,"value":78},{"type":13,"tag":38,"props":196,"children":197},{"class":40,"line":81},[198,203,207,212,216,220,225],{"type":13,"tag":38,"props":199,"children":200},{"style":45},[201],{"type":18,"value":202}," p_display_plane_info",{"type":13,"tag":38,"props":204,"children":205},{"style":85},[206],{"type":18,"value":175},{"type":13,"tag":38,"props":208,"children":209},{"style":85},[210],{"type":18,"value":211}," *const",{"type":13,"tag":38,"props":213,"children":214},{"style":70},[215],{"type":18,"value":180},{"type":13,"tag":38,"props":217,"children":218},{"style":85},[219],{"type":18,"value":185},{"type":13,"tag":38,"props":221,"children":222},{"style":70},[223],{"type":18,"value":224},"DisplayPlaneInfo2KHR",{"type":13,"tag":38,"props":226,"children":227},{"style":45},[228],{"type":18,"value":78},{"type":13,"tag":38,"props":230,"children":231},{"class":40,"line":110},[232,237,241,246,250,254,259],{"type":13,"tag":38,"props":233,"children":234},{"style":45},[235],{"type":18,"value":236}," p_capabilities",{"type":13,"tag":38,"props":238,"children":239},{"style":85},[240],{"type":18,"value":175},{"type":13,"tag":38,"props":242,"children":243},{"style":85},[244],{"type":18,"value":245}," *mut",{"type":13,"tag":38,"props":247,"children":248},{"style":70},[249],{"type":18,"value":180},{"type":13,"tag":38,"props":251,"children":252},{"style":85},[253],{"type":18,"value":185},{"type":13,"tag":38,"props":255,"children":256},{"style":70},[257],{"type":18,"value":258},"DisplayPlaneCapabilities2KHR",{"type":13,"tag":38,"props":260,"children":261},{"style":45},[262],{"type":18,"value":78},{"type":13,"tag":38,"props":264,"children":266},{"class":40,"line":265},5,[267,272,277,281,285,290],{"type":13,"tag":38,"props":268,"children":269},{"style":45},[270],{"type":18,"value":271},") ",{"type":13,"tag":38,"props":273,"children":274},{"style":85},[275],{"type":18,"value":276},"->",{"type":13,"tag":38,"props":278,"children":279},{"style":70},[280],{"type":18,"value":180},{"type":13,"tag":38,"props":282,"children":283},{"style":85},[284],{"type":18,"value":185},{"type":13,"tag":38,"props":286,"children":287},{"style":70},[288],{"type":18,"value":289},"Result",{"type":13,"tag":38,"props":291,"children":292},{"style":45},[293],{"type":18,"value":294},";\n",{"type":13,"tag":296,"props":297,"children":298},"ul",{},[299,318,337],{"type":13,"tag":300,"props":301,"children":302},"li",{},[303,308,310,316],{"type":13,"tag":34,"props":304,"children":306},{"className":305},[],[307],{"type":18,"value":73},{"type":18,"value":309}," is the physical device associated with\n",{"type":13,"tag":34,"props":311,"children":313},{"className":312},[],[314],{"type":18,"value":315},"pDisplayPlaneInfo",{"type":18,"value":317},".",{"type":13,"tag":300,"props":319,"children":320},{},[321,326,328,335],{"type":13,"tag":34,"props":322,"children":324},{"className":323},[],[325],{"type":18,"value":315},{"type":18,"value":327}," is a pointer to a ",{"type":13,"tag":329,"props":330,"children":332},"a",{"href":331},"/man/VkDisplayPlaneInfo2KHR",[333],{"type":18,"value":334},"VkDisplayPlaneInfo2KHR",{"type":18,"value":336},"\nstructure describing the plane and mode.",{"type":13,"tag":300,"props":338,"children":339},{},[340,346,348,354],{"type":13,"tag":34,"props":341,"children":343},{"className":342},[],[344],{"type":18,"value":345},"pCapabilities",{"type":18,"value":347}," is a pointer to a\n",{"type":13,"tag":329,"props":349,"children":351},{"href":350},"/man/VkDisplayPlaneCapabilities2KHR",[352],{"type":18,"value":353},"VkDisplayPlaneCapabilities2KHR",{"type":18,"value":355}," structure in which the capabilities\nare returned.",{"type":13,"tag":14,"props":357,"children":358},{},[359,364,366,372],{"type":13,"tag":34,"props":360,"children":362},{"className":361},[],[363],{"type":18,"value":4},{"type":18,"value":365}," behaves similarly to\n",{"type":13,"tag":329,"props":367,"children":369},{"href":368},"/man/vkGetDisplayPlaneCapabilitiesKHR",[370],{"type":18,"value":371},"vkGetDisplayPlaneCapabilitiesKHR",{"type":18,"value":373},", with the ability to specify extended\ninputs via chained input structures, and to return extended information via\nchained output structures.",{"type":13,"tag":375,"props":376,"children":378},"validity-group",{"name":377},"Valid Usage (Implicit)",[379,409,433],{"type":13,"tag":380,"props":381,"children":383},"validity-field",{"name":382},"VUID-vkGetDisplayPlaneCapabilities2KHR-physicalDevice-parameter",[384],{"type":13,"tag":14,"props":385,"children":386},{},[387,392,394,399,401,407],{"type":13,"tag":34,"props":388,"children":390},{"className":389},[],[391],{"type":18,"value":73},{"type":18,"value":393}," ",{"type":13,"tag":395,"props":396,"children":398},"normative",{"type":397},"must",[],{"type":18,"value":400}," be a valid ",{"type":13,"tag":329,"props":402,"children":404},{"href":403},"/man/VkPhysicalDevice",[405],{"type":18,"value":406},"VkPhysicalDevice",{"type":18,"value":408}," handle",{"type":13,"tag":380,"props":410,"children":412},{"name":411},"VUID-vkGetDisplayPlaneCapabilities2KHR-pDisplayPlaneInfo-parameter",[413],{"type":13,"tag":14,"props":414,"children":415},{},[416,421,422,425,427,431],{"type":13,"tag":34,"props":417,"children":419},{"className":418},[],[420],{"type":18,"value":315},{"type":18,"value":393},{"type":13,"tag":395,"props":423,"children":424},{"type":397},[],{"type":18,"value":426}," be a valid pointer to a valid ",{"type":13,"tag":329,"props":428,"children":429},{"href":331},[430],{"type":18,"value":334},{"type":18,"value":432}," structure",{"type":13,"tag":380,"props":434,"children":436},{"name":435},"VUID-vkGetDisplayPlaneCapabilities2KHR-pCapabilities-parameter",[437],{"type":13,"tag":14,"props":438,"children":439},{},[440,445,446,449,451,455],{"type":13,"tag":34,"props":441,"children":443},{"className":442},[],[444],{"type":18,"value":345},{"type":18,"value":393},{"type":13,"tag":395,"props":447,"children":448},{"type":397},[],{"type":18,"value":450}," be a valid pointer to a ",{"type":13,"tag":329,"props":452,"children":453},{"href":350},[454],{"type":18,"value":353},{"type":18,"value":432},{"type":13,"tag":457,"props":458,"children":459},"style",{},[460],{"type":18,"value":461},"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":463},[],"markdown",1729612514901]