[{"data":1,"prerenderedAt":533},["ShallowReactive",2],{"pKuxkQvYCt":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":532,"_id":4},"vkGetDisplayPlaneCapabilitiesKHR","Query capabilities of a mode and plane combination","VK_KHR_display","protos",[],{"type":10,"children":11,"toc":530},"root",[12,36,335,396,500,524],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,25,27,34],{"type":18,"value":19},"text","Applications that wish to present directly to a display ",{"type":13,"tag":21,"props":22,"children":24},"normative",{"type":23},"must",[],{"type":18,"value":26}," select which\nlayer, or ",{"type":13,"tag":28,"props":29,"children":31},"code",{"className":30},[],[32],{"type":18,"value":33},"plane",{"type":18,"value":35}," of the display they wish to target, and a mode to use\nwith the display.\nEach display supports at least one plane.\nThe capabilities of a given mode and plane combination are determined by\ncalling:",{"type":13,"tag":37,"props":38,"children":39},"code-group",{},[40,155],{"type":13,"tag":41,"props":42,"children":48},"pre",{"className":43,"code":44,"filename":45,"language":46,"meta":47,"style":47},"language-c shiki shiki-themes github-light-default github-dark-default","VkResult vkGetDisplayPlaneCapabilitiesKHR(\n VkPhysicalDevice physicalDevice,\n VkDisplayModeKHR mode,\n uint32_t planeIndex,\n VkDisplayPlaneCapabilitiesKHR* pCapabilities);\n","C","c","",[49],{"type":13,"tag":28,"props":50,"children":51},{"__ignoreMap":47},[52,74,94,112,131],{"type":13,"tag":53,"props":54,"children":57},"span",{"class":55,"line":56},"line",1,[58,64,69],{"type":13,"tag":53,"props":59,"children":61},{"style":60},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[62],{"type":18,"value":63},"VkResult ",{"type":13,"tag":53,"props":65,"children":67},{"style":66},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[68],{"type":18,"value":4},{"type":13,"tag":53,"props":70,"children":71},{"style":60},[72],{"type":18,"value":73},"(\n",{"type":13,"tag":53,"props":75,"children":77},{"class":55,"line":76},2,[78,83,89],{"type":13,"tag":53,"props":79,"children":80},{"style":60},[81],{"type":18,"value":82}," VkPhysicalDevice ",{"type":13,"tag":53,"props":84,"children":86},{"style":85},"--shiki-default:#953800;--shiki-dark:#FFA657",[87],{"type":18,"value":88},"physicalDevice",{"type":13,"tag":53,"props":90,"children":91},{"style":60},[92],{"type":18,"value":93},",\n",{"type":13,"tag":53,"props":95,"children":97},{"class":55,"line":96},3,[98,103,108],{"type":13,"tag":53,"props":99,"children":100},{"style":60},[101],{"type":18,"value":102}," VkDisplayModeKHR ",{"type":13,"tag":53,"props":104,"children":105},{"style":85},[106],{"type":18,"value":107},"mode",{"type":13,"tag":53,"props":109,"children":110},{"style":60},[111],{"type":18,"value":93},{"type":13,"tag":53,"props":113,"children":115},{"class":55,"line":114},4,[116,122,127],{"type":13,"tag":53,"props":117,"children":119},{"style":118},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[120],{"type":18,"value":121}," uint32_t",{"type":13,"tag":53,"props":123,"children":124},{"style":85},[125],{"type":18,"value":126}," planeIndex",{"type":13,"tag":53,"props":128,"children":129},{"style":60},[130],{"type":18,"value":93},{"type":13,"tag":53,"props":132,"children":134},{"class":55,"line":133},5,[135,140,145,150],{"type":13,"tag":53,"props":136,"children":137},{"style":60},[138],{"type":18,"value":139}," VkDisplayPlaneCapabilitiesKHR",{"type":13,"tag":53,"props":141,"children":142},{"style":118},[143],{"type":18,"value":144},"*",{"type":13,"tag":53,"props":146,"children":147},{"style":85},[148],{"type":18,"value":149}," pCapabilities",{"type":13,"tag":53,"props":151,"children":152},{"style":60},[153],{"type":18,"value":154},");\n",{"type":13,"tag":41,"props":156,"children":161},{"className":157,"code":158,"filename":159,"language":160,"meta":47,"style":47},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn get_display_plane_capabilities_khr(\n physical_device: vk::PhysicalDevice,\n mode: vk::DisplayModeKHR,\n plane_index: u32,\n p_capabilities: *mut vk::DisplayPlaneCapabilitiesKHR,\n) -> vk::Result;\n","Rust","rs",[162],{"type":13,"tag":28,"props":163,"children":164},{"__ignoreMap":47},[165,187,219,248,269,303],{"type":13,"tag":53,"props":166,"children":167},{"class":55,"line":56},[168,173,178,183],{"type":13,"tag":53,"props":169,"children":170},{"style":118},[171],{"type":18,"value":172},"pub",{"type":13,"tag":53,"props":174,"children":175},{"style":118},[176],{"type":18,"value":177}," fn",{"type":13,"tag":53,"props":179,"children":180},{"style":66},[181],{"type":18,"value":182}," get_display_plane_capabilities_khr",{"type":13,"tag":53,"props":184,"children":185},{"style":60},[186],{"type":18,"value":73},{"type":13,"tag":53,"props":188,"children":189},{"class":55,"line":76},[190,195,200,205,210,215],{"type":13,"tag":53,"props":191,"children":192},{"style":60},[193],{"type":18,"value":194}," physical_device",{"type":13,"tag":53,"props":196,"children":197},{"style":118},[198],{"type":18,"value":199},":",{"type":13,"tag":53,"props":201,"children":202},{"style":85},[203],{"type":18,"value":204}," vk",{"type":13,"tag":53,"props":206,"children":207},{"style":118},[208],{"type":18,"value":209},"::",{"type":13,"tag":53,"props":211,"children":212},{"style":85},[213],{"type":18,"value":214},"PhysicalDevice",{"type":13,"tag":53,"props":216,"children":217},{"style":60},[218],{"type":18,"value":93},{"type":13,"tag":53,"props":220,"children":221},{"class":55,"line":96},[222,227,231,235,239,244],{"type":13,"tag":53,"props":223,"children":224},{"style":60},[225],{"type":18,"value":226}," mode",{"type":13,"tag":53,"props":228,"children":229},{"style":118},[230],{"type":18,"value":199},{"type":13,"tag":53,"props":232,"children":233},{"style":85},[234],{"type":18,"value":204},{"type":13,"tag":53,"props":236,"children":237},{"style":118},[238],{"type":18,"value":209},{"type":13,"tag":53,"props":240,"children":241},{"style":85},[242],{"type":18,"value":243},"DisplayModeKHR",{"type":13,"tag":53,"props":245,"children":246},{"style":60},[247],{"type":18,"value":93},{"type":13,"tag":53,"props":249,"children":250},{"class":55,"line":114},[251,256,260,265],{"type":13,"tag":53,"props":252,"children":253},{"style":60},[254],{"type":18,"value":255}," plane_index",{"type":13,"tag":53,"props":257,"children":258},{"style":118},[259],{"type":18,"value":199},{"type":13,"tag":53,"props":261,"children":262},{"style":85},[263],{"type":18,"value":264}," u32",{"type":13,"tag":53,"props":266,"children":267},{"style":60},[268],{"type":18,"value":93},{"type":13,"tag":53,"props":270,"children":271},{"class":55,"line":133},[272,277,281,286,290,294,299],{"type":13,"tag":53,"props":273,"children":274},{"style":60},[275],{"type":18,"value":276}," p_capabilities",{"type":13,"tag":53,"props":278,"children":279},{"style":118},[280],{"type":18,"value":199},{"type":13,"tag":53,"props":282,"children":283},{"style":118},[284],{"type":18,"value":285}," *mut",{"type":13,"tag":53,"props":287,"children":288},{"style":85},[289],{"type":18,"value":204},{"type":13,"tag":53,"props":291,"children":292},{"style":118},[293],{"type":18,"value":209},{"type":13,"tag":53,"props":295,"children":296},{"style":85},[297],{"type":18,"value":298},"DisplayPlaneCapabilitiesKHR",{"type":13,"tag":53,"props":300,"children":301},{"style":60},[302],{"type":18,"value":93},{"type":13,"tag":53,"props":304,"children":306},{"class":55,"line":305},6,[307,312,317,321,325,330],{"type":13,"tag":53,"props":308,"children":309},{"style":60},[310],{"type":18,"value":311},") ",{"type":13,"tag":53,"props":313,"children":314},{"style":118},[315],{"type":18,"value":316},"->",{"type":13,"tag":53,"props":318,"children":319},{"style":85},[320],{"type":18,"value":204},{"type":13,"tag":53,"props":322,"children":323},{"style":118},[324],{"type":18,"value":209},{"type":13,"tag":53,"props":326,"children":327},{"style":85},[328],{"type":18,"value":329},"Result",{"type":13,"tag":53,"props":331,"children":332},{"style":60},[333],{"type":18,"value":334},";\n",{"type":13,"tag":336,"props":337,"children":338},"ul",{},[339,355,365,376],{"type":13,"tag":340,"props":341,"children":342},"li",{},[343,348,350],{"type":13,"tag":28,"props":344,"children":346},{"className":345},[],[347],{"type":18,"value":88},{"type":18,"value":349}," is the physical device associated with the display\nspecified by ",{"type":13,"tag":28,"props":351,"children":353},{"className":352},[],[354],{"type":18,"value":107},{"type":13,"tag":340,"props":356,"children":357},{},[358,363],{"type":13,"tag":28,"props":359,"children":361},{"className":360},[],[362],{"type":18,"value":107},{"type":18,"value":364}," is the display mode the application intends to program when\nusing the specified plane.\nNote this parameter also implicitly specifies a display.",{"type":13,"tag":340,"props":366,"children":367},{},[368,374],{"type":13,"tag":28,"props":369,"children":371},{"className":370},[],[372],{"type":18,"value":373},"planeIndex",{"type":18,"value":375}," is the plane which the application intends to use with\nthe display, and is less than the number of display planes supported by\nthe device.",{"type":13,"tag":340,"props":377,"children":378},{},[379,385,387,394],{"type":13,"tag":28,"props":380,"children":382},{"className":381},[],[383],{"type":18,"value":384},"pCapabilities",{"type":18,"value":386}," is a pointer to a\n",{"type":13,"tag":388,"props":389,"children":391},"a",{"href":390},"/man/VkDisplayPlaneCapabilitiesKHR",[392],{"type":18,"value":393},"VkDisplayPlaneCapabilitiesKHR",{"type":18,"value":395}," structure in which the capabilities\nare returned.",{"type":13,"tag":397,"props":398,"children":400},"validity-group",{"name":399},"Valid Usage (Implicit)",[401,429,453,477],{"type":13,"tag":402,"props":403,"children":405},"validity-field",{"name":404},"VUID-vkGetDisplayPlaneCapabilitiesKHR-physicalDevice-parameter",[406],{"type":13,"tag":14,"props":407,"children":408},{},[409,414,416,419,421,427],{"type":13,"tag":28,"props":410,"children":412},{"className":411},[],[413],{"type":18,"value":88},{"type":18,"value":415}," ",{"type":13,"tag":21,"props":417,"children":418},{"type":23},[],{"type":18,"value":420}," be a valid ",{"type":13,"tag":388,"props":422,"children":424},{"href":423},"/man/VkPhysicalDevice",[425],{"type":18,"value":426},"VkPhysicalDevice",{"type":18,"value":428}," handle",{"type":13,"tag":402,"props":430,"children":432},{"name":431},"VUID-vkGetDisplayPlaneCapabilitiesKHR-mode-parameter",[433],{"type":13,"tag":14,"props":434,"children":435},{},[436,441,442,445,446,452],{"type":13,"tag":28,"props":437,"children":439},{"className":438},[],[440],{"type":18,"value":107},{"type":18,"value":415},{"type":13,"tag":21,"props":443,"children":444},{"type":23},[],{"type":18,"value":420},{"type":13,"tag":388,"props":447,"children":449},{"href":448},"/man/VkDisplayModeKHR",[450],{"type":18,"value":451},"VkDisplayModeKHR",{"type":18,"value":428},{"type":13,"tag":402,"props":454,"children":456},{"name":455},"VUID-vkGetDisplayPlaneCapabilitiesKHR-pCapabilities-parameter",[457],{"type":13,"tag":14,"props":458,"children":459},{},[460,465,466,469,471,475],{"type":13,"tag":28,"props":461,"children":463},{"className":462},[],[464],{"type":18,"value":384},{"type":18,"value":415},{"type":13,"tag":21,"props":467,"children":468},{"type":23},[],{"type":18,"value":470}," be a valid pointer to a ",{"type":13,"tag":388,"props":472,"children":473},{"href":390},[474],{"type":18,"value":393},{"type":18,"value":476}," structure",{"type":13,"tag":402,"props":478,"children":480},{"name":479},"VUID-vkGetDisplayPlaneCapabilitiesKHR-mode-parent",[481],{"type":13,"tag":14,"props":482,"children":483},{},[484,489,490,493,495],{"type":13,"tag":28,"props":485,"children":487},{"className":486},[],[488],{"type":18,"value":107},{"type":18,"value":415},{"type":13,"tag":21,"props":491,"children":492},{"type":23},[],{"type":18,"value":494}," have been created, allocated, or retrieved from ",{"type":13,"tag":28,"props":496,"children":498},{"className":497},[],[499],{"type":18,"value":88},{"type":13,"tag":501,"props":502,"children":504},"validity-box",{"name":503},"Host Synchronization",[505],{"type":13,"tag":336,"props":506,"children":507},{},[508],{"type":13,"tag":340,"props":509,"children":510},{},[511,513,518,519,522],{"type":18,"value":512},"Host access to ",{"type":13,"tag":28,"props":514,"children":516},{"className":515},[],[517],{"type":18,"value":107},{"type":18,"value":415},{"type":13,"tag":21,"props":520,"children":521},{"type":23},[],{"type":18,"value":523}," be externally synchronized\n::",{"type":13,"tag":525,"props":526,"children":527},"style",{},[528],{"type":18,"value":529},"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":47,"searchDepth":76,"depth":76,"links":531},[],"markdown",1729612514917]