[{"data":1,"prerenderedAt":729},["ShallowReactive",2],{"$fiPiJyrDGvDbo-wyc7MPSVJTq3ilJJwKA176SBUkjar8":3},{"title":4,"description":5,"parent":6,"structextends":7,"type":9,"xrefs":10,"body":11,"_type":728,"_id":4},"VkPresentTimingsInfoEXT","Array of VkPresentTimingInfoEXT to chain with VkPresentInfoKHR","VK_EXT_present_timing",[8],"VkPresentInfoKHR","structs",[],{"type":12,"children":13,"toc":726},"root",[14,77,89,364,477,622,720],{"type":15,"tag":16,"props":17,"children":18},"element","p",{},[19,22,34,36,46,48,53,55,60,62,68,70,75],{"type":20,"value":21},"text","When the ",{"type":15,"tag":23,"props":24,"children":26},"a",{"href":25},"/man/VkPhysicalDevicePresentTimingFeaturesEXT#features-presentAtAbsoluteTime",[27],{"type":15,"tag":28,"props":29,"children":31},"code",{"className":30},[],[32],{"type":20,"value":33},"presentAtAbsoluteTime",{"type":20,"value":35}," or\n",{"type":15,"tag":23,"props":37,"children":39},{"href":38},"/man/VkPhysicalDevicePresentTimingFeaturesEXT#features-presentAtRelativeTime",[40],{"type":15,"tag":28,"props":41,"children":43},{"className":42},[],[44],{"type":20,"value":45},"presentAtRelativeTime",{"type":20,"value":47}," feature is\nenabled, an application ",{"type":15,"tag":49,"props":50,"children":52},"normative",{"type":51},"can",[],{"type":20,"value":54}," instruct the presentation engine to attempt to\ndisplay an image at a specified time, or for a minimum duration, by\nincluding the ",{"type":15,"tag":28,"props":56,"children":58},{"className":57},[],[59],{"type":20,"value":4},{"type":20,"value":61}," structure in the ",{"type":15,"tag":28,"props":63,"children":65},{"className":64},[],[66],{"type":20,"value":67},"pNext",{"type":20,"value":69},"\nchain of the ",{"type":15,"tag":23,"props":71,"children":73},{"href":72},"/man/VkPresentInfoKHR",[74],{"type":20,"value":8},{"type":20,"value":76}," structure.",{"type":15,"tag":16,"props":78,"children":79},{},[80,82,87],{"type":20,"value":81},"The ",{"type":15,"tag":28,"props":83,"children":85},{"className":84},[],[86],{"type":20,"value":4},{"type":20,"value":88}," structure is defined as:",{"type":15,"tag":90,"props":91,"children":92},"code-group",{},[93,202],{"type":15,"tag":94,"props":95,"children":101},"pre",{"className":96,"code":97,"filename":98,"language":99,"meta":100,"style":100},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkPresentTimingsInfoEXT {\n VkStructureType sType;\n const void* pNext;\n uint32_t swapchainCount;\n const VkPresentTimingInfoEXT* pTimingInfos;\n} VkPresentTimingsInfoEXT;\n","C","c","",[102],{"type":15,"tag":28,"props":103,"children":104},{"__ignoreMap":100},[105,128,137,156,170,193],{"type":15,"tag":106,"props":107,"children":110},"span",{"class":108,"line":109},"line",1,[111,117,122],{"type":15,"tag":106,"props":112,"children":114},{"style":113},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[115],{"type":20,"value":116},"typedef",{"type":15,"tag":106,"props":118,"children":119},{"style":113},[120],{"type":20,"value":121}," struct",{"type":15,"tag":106,"props":123,"children":125},{"style":124},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[126],{"type":20,"value":127}," VkPresentTimingsInfoEXT {\n",{"type":15,"tag":106,"props":129,"children":131},{"class":108,"line":130},2,[132],{"type":15,"tag":106,"props":133,"children":134},{"style":124},[135],{"type":20,"value":136}," VkStructureType sType;\n",{"type":15,"tag":106,"props":138,"children":140},{"class":108,"line":139},3,[141,146,151],{"type":15,"tag":106,"props":142,"children":143},{"style":113},[144],{"type":20,"value":145}," const",{"type":15,"tag":106,"props":147,"children":148},{"style":113},[149],{"type":20,"value":150}," void*",{"type":15,"tag":106,"props":152,"children":153},{"style":124},[154],{"type":20,"value":155}," pNext;\n",{"type":15,"tag":106,"props":157,"children":159},{"class":108,"line":158},4,[160,165],{"type":15,"tag":106,"props":161,"children":162},{"style":113},[163],{"type":20,"value":164}," uint32_t",{"type":15,"tag":106,"props":166,"children":167},{"style":124},[168],{"type":20,"value":169}," swapchainCount;\n",{"type":15,"tag":106,"props":171,"children":173},{"class":108,"line":172},5,[174,178,183,188],{"type":15,"tag":106,"props":175,"children":176},{"style":113},[177],{"type":20,"value":145},{"type":15,"tag":106,"props":179,"children":180},{"style":124},[181],{"type":20,"value":182}," VkPresentTimingInfoEXT",{"type":15,"tag":106,"props":184,"children":185},{"style":113},[186],{"type":20,"value":187},"*",{"type":15,"tag":106,"props":189,"children":190},{"style":124},[191],{"type":20,"value":192}," pTimingInfos;\n",{"type":15,"tag":106,"props":194,"children":196},{"class":108,"line":195},6,[197],{"type":15,"tag":106,"props":198,"children":199},{"style":124},[200],{"type":20,"value":201},"} VkPresentTimingsInfoEXT;\n",{"type":15,"tag":94,"props":203,"children":208},{"className":204,"code":205,"filename":206,"language":207,"meta":100,"style":100},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PresentTimingsInfoEXT {\n s_type: vk::StructureType,\n p_next: *const c_void,\n swapchain_count: u32, // Copy of VkPresentInfoKHR::swapchainCount\n p_timing_infos: *const vk::PresentTimingInfoEXT, // Present timing details for each swapchain\n}\n","Rust","rs",[209],{"type":15,"tag":28,"props":210,"children":211},{"__ignoreMap":100},[212,235,268,290,318,356],{"type":15,"tag":106,"props":213,"children":214},{"class":108,"line":109},[215,220,224,230],{"type":15,"tag":106,"props":216,"children":217},{"style":113},[218],{"type":20,"value":219},"pub",{"type":15,"tag":106,"props":221,"children":222},{"style":113},[223],{"type":20,"value":121},{"type":15,"tag":106,"props":225,"children":227},{"style":226},"--shiki-default:#953800;--shiki-dark:#FFA657",[228],{"type":20,"value":229}," PresentTimingsInfoEXT",{"type":15,"tag":106,"props":231,"children":232},{"style":124},[233],{"type":20,"value":234}," {\n",{"type":15,"tag":106,"props":236,"children":237},{"class":108,"line":130},[238,243,248,253,258,263],{"type":15,"tag":106,"props":239,"children":240},{"style":124},[241],{"type":20,"value":242}," s_type",{"type":15,"tag":106,"props":244,"children":245},{"style":113},[246],{"type":20,"value":247},":",{"type":15,"tag":106,"props":249,"children":250},{"style":226},[251],{"type":20,"value":252}," vk",{"type":15,"tag":106,"props":254,"children":255},{"style":113},[256],{"type":20,"value":257},"::",{"type":15,"tag":106,"props":259,"children":260},{"style":226},[261],{"type":20,"value":262},"StructureType",{"type":15,"tag":106,"props":264,"children":265},{"style":124},[266],{"type":20,"value":267},",\n",{"type":15,"tag":106,"props":269,"children":270},{"class":108,"line":139},[271,276,280,285],{"type":15,"tag":106,"props":272,"children":273},{"style":124},[274],{"type":20,"value":275}," p_next",{"type":15,"tag":106,"props":277,"children":278},{"style":113},[279],{"type":20,"value":247},{"type":15,"tag":106,"props":281,"children":282},{"style":113},[283],{"type":20,"value":284}," *const",{"type":15,"tag":106,"props":286,"children":287},{"style":124},[288],{"type":20,"value":289}," c_void,\n",{"type":15,"tag":106,"props":291,"children":292},{"class":108,"line":158},[293,298,302,307,312],{"type":15,"tag":106,"props":294,"children":295},{"style":124},[296],{"type":20,"value":297}," swapchain_count",{"type":15,"tag":106,"props":299,"children":300},{"style":113},[301],{"type":20,"value":247},{"type":15,"tag":106,"props":303,"children":304},{"style":226},[305],{"type":20,"value":306}," u32",{"type":15,"tag":106,"props":308,"children":309},{"style":124},[310],{"type":20,"value":311},", ",{"type":15,"tag":106,"props":313,"children":315},{"style":314},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[316],{"type":20,"value":317},"// Copy of VkPresentInfoKHR::swapchainCount\n",{"type":15,"tag":106,"props":319,"children":320},{"class":108,"line":172},[321,326,330,334,338,342,347,351],{"type":15,"tag":106,"props":322,"children":323},{"style":124},[324],{"type":20,"value":325}," p_timing_infos",{"type":15,"tag":106,"props":327,"children":328},{"style":113},[329],{"type":20,"value":247},{"type":15,"tag":106,"props":331,"children":332},{"style":113},[333],{"type":20,"value":284},{"type":15,"tag":106,"props":335,"children":336},{"style":226},[337],{"type":20,"value":252},{"type":15,"tag":106,"props":339,"children":340},{"style":113},[341],{"type":20,"value":257},{"type":15,"tag":106,"props":343,"children":344},{"style":226},[345],{"type":20,"value":346},"PresentTimingInfoEXT",{"type":15,"tag":106,"props":348,"children":349},{"style":124},[350],{"type":20,"value":311},{"type":15,"tag":106,"props":352,"children":353},{"style":314},[354],{"type":20,"value":355},"// Present timing details for each swapchain\n",{"type":15,"tag":106,"props":357,"children":358},{"class":108,"line":195},[359],{"type":15,"tag":106,"props":360,"children":361},{"style":124},[362],{"type":20,"value":363},"}\n",{"type":15,"tag":365,"props":366,"children":367},"ul",{},[368,388,406,417],{"type":15,"tag":369,"props":370,"children":371},"li",{},[372,378,380,386],{"type":15,"tag":28,"props":373,"children":375},{"className":374},[],[376],{"type":20,"value":377},"sType",{"type":20,"value":379}," is a ",{"type":15,"tag":23,"props":381,"children":383},{"href":382},"/man/VkStructureType",[384],{"type":20,"value":385},"VkStructureType",{"type":20,"value":387}," value identifying this structure.",{"type":15,"tag":369,"props":389,"children":390},{},[391,396,398,404],{"type":15,"tag":28,"props":392,"children":394},{"className":393},[],[395],{"type":20,"value":67},{"type":20,"value":397}," is ",{"type":15,"tag":28,"props":399,"children":401},{"className":400},[],[402],{"type":20,"value":403},"NULL",{"type":20,"value":405}," or a pointer to a structure extending this\nstructure.",{"type":15,"tag":369,"props":407,"children":408},{},[409,415],{"type":15,"tag":28,"props":410,"children":412},{"className":411},[],[413],{"type":20,"value":414},"swapchainCount",{"type":20,"value":416}," is the number of swapchains being presented to by\nthis command.",{"type":15,"tag":369,"props":418,"children":419},{},[420,426,427,432,434,440,442,447,449,454,456,461,463,468,469,475],{"type":15,"tag":28,"props":421,"children":423},{"className":422},[],[424],{"type":20,"value":425},"pTimingInfos",{"type":20,"value":397},{"type":15,"tag":28,"props":428,"children":430},{"className":429},[],[431],{"type":20,"value":403},{"type":20,"value":433}," or a pointer to an array of\n",{"type":15,"tag":28,"props":435,"children":437},{"className":436},[],[438],{"type":20,"value":439},"VkPresentTimingInfoEXT",{"type":20,"value":441}," elements with ",{"type":15,"tag":28,"props":443,"children":445},{"className":444},[],[446],{"type":20,"value":414},{"type":20,"value":448}," entries.\nIf not ",{"type":15,"tag":28,"props":450,"children":452},{"className":451},[],[453],{"type":20,"value":403},{"type":20,"value":455},", each element of ",{"type":15,"tag":28,"props":457,"children":459},{"className":458},[],[460],{"type":20,"value":425},{"type":20,"value":462}," contains timing\ninformation for the presentation of the image corresponding to the entry\nin the ",{"type":15,"tag":28,"props":464,"children":466},{"className":465},[],[467],{"type":20,"value":8},{"type":20,"value":257},{"type":15,"tag":28,"props":470,"children":472},{"className":471},[],[473],{"type":20,"value":474},"pImageIndices",{"type":20,"value":476}," array.",{"type":15,"tag":478,"props":479,"children":481},"validity-group",{"name":480},"Valid Usage",[482,513,560],{"type":15,"tag":483,"props":484,"children":486},"validity-field",{"name":485},"VUID-VkPresentTimingsInfoEXT-swapchainCount-12233",[487],{"type":15,"tag":16,"props":488,"children":489},{},[490,495,497,501,503,507,508],{"type":15,"tag":28,"props":491,"children":493},{"className":492},[],[494],{"type":20,"value":414},{"type":20,"value":496}," ",{"type":15,"tag":49,"props":498,"children":500},{"type":499},"must",[],{"type":20,"value":502}," be equal to\n",{"type":15,"tag":23,"props":504,"children":505},{"href":72},[506],{"type":20,"value":8},{"type":20,"value":257},{"type":15,"tag":28,"props":509,"children":511},{"className":510},[],[512],{"type":20,"value":414},{"type":15,"tag":483,"props":514,"children":516},{"name":515},"VUID-VkPresentTimingsInfoEXT-pSwapchains-12234",[517],{"type":15,"tag":16,"props":518,"children":519},{},[520,522,526,527,533,534,537,539,545,546,552,554],{"type":20,"value":521},"All swapchains in ",{"type":15,"tag":23,"props":523,"children":524},{"href":72},[525],{"type":20,"value":8},{"type":20,"value":257},{"type":15,"tag":28,"props":528,"children":530},{"className":529},[],[531],{"type":20,"value":532},"pSwapchains",{"type":20,"value":496},{"type":15,"tag":49,"props":535,"children":536},{"type":499},[],{"type":20,"value":538}," have\nbeen created with the ",{"type":15,"tag":23,"props":540,"children":542},{"href":541},"/man/VkSwapchainCreateInfoKHR",[543],{"type":20,"value":544},"VkSwapchainCreateInfoKHR",{"type":20,"value":257},{"type":15,"tag":28,"props":547,"children":549},{"className":548},[],[550],{"type":20,"value":551},"flags",{"type":20,"value":553}," field\ncontaining ",{"type":15,"tag":28,"props":555,"children":557},{"className":556},[],[558],{"type":20,"value":559},"VK_SWAPCHAIN_CREATE_PRESENT_TIMING_BIT_EXT",{"type":15,"tag":483,"props":561,"children":563},{"name":562},"VUID-VkPresentTimingsInfoEXT-pSwapchains-12235",[564],{"type":15,"tag":16,"props":565,"children":566},{},[567,569,574,575,580,582,587,588,594,596,599,601,607,608,614,616],{"type":20,"value":568},"For each member of ",{"type":15,"tag":28,"props":570,"children":572},{"className":571},[],[573],{"type":20,"value":8},{"type":20,"value":257},{"type":15,"tag":28,"props":576,"children":578},{"className":577},[],[579],{"type":20,"value":532},{"type":20,"value":581},", if the\nassociated ",{"type":15,"tag":23,"props":583,"children":585},{"href":584},"/man/VkPresentTimingInfoEXT",[586],{"type":20,"value":439},{"type":20,"value":257},{"type":15,"tag":28,"props":589,"children":591},{"className":590},[],[592],{"type":20,"value":593},"targetTime",{"type":20,"value":595}," is not zero,\nthe swapchain’s current present mode ",{"type":15,"tag":49,"props":597,"children":598},{"type":499},[],{"type":20,"value":600}," be\n",{"type":15,"tag":28,"props":602,"children":604},{"className":603},[],[605],{"type":20,"value":606},"VK_PRESENT_MODE_FIFO_LATEST_READY_KHR",{"type":20,"value":267},{"type":15,"tag":28,"props":609,"children":611},{"className":610},[],[612],{"type":20,"value":613},"VK_PRESENT_MODE_FIFO_KHR",{"type":20,"value":615}," or ",{"type":15,"tag":28,"props":617,"children":619},{"className":618},[],[620],{"type":20,"value":621},"VK_PRESENT_MODE_FIFO_RELAXED_KHR",{"type":15,"tag":478,"props":623,"children":625},{"name":624},"Valid Usage (Implicit)",[626,650,696],{"type":15,"tag":483,"props":627,"children":629},{"name":628},"VUID-VkPresentTimingsInfoEXT-sType-sType",[630],{"type":15,"tag":16,"props":631,"children":632},{},[633,638,639,642,644],{"type":15,"tag":28,"props":634,"children":636},{"className":635},[],[637],{"type":20,"value":377},{"type":20,"value":496},{"type":15,"tag":49,"props":640,"children":641},{"type":499},[],{"type":20,"value":643}," be ",{"type":15,"tag":28,"props":645,"children":647},{"className":646},[],[648],{"type":20,"value":649},"VK_STRUCTURE_TYPE_PRESENT_TIMINGS_INFO_EXT",{"type":15,"tag":483,"props":651,"children":653},{"name":652},"VUID-VkPresentTimingsInfoEXT-pTimingInfos-parameter",[654],{"type":15,"tag":16,"props":655,"children":656},{},[657,659,664,666,671,672,677,678,681,683,688,690,694],{"type":20,"value":658},"If ",{"type":15,"tag":28,"props":660,"children":662},{"className":661},[],[663],{"type":20,"value":425},{"type":20,"value":665}," is not ",{"type":15,"tag":28,"props":667,"children":669},{"className":668},[],[670],{"type":20,"value":403},{"type":20,"value":311},{"type":15,"tag":28,"props":673,"children":675},{"className":674},[],[676],{"type":20,"value":425},{"type":20,"value":496},{"type":15,"tag":49,"props":679,"children":680},{"type":499},[],{"type":20,"value":682}," be a valid pointer to an array of ",{"type":15,"tag":28,"props":684,"children":686},{"className":685},[],[687],{"type":20,"value":414},{"type":20,"value":689}," valid ",{"type":15,"tag":23,"props":691,"children":692},{"href":584},[693],{"type":20,"value":439},{"type":20,"value":695}," structures",{"type":15,"tag":483,"props":697,"children":699},{"name":698},"VUID-VkPresentTimingsInfoEXT-swapchainCount-arraylength",[700],{"type":15,"tag":16,"props":701,"children":702},{},[703,708,709,712,714],{"type":15,"tag":28,"props":704,"children":706},{"className":705},[],[707],{"type":20,"value":414},{"type":20,"value":496},{"type":15,"tag":49,"props":710,"children":711},{"type":499},[],{"type":20,"value":713}," be greater than ",{"type":15,"tag":28,"props":715,"children":717},{"className":716},[],[718],{"type":20,"value":719},"0",{"type":15,"tag":721,"props":722,"children":723},"style",{},[724],{"type":20,"value":725},"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":100,"searchDepth":130,"depth":130,"links":727},[],"markdown",1773121608438]