[{"data":1,"prerenderedAt":591},["ShallowReactive",2],{"I7ADrd9gAn":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":590,"_id":4},"vkGetDisplayModeProperties2KHR","Query information about the available display modes.","VK_KHR_get_display_properties2","protos",[],{"type":10,"children":11,"toc":588},"root",[12,20,324,394,413,582],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","To query the properties of a device’s built-in display modes, 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","VkResult vkGetDisplayModeProperties2KHR(\n VkPhysicalDevice physicalDevice,\n VkDisplayKHR display,\n uint32_t* pPropertyCount,\n VkDisplayModeProperties2KHR* pProperties);\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,59,79,97,116],{"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,88,93],{"type":13,"tag":38,"props":84,"children":85},{"style":45},[86],{"type":18,"value":87}," VkDisplayKHR ",{"type":13,"tag":38,"props":89,"children":90},{"style":70},[91],{"type":18,"value":92},"display",{"type":13,"tag":38,"props":94,"children":95},{"style":45},[96],{"type":18,"value":78},{"type":13,"tag":38,"props":98,"children":100},{"class":40,"line":99},4,[101,107,112],{"type":13,"tag":38,"props":102,"children":104},{"style":103},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[105],{"type":18,"value":106}," uint32_t*",{"type":13,"tag":38,"props":108,"children":109},{"style":70},[110],{"type":18,"value":111}," pPropertyCount",{"type":13,"tag":38,"props":113,"children":114},{"style":45},[115],{"type":18,"value":78},{"type":13,"tag":38,"props":117,"children":119},{"class":40,"line":118},5,[120,125,130,135],{"type":13,"tag":38,"props":121,"children":122},{"style":45},[123],{"type":18,"value":124}," VkDisplayModeProperties2KHR",{"type":13,"tag":38,"props":126,"children":127},{"style":103},[128],{"type":18,"value":129},"*",{"type":13,"tag":38,"props":131,"children":132},{"style":70},[133],{"type":18,"value":134}," pProperties",{"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_display_mode_properties2_khr(\n physical_device: vk::PhysicalDevice,\n display: vk::DisplayKHR,\n p_property_count: *mut u32,\n p_properties: *mut vk::DisplayModeProperties2KHR,\n) -> vk::Result;\n","Rust","rs",[147],{"type":13,"tag":34,"props":148,"children":149},{"__ignoreMap":31},[150,172,204,233,259,292],{"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":103},[156],{"type":18,"value":157},"pub",{"type":13,"tag":38,"props":159,"children":160},{"style":103},[161],{"type":18,"value":162}," fn",{"type":13,"tag":38,"props":164,"children":165},{"style":51},[166],{"type":18,"value":167}," get_display_mode_properties2_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":103},[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":103},[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,220,224,229],{"type":13,"tag":38,"props":208,"children":209},{"style":45},[210],{"type":18,"value":211}," display",{"type":13,"tag":38,"props":213,"children":214},{"style":103},[215],{"type":18,"value":184},{"type":13,"tag":38,"props":217,"children":218},{"style":70},[219],{"type":18,"value":189},{"type":13,"tag":38,"props":221,"children":222},{"style":103},[223],{"type":18,"value":194},{"type":13,"tag":38,"props":225,"children":226},{"style":70},[227],{"type":18,"value":228},"DisplayKHR",{"type":13,"tag":38,"props":230,"children":231},{"style":45},[232],{"type":18,"value":78},{"type":13,"tag":38,"props":234,"children":235},{"class":40,"line":99},[236,241,245,250,255],{"type":13,"tag":38,"props":237,"children":238},{"style":45},[239],{"type":18,"value":240}," p_property_count",{"type":13,"tag":38,"props":242,"children":243},{"style":103},[244],{"type":18,"value":184},{"type":13,"tag":38,"props":246,"children":247},{"style":103},[248],{"type":18,"value":249}," *mut",{"type":13,"tag":38,"props":251,"children":252},{"style":70},[253],{"type":18,"value":254}," u32",{"type":13,"tag":38,"props":256,"children":257},{"style":45},[258],{"type":18,"value":78},{"type":13,"tag":38,"props":260,"children":261},{"class":40,"line":118},[262,267,271,275,279,283,288],{"type":13,"tag":38,"props":263,"children":264},{"style":45},[265],{"type":18,"value":266}," p_properties",{"type":13,"tag":38,"props":268,"children":269},{"style":103},[270],{"type":18,"value":184},{"type":13,"tag":38,"props":272,"children":273},{"style":103},[274],{"type":18,"value":249},{"type":13,"tag":38,"props":276,"children":277},{"style":70},[278],{"type":18,"value":189},{"type":13,"tag":38,"props":280,"children":281},{"style":103},[282],{"type":18,"value":194},{"type":13,"tag":38,"props":284,"children":285},{"style":70},[286],{"type":18,"value":287},"DisplayModeProperties2KHR",{"type":13,"tag":38,"props":289,"children":290},{"style":45},[291],{"type":18,"value":78},{"type":13,"tag":38,"props":293,"children":295},{"class":40,"line":294},6,[296,301,306,310,314,319],{"type":13,"tag":38,"props":297,"children":298},{"style":45},[299],{"type":18,"value":300},") ",{"type":13,"tag":38,"props":302,"children":303},{"style":103},[304],{"type":18,"value":305},"->",{"type":13,"tag":38,"props":307,"children":308},{"style":70},[309],{"type":18,"value":189},{"type":13,"tag":38,"props":311,"children":312},{"style":103},[313],{"type":18,"value":194},{"type":13,"tag":38,"props":315,"children":316},{"style":70},[317],{"type":18,"value":318},"Result",{"type":13,"tag":38,"props":320,"children":321},{"style":45},[322],{"type":18,"value":323},";\n",{"type":13,"tag":325,"props":326,"children":327},"ul",{},[328,346,356,367],{"type":13,"tag":329,"props":330,"children":331},"li",{},[332,337,339,344],{"type":13,"tag":34,"props":333,"children":335},{"className":334},[],[336],{"type":18,"value":73},{"type":18,"value":338}," is the physical device associated with\n",{"type":13,"tag":34,"props":340,"children":342},{"className":341},[],[343],{"type":18,"value":92},{"type":18,"value":345},".",{"type":13,"tag":329,"props":347,"children":348},{},[349,354],{"type":13,"tag":34,"props":350,"children":352},{"className":351},[],[353],{"type":18,"value":92},{"type":18,"value":355}," is the display to query.",{"type":13,"tag":329,"props":357,"children":358},{},[359,365],{"type":13,"tag":34,"props":360,"children":362},{"className":361},[],[363],{"type":18,"value":364},"pPropertyCount",{"type":18,"value":366}," is a pointer to an integer related to the number of\ndisplay modes available or queried, as described below.",{"type":13,"tag":329,"props":368,"children":369},{},[370,376,378,384,386,392],{"type":13,"tag":34,"props":371,"children":373},{"className":372},[],[374],{"type":18,"value":375},"pProperties",{"type":18,"value":377}," is either ",{"type":13,"tag":34,"props":379,"children":381},{"className":380},[],[382],{"type":18,"value":383},"NULL",{"type":18,"value":385}," or a pointer to an array of\n",{"type":13,"tag":34,"props":387,"children":389},{"className":388},[],[390],{"type":18,"value":391},"VkDisplayModeProperties2KHR",{"type":18,"value":393}," structures.",{"type":13,"tag":14,"props":395,"children":396},{},[397,402,404,411],{"type":13,"tag":34,"props":398,"children":400},{"className":399},[],[401],{"type":18,"value":4},{"type":18,"value":403}," behaves similarly to\n",{"type":13,"tag":405,"props":406,"children":408},"a",{"href":407},"/man/vkGetDisplayModePropertiesKHR",[409],{"type":18,"value":410},"vkGetDisplayModePropertiesKHR",{"type":18,"value":412},", with the ability to return extended\ninformation via chained output structures.",{"type":13,"tag":414,"props":415,"children":417},"validity-group",{"name":416},"Valid Usage (Implicit)",[418,448,472,498,559],{"type":13,"tag":419,"props":420,"children":422},"validity-field",{"name":421},"VUID-vkGetDisplayModeProperties2KHR-physicalDevice-parameter",[423],{"type":13,"tag":14,"props":424,"children":425},{},[426,431,433,438,440,446],{"type":13,"tag":34,"props":427,"children":429},{"className":428},[],[430],{"type":18,"value":73},{"type":18,"value":432}," ",{"type":13,"tag":434,"props":435,"children":437},"normative",{"type":436},"must",[],{"type":18,"value":439}," be a valid ",{"type":13,"tag":405,"props":441,"children":443},{"href":442},"/man/VkPhysicalDevice",[444],{"type":18,"value":445},"VkPhysicalDevice",{"type":18,"value":447}," handle",{"type":13,"tag":419,"props":449,"children":451},{"name":450},"VUID-vkGetDisplayModeProperties2KHR-display-parameter",[452],{"type":13,"tag":14,"props":453,"children":454},{},[455,460,461,464,465,471],{"type":13,"tag":34,"props":456,"children":458},{"className":457},[],[459],{"type":18,"value":92},{"type":18,"value":432},{"type":13,"tag":434,"props":462,"children":463},{"type":436},[],{"type":18,"value":439},{"type":13,"tag":405,"props":466,"children":468},{"href":467},"/man/VkDisplayKHR",[469],{"type":18,"value":470},"VkDisplayKHR",{"type":18,"value":447},{"type":13,"tag":419,"props":473,"children":475},{"name":474},"VUID-vkGetDisplayModeProperties2KHR-pPropertyCount-parameter",[476],{"type":13,"tag":14,"props":477,"children":478},{},[479,484,485,488,490,496],{"type":13,"tag":34,"props":480,"children":482},{"className":481},[],[483],{"type":18,"value":364},{"type":18,"value":432},{"type":13,"tag":434,"props":486,"children":487},{"type":436},[],{"type":18,"value":489}," be a valid pointer to a ",{"type":13,"tag":34,"props":491,"children":493},{"className":492},[],[494],{"type":18,"value":495},"uint32_t",{"type":18,"value":497}," value",{"type":13,"tag":419,"props":499,"children":501},{"name":500},"VUID-vkGetDisplayModeProperties2KHR-pProperties-parameter",[502],{"type":13,"tag":14,"props":503,"children":504},{},[505,507,512,514,520,522,527,528,533,535,540,541,544,546,551,552,557],{"type":18,"value":506},"If the value referenced by ",{"type":13,"tag":34,"props":508,"children":510},{"className":509},[],[511],{"type":18,"value":364},{"type":18,"value":513}," is not ",{"type":13,"tag":34,"props":515,"children":517},{"className":516},[],[518],{"type":18,"value":519},"0",{"type":18,"value":521},", and ",{"type":13,"tag":34,"props":523,"children":525},{"className":524},[],[526],{"type":18,"value":375},{"type":18,"value":513},{"type":13,"tag":34,"props":529,"children":531},{"className":530},[],[532],{"type":18,"value":383},{"type":18,"value":534},", ",{"type":13,"tag":34,"props":536,"children":538},{"className":537},[],[539],{"type":18,"value":375},{"type":18,"value":432},{"type":13,"tag":434,"props":542,"children":543},{"type":436},[],{"type":18,"value":545}," be a valid pointer to an array of ",{"type":13,"tag":34,"props":547,"children":549},{"className":548},[],[550],{"type":18,"value":364},{"type":18,"value":432},{"type":13,"tag":405,"props":553,"children":555},{"href":554},"/man/VkDisplayModeProperties2KHR",[556],{"type":18,"value":391},{"type":18,"value":558}," structures",{"type":13,"tag":419,"props":560,"children":562},{"name":561},"VUID-vkGetDisplayModeProperties2KHR-display-parent",[563],{"type":13,"tag":14,"props":564,"children":565},{},[566,571,572,575,577],{"type":13,"tag":34,"props":567,"children":569},{"className":568},[],[570],{"type":18,"value":92},{"type":18,"value":432},{"type":13,"tag":434,"props":573,"children":574},{"type":436},[],{"type":18,"value":576}," have been created, allocated, or retrieved from ",{"type":13,"tag":34,"props":578,"children":580},{"className":579},[],[581],{"type":18,"value":73},{"type":13,"tag":583,"props":584,"children":585},"style",{},[586],{"type":18,"value":587},"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":589},[],"markdown",1725732617876]