[{"data":1,"prerenderedAt":485},["ShallowReactive",2],{"Ocq4v84TvM":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":484,"_id":4},"VkDisplayModeCreateInfoKHR","Structure specifying parameters of a newly created display mode object","VK_KHR_display","structs",[],{"type":10,"children":11,"toc":482},"root",[12,28,283,376,476],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,26],{"type":18,"value":19},"text","The ",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":4},{"type":18,"value":27}," structure is defined as:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,122],{"type":13,"tag":33,"props":34,"children":40},"pre",{"className":35,"code":36,"filename":37,"language":38,"meta":39,"style":39},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkDisplayModeCreateInfoKHR {\n VkStructureType sType;\n const void* pNext;\n VkDisplayModeCreateFlagsKHR flags;\n VkDisplayModeParametersKHR parameters;\n} VkDisplayModeCreateInfoKHR;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,95,104,113],{"type":13,"tag":45,"props":46,"children":49},"span",{"class":47,"line":48},"line",1,[50,56,61],{"type":13,"tag":45,"props":51,"children":53},{"style":52},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[54],{"type":18,"value":55},"typedef",{"type":13,"tag":45,"props":57,"children":58},{"style":52},[59],{"type":18,"value":60}," struct",{"type":13,"tag":45,"props":62,"children":64},{"style":63},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[65],{"type":18,"value":66}," VkDisplayModeCreateInfoKHR {\n",{"type":13,"tag":45,"props":68,"children":70},{"class":47,"line":69},2,[71],{"type":13,"tag":45,"props":72,"children":73},{"style":63},[74],{"type":18,"value":75}," VkStructureType sType;\n",{"type":13,"tag":45,"props":77,"children":79},{"class":47,"line":78},3,[80,85,90],{"type":13,"tag":45,"props":81,"children":82},{"style":52},[83],{"type":18,"value":84}," const",{"type":13,"tag":45,"props":86,"children":87},{"style":52},[88],{"type":18,"value":89}," void*",{"type":13,"tag":45,"props":91,"children":92},{"style":63},[93],{"type":18,"value":94}," pNext;\n",{"type":13,"tag":45,"props":96,"children":98},{"class":47,"line":97},4,[99],{"type":13,"tag":45,"props":100,"children":101},{"style":63},[102],{"type":18,"value":103}," VkDisplayModeCreateFlagsKHR flags;\n",{"type":13,"tag":45,"props":105,"children":107},{"class":47,"line":106},5,[108],{"type":13,"tag":45,"props":109,"children":110},{"style":63},[111],{"type":18,"value":112}," VkDisplayModeParametersKHR parameters;\n",{"type":13,"tag":45,"props":114,"children":116},{"class":47,"line":115},6,[117],{"type":13,"tag":45,"props":118,"children":119},{"style":63},[120],{"type":18,"value":121},"} VkDisplayModeCreateInfoKHR;\n",{"type":13,"tag":33,"props":123,"children":128},{"className":124,"code":125,"filename":126,"language":127,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct DisplayModeCreateInfoKHR {\n s_type: vk::StructureType,\n p_next: *const c_void,\n flags: vk::DisplayModeCreateFlagsKHR,\n parameters: vk::DisplayModeParametersKHR, // The parameters this mode uses.\n}\n","Rust","rs",[129],{"type":13,"tag":21,"props":130,"children":131},{"__ignoreMap":39},[132,155,188,210,239,275],{"type":13,"tag":45,"props":133,"children":134},{"class":47,"line":48},[135,140,144,150],{"type":13,"tag":45,"props":136,"children":137},{"style":52},[138],{"type":18,"value":139},"pub",{"type":13,"tag":45,"props":141,"children":142},{"style":52},[143],{"type":18,"value":60},{"type":13,"tag":45,"props":145,"children":147},{"style":146},"--shiki-default:#953800;--shiki-dark:#FFA657",[148],{"type":18,"value":149}," DisplayModeCreateInfoKHR",{"type":13,"tag":45,"props":151,"children":152},{"style":63},[153],{"type":18,"value":154}," {\n",{"type":13,"tag":45,"props":156,"children":157},{"class":47,"line":69},[158,163,168,173,178,183],{"type":13,"tag":45,"props":159,"children":160},{"style":63},[161],{"type":18,"value":162}," s_type",{"type":13,"tag":45,"props":164,"children":165},{"style":52},[166],{"type":18,"value":167},":",{"type":13,"tag":45,"props":169,"children":170},{"style":146},[171],{"type":18,"value":172}," vk",{"type":13,"tag":45,"props":174,"children":175},{"style":52},[176],{"type":18,"value":177},"::",{"type":13,"tag":45,"props":179,"children":180},{"style":146},[181],{"type":18,"value":182},"StructureType",{"type":13,"tag":45,"props":184,"children":185},{"style":63},[186],{"type":18,"value":187},",\n",{"type":13,"tag":45,"props":189,"children":190},{"class":47,"line":78},[191,196,200,205],{"type":13,"tag":45,"props":192,"children":193},{"style":63},[194],{"type":18,"value":195}," p_next",{"type":13,"tag":45,"props":197,"children":198},{"style":52},[199],{"type":18,"value":167},{"type":13,"tag":45,"props":201,"children":202},{"style":52},[203],{"type":18,"value":204}," *const",{"type":13,"tag":45,"props":206,"children":207},{"style":63},[208],{"type":18,"value":209}," c_void,\n",{"type":13,"tag":45,"props":211,"children":212},{"class":47,"line":97},[213,218,222,226,230,235],{"type":13,"tag":45,"props":214,"children":215},{"style":63},[216],{"type":18,"value":217}," flags",{"type":13,"tag":45,"props":219,"children":220},{"style":52},[221],{"type":18,"value":167},{"type":13,"tag":45,"props":223,"children":224},{"style":146},[225],{"type":18,"value":172},{"type":13,"tag":45,"props":227,"children":228},{"style":52},[229],{"type":18,"value":177},{"type":13,"tag":45,"props":231,"children":232},{"style":146},[233],{"type":18,"value":234},"DisplayModeCreateFlagsKHR",{"type":13,"tag":45,"props":236,"children":237},{"style":63},[238],{"type":18,"value":187},{"type":13,"tag":45,"props":240,"children":241},{"class":47,"line":106},[242,247,251,255,259,264,269],{"type":13,"tag":45,"props":243,"children":244},{"style":63},[245],{"type":18,"value":246}," parameters",{"type":13,"tag":45,"props":248,"children":249},{"style":52},[250],{"type":18,"value":167},{"type":13,"tag":45,"props":252,"children":253},{"style":146},[254],{"type":18,"value":172},{"type":13,"tag":45,"props":256,"children":257},{"style":52},[258],{"type":18,"value":177},{"type":13,"tag":45,"props":260,"children":261},{"style":146},[262],{"type":18,"value":263},"DisplayModeParametersKHR",{"type":13,"tag":45,"props":265,"children":266},{"style":63},[267],{"type":18,"value":268},", ",{"type":13,"tag":45,"props":270,"children":272},{"style":271},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[273],{"type":18,"value":274},"// The parameters this mode uses.\n",{"type":13,"tag":45,"props":276,"children":277},{"class":47,"line":115},[278],{"type":13,"tag":45,"props":279,"children":280},{"style":63},[281],{"type":18,"value":282},"}\n",{"type":13,"tag":284,"props":285,"children":286},"ul",{},[287,308,327,345],{"type":13,"tag":288,"props":289,"children":290},"li",{},[291,297,299,306],{"type":13,"tag":21,"props":292,"children":294},{"className":293},[],[295],{"type":18,"value":296},"sType",{"type":18,"value":298}," is a ",{"type":13,"tag":300,"props":301,"children":303},"a",{"href":302},"/man/VkStructureType",[304],{"type":18,"value":305},"VkStructureType",{"type":18,"value":307}," value identifying this structure.",{"type":13,"tag":288,"props":309,"children":310},{},[311,317,319,325],{"type":13,"tag":21,"props":312,"children":314},{"className":313},[],[315],{"type":18,"value":316},"pNext",{"type":18,"value":318}," is ",{"type":13,"tag":21,"props":320,"children":322},{"className":321},[],[323],{"type":18,"value":324},"NULL",{"type":18,"value":326}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":288,"props":328,"children":329},{},[330,336,338,343],{"type":13,"tag":21,"props":331,"children":333},{"className":332},[],[334],{"type":18,"value":335},"flags",{"type":18,"value":337}," is reserved for future use, and ",{"type":13,"tag":339,"props":340,"children":342},"normative",{"type":341},"must",[],{"type":18,"value":344}," be zero.",{"type":13,"tag":288,"props":346,"children":347},{},[348,354,355,361,363,366,368,374],{"type":13,"tag":21,"props":349,"children":351},{"className":350},[],[352],{"type":18,"value":353},"parameters",{"type":18,"value":298},{"type":13,"tag":300,"props":356,"children":358},{"href":357},"/man/VkDisplayModeParametersKHR",[359],{"type":18,"value":360},"VkDisplayModeParametersKHR",{"type":18,"value":362}," structure\ndescribing the display parameters to use in creating the new mode.\nIf the parameters are not compatible with the specified display, the\nimplementation ",{"type":13,"tag":339,"props":364,"children":365},{"type":341},[],{"type":18,"value":367}," return ",{"type":13,"tag":21,"props":369,"children":371},{"className":370},[],[372],{"type":18,"value":373},"VK_ERROR_INITIALIZATION_FAILED",{"type":18,"value":375},".",{"type":13,"tag":377,"props":378,"children":380},"validity-group",{"name":379},"Valid Usage (Implicit)",[381,407,429,452],{"type":13,"tag":382,"props":383,"children":385},"validity-field",{"name":384},"VUID-VkDisplayModeCreateInfoKHR-sType-sType",[386],{"type":13,"tag":14,"props":387,"children":388},{},[389,394,396,399,401],{"type":13,"tag":21,"props":390,"children":392},{"className":391},[],[393],{"type":18,"value":296},{"type":18,"value":395}," ",{"type":13,"tag":339,"props":397,"children":398},{"type":341},[],{"type":18,"value":400}," be ",{"type":13,"tag":21,"props":402,"children":404},{"className":403},[],[405],{"type":18,"value":406},"VK_STRUCTURE_TYPE_DISPLAY_MODE_CREATE_INFO_KHR",{"type":13,"tag":382,"props":408,"children":410},{"name":409},"VUID-VkDisplayModeCreateInfoKHR-pNext-pNext",[411],{"type":13,"tag":14,"props":412,"children":413},{},[414,419,420,423,424],{"type":13,"tag":21,"props":415,"children":417},{"className":416},[],[418],{"type":18,"value":316},{"type":18,"value":395},{"type":13,"tag":339,"props":421,"children":422},{"type":341},[],{"type":18,"value":400},{"type":13,"tag":21,"props":425,"children":427},{"className":426},[],[428],{"type":18,"value":324},{"type":13,"tag":382,"props":430,"children":432},{"name":431},"VUID-VkDisplayModeCreateInfoKHR-flags-zerobitmask",[433],{"type":13,"tag":14,"props":434,"children":435},{},[436,441,442,445,446],{"type":13,"tag":21,"props":437,"children":439},{"className":438},[],[440],{"type":18,"value":335},{"type":18,"value":395},{"type":13,"tag":339,"props":443,"children":444},{"type":341},[],{"type":18,"value":400},{"type":13,"tag":21,"props":447,"children":449},{"className":448},[],[450],{"type":18,"value":451},"0",{"type":13,"tag":382,"props":453,"children":455},{"name":454},"VUID-VkDisplayModeCreateInfoKHR-parameters-parameter",[456],{"type":13,"tag":14,"props":457,"children":458},{},[459,464,465,468,470,474],{"type":13,"tag":21,"props":460,"children":462},{"className":461},[],[463],{"type":18,"value":353},{"type":18,"value":395},{"type":13,"tag":339,"props":466,"children":467},{"type":341},[],{"type":18,"value":469}," be a valid ",{"type":13,"tag":300,"props":471,"children":472},{"href":357},[473],{"type":18,"value":360},{"type":18,"value":475}," structure",{"type":13,"tag":477,"props":478,"children":479},"style",{},[480],{"type":18,"value":481},"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":39,"searchDepth":69,"depth":69,"links":483},[],"markdown",1729612445362]