[{"data":1,"prerenderedAt":631},["ShallowReactive",2],{"PfxUg4mDGz":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":630,"_id":4},"VkPresentTimesInfoGOOGLE","The earliest time each image should be presented","VK_GOOGLE_display_timing","structs",[],{"type":10,"children":11,"toc":628},"root",[12,64,76,351,464,524,622],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,26,28,33,35,38,40,46,48,54,56,62],{"type":18,"value":19},"text","When the ",{"type":13,"tag":21,"props":22,"children":24},"a",{"href":23},"/extensions/VK_GOOGLE_display_timing",[25],{"type":18,"value":6},{"type":18,"value":27}," extension is enabled, additional\nfields ",{"type":13,"tag":29,"props":30,"children":32},"normative",{"type":31},"can",[],{"type":18,"value":34}," be specified that allow an application to specify the earliest\ntime that an image should be displayed.\nThis allows an application to avoid stutter that is caused by an image being\ndisplayed earlier than planned.\nSuch stuttering can occur with both fixed and variable-refresh-rate\ndisplays, because stuttering occurs when the geometry is not correctly\npositioned for when the image is displayed.\nAn application ",{"type":13,"tag":29,"props":36,"children":37},{"type":31},[],{"type":18,"value":39}," instruct the presentation engine that an image should\nnot be displayed earlier than a specified time by adding a\n",{"type":13,"tag":41,"props":42,"children":44},"code",{"className":43},[],[45],{"type":18,"value":4},{"type":18,"value":47}," structure to the ",{"type":13,"tag":41,"props":49,"children":51},{"className":50},[],[52],{"type":18,"value":53},"pNext",{"type":18,"value":55}," chain of the\n",{"type":13,"tag":41,"props":57,"children":59},{"className":58},[],[60],{"type":18,"value":61},"VkPresentInfoKHR",{"type":18,"value":63}," structure.",{"type":13,"tag":14,"props":65,"children":66},{},[67,69,74],{"type":18,"value":68},"The ",{"type":13,"tag":41,"props":70,"children":72},{"className":71},[],[73],{"type":18,"value":4},{"type":18,"value":75}," structure is defined as:",{"type":13,"tag":77,"props":78,"children":79},"code-group",{},[80,189],{"type":13,"tag":81,"props":82,"children":88},"pre",{"className":83,"code":84,"filename":85,"language":86,"meta":87,"style":87},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkPresentTimesInfoGOOGLE {\n VkStructureType sType;\n const void* pNext;\n uint32_t swapchainCount;\n const VkPresentTimeGOOGLE* pTimes;\n} VkPresentTimesInfoGOOGLE;\n","C","c","",[89],{"type":13,"tag":41,"props":90,"children":91},{"__ignoreMap":87},[92,115,124,143,157,180],{"type":13,"tag":93,"props":94,"children":97},"span",{"class":95,"line":96},"line",1,[98,104,109],{"type":13,"tag":93,"props":99,"children":101},{"style":100},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[102],{"type":18,"value":103},"typedef",{"type":13,"tag":93,"props":105,"children":106},{"style":100},[107],{"type":18,"value":108}," struct",{"type":13,"tag":93,"props":110,"children":112},{"style":111},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[113],{"type":18,"value":114}," VkPresentTimesInfoGOOGLE {\n",{"type":13,"tag":93,"props":116,"children":118},{"class":95,"line":117},2,[119],{"type":13,"tag":93,"props":120,"children":121},{"style":111},[122],{"type":18,"value":123}," VkStructureType sType;\n",{"type":13,"tag":93,"props":125,"children":127},{"class":95,"line":126},3,[128,133,138],{"type":13,"tag":93,"props":129,"children":130},{"style":100},[131],{"type":18,"value":132}," const",{"type":13,"tag":93,"props":134,"children":135},{"style":100},[136],{"type":18,"value":137}," void*",{"type":13,"tag":93,"props":139,"children":140},{"style":111},[141],{"type":18,"value":142}," pNext;\n",{"type":13,"tag":93,"props":144,"children":146},{"class":95,"line":145},4,[147,152],{"type":13,"tag":93,"props":148,"children":149},{"style":100},[150],{"type":18,"value":151}," uint32_t",{"type":13,"tag":93,"props":153,"children":154},{"style":111},[155],{"type":18,"value":156}," swapchainCount;\n",{"type":13,"tag":93,"props":158,"children":160},{"class":95,"line":159},5,[161,165,170,175],{"type":13,"tag":93,"props":162,"children":163},{"style":100},[164],{"type":18,"value":132},{"type":13,"tag":93,"props":166,"children":167},{"style":111},[168],{"type":18,"value":169}," VkPresentTimeGOOGLE",{"type":13,"tag":93,"props":171,"children":172},{"style":100},[173],{"type":18,"value":174},"*",{"type":13,"tag":93,"props":176,"children":177},{"style":111},[178],{"type":18,"value":179}," pTimes;\n",{"type":13,"tag":93,"props":181,"children":183},{"class":95,"line":182},6,[184],{"type":13,"tag":93,"props":185,"children":186},{"style":111},[187],{"type":18,"value":188},"} VkPresentTimesInfoGOOGLE;\n",{"type":13,"tag":81,"props":190,"children":195},{"className":191,"code":192,"filename":193,"language":194,"meta":87,"style":87},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PresentTimesInfoGOOGLE {\n s_type: vk::StructureType,\n p_next: *const c_void,\n swapchain_count: u32, // Copy of VkPresentInfoKHR::swapchainCount\n p_times: *const vk::PresentTimeGOOGLE, // The earliest times to present images\n}\n","Rust","rs",[196],{"type":13,"tag":41,"props":197,"children":198},{"__ignoreMap":87},[199,222,255,277,305,343],{"type":13,"tag":93,"props":200,"children":201},{"class":95,"line":96},[202,207,211,217],{"type":13,"tag":93,"props":203,"children":204},{"style":100},[205],{"type":18,"value":206},"pub",{"type":13,"tag":93,"props":208,"children":209},{"style":100},[210],{"type":18,"value":108},{"type":13,"tag":93,"props":212,"children":214},{"style":213},"--shiki-default:#953800;--shiki-dark:#FFA657",[215],{"type":18,"value":216}," PresentTimesInfoGOOGLE",{"type":13,"tag":93,"props":218,"children":219},{"style":111},[220],{"type":18,"value":221}," {\n",{"type":13,"tag":93,"props":223,"children":224},{"class":95,"line":117},[225,230,235,240,245,250],{"type":13,"tag":93,"props":226,"children":227},{"style":111},[228],{"type":18,"value":229}," s_type",{"type":13,"tag":93,"props":231,"children":232},{"style":100},[233],{"type":18,"value":234},":",{"type":13,"tag":93,"props":236,"children":237},{"style":213},[238],{"type":18,"value":239}," vk",{"type":13,"tag":93,"props":241,"children":242},{"style":100},[243],{"type":18,"value":244},"::",{"type":13,"tag":93,"props":246,"children":247},{"style":213},[248],{"type":18,"value":249},"StructureType",{"type":13,"tag":93,"props":251,"children":252},{"style":111},[253],{"type":18,"value":254},",\n",{"type":13,"tag":93,"props":256,"children":257},{"class":95,"line":126},[258,263,267,272],{"type":13,"tag":93,"props":259,"children":260},{"style":111},[261],{"type":18,"value":262}," p_next",{"type":13,"tag":93,"props":264,"children":265},{"style":100},[266],{"type":18,"value":234},{"type":13,"tag":93,"props":268,"children":269},{"style":100},[270],{"type":18,"value":271}," *const",{"type":13,"tag":93,"props":273,"children":274},{"style":111},[275],{"type":18,"value":276}," c_void,\n",{"type":13,"tag":93,"props":278,"children":279},{"class":95,"line":145},[280,285,289,294,299],{"type":13,"tag":93,"props":281,"children":282},{"style":111},[283],{"type":18,"value":284}," swapchain_count",{"type":13,"tag":93,"props":286,"children":287},{"style":100},[288],{"type":18,"value":234},{"type":13,"tag":93,"props":290,"children":291},{"style":213},[292],{"type":18,"value":293}," u32",{"type":13,"tag":93,"props":295,"children":296},{"style":111},[297],{"type":18,"value":298},", ",{"type":13,"tag":93,"props":300,"children":302},{"style":301},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[303],{"type":18,"value":304},"// Copy of VkPresentInfoKHR::swapchainCount\n",{"type":13,"tag":93,"props":306,"children":307},{"class":95,"line":159},[308,313,317,321,325,329,334,338],{"type":13,"tag":93,"props":309,"children":310},{"style":111},[311],{"type":18,"value":312}," p_times",{"type":13,"tag":93,"props":314,"children":315},{"style":100},[316],{"type":18,"value":234},{"type":13,"tag":93,"props":318,"children":319},{"style":100},[320],{"type":18,"value":271},{"type":13,"tag":93,"props":322,"children":323},{"style":213},[324],{"type":18,"value":239},{"type":13,"tag":93,"props":326,"children":327},{"style":100},[328],{"type":18,"value":244},{"type":13,"tag":93,"props":330,"children":331},{"style":213},[332],{"type":18,"value":333},"PresentTimeGOOGLE",{"type":13,"tag":93,"props":335,"children":336},{"style":111},[337],{"type":18,"value":298},{"type":13,"tag":93,"props":339,"children":340},{"style":301},[341],{"type":18,"value":342},"// The earliest times to present images\n",{"type":13,"tag":93,"props":344,"children":345},{"class":95,"line":182},[346],{"type":13,"tag":93,"props":347,"children":348},{"style":111},[349],{"type":18,"value":350},"}\n",{"type":13,"tag":352,"props":353,"children":354},"ul",{},[355,375,393,404],{"type":13,"tag":356,"props":357,"children":358},"li",{},[359,365,367,373],{"type":13,"tag":41,"props":360,"children":362},{"className":361},[],[363],{"type":18,"value":364},"sType",{"type":18,"value":366}," is a ",{"type":13,"tag":21,"props":368,"children":370},{"href":369},"/man/VkStructureType",[371],{"type":18,"value":372},"VkStructureType",{"type":18,"value":374}," value identifying this structure.",{"type":13,"tag":356,"props":376,"children":377},{},[378,383,385,391],{"type":13,"tag":41,"props":379,"children":381},{"className":380},[],[382],{"type":18,"value":53},{"type":18,"value":384}," is ",{"type":13,"tag":41,"props":386,"children":388},{"className":387},[],[389],{"type":18,"value":390},"NULL",{"type":18,"value":392}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":356,"props":394,"children":395},{},[396,402],{"type":13,"tag":41,"props":397,"children":399},{"className":398},[],[400],{"type":18,"value":401},"swapchainCount",{"type":18,"value":403}," is the number of swapchains being presented to by\nthis command.",{"type":13,"tag":356,"props":405,"children":406},{},[407,413,414,419,421,427,429,434,436,441,443,448,450,455,456,462],{"type":13,"tag":41,"props":408,"children":410},{"className":409},[],[411],{"type":18,"value":412},"pTimes",{"type":18,"value":384},{"type":13,"tag":41,"props":415,"children":417},{"className":416},[],[418],{"type":18,"value":390},{"type":18,"value":420}," or a pointer to an array of\n",{"type":13,"tag":41,"props":422,"children":424},{"className":423},[],[425],{"type":18,"value":426},"VkPresentTimeGOOGLE",{"type":18,"value":428}," elements with ",{"type":13,"tag":41,"props":430,"children":432},{"className":431},[],[433],{"type":18,"value":401},{"type":18,"value":435}," entries.\nIf not ",{"type":13,"tag":41,"props":437,"children":439},{"className":438},[],[440],{"type":18,"value":390},{"type":18,"value":442},", each element of ",{"type":13,"tag":41,"props":444,"children":446},{"className":445},[],[447],{"type":18,"value":412},{"type":18,"value":449}," contains the earliest time\nto present the image corresponding to the entry in the\n",{"type":13,"tag":41,"props":451,"children":453},{"className":452},[],[454],{"type":18,"value":61},{"type":18,"value":244},{"type":13,"tag":41,"props":457,"children":459},{"className":458},[],[460],{"type":18,"value":461},"pImageIndices",{"type":18,"value":463}," array.",{"type":13,"tag":465,"props":466,"children":468},"validity-group",{"name":467},"Valid Usage",[469],{"type":13,"tag":470,"props":471,"children":473},"validity-field",{"name":472},"VUID-VkPresentTimesInfoGOOGLE-swapchainCount-01247",[474],{"type":13,"tag":14,"props":475,"children":476},{},[477,482,484,488,490,495,496,501,503,508,510,515,517,522],{"type":13,"tag":41,"props":478,"children":480},{"className":479},[],[481],{"type":18,"value":401},{"type":18,"value":483}," ",{"type":13,"tag":29,"props":485,"children":487},{"type":486},"must",[],{"type":18,"value":489}," be the same value as\n",{"type":13,"tag":41,"props":491,"children":493},{"className":492},[],[494],{"type":18,"value":61},{"type":18,"value":244},{"type":13,"tag":41,"props":497,"children":499},{"className":498},[],[500],{"type":18,"value":401},{"type":18,"value":502},", where\n",{"type":13,"tag":41,"props":504,"children":506},{"className":505},[],[507],{"type":18,"value":61},{"type":18,"value":509}," is included in the ",{"type":13,"tag":41,"props":511,"children":513},{"className":512},[],[514],{"type":18,"value":53},{"type":18,"value":516}," chain of this\n",{"type":13,"tag":41,"props":518,"children":520},{"className":519},[],[521],{"type":18,"value":4},{"type":18,"value":523}," structure",{"type":13,"tag":465,"props":525,"children":527},{"name":526},"Valid Usage (Implicit)",[528,552,598],{"type":13,"tag":470,"props":529,"children":531},{"name":530},"VUID-VkPresentTimesInfoGOOGLE-sType-sType",[532],{"type":13,"tag":14,"props":533,"children":534},{},[535,540,541,544,546],{"type":13,"tag":41,"props":536,"children":538},{"className":537},[],[539],{"type":18,"value":364},{"type":18,"value":483},{"type":13,"tag":29,"props":542,"children":543},{"type":486},[],{"type":18,"value":545}," be ",{"type":13,"tag":41,"props":547,"children":549},{"className":548},[],[550],{"type":18,"value":551},"VK_STRUCTURE_TYPE_PRESENT_TIMES_INFO_GOOGLE",{"type":13,"tag":470,"props":553,"children":555},{"name":554},"VUID-VkPresentTimesInfoGOOGLE-pTimes-parameter",[556],{"type":13,"tag":14,"props":557,"children":558},{},[559,561,566,568,573,574,579,580,583,585,590,591,596],{"type":18,"value":560},"If ",{"type":13,"tag":41,"props":562,"children":564},{"className":563},[],[565],{"type":18,"value":412},{"type":18,"value":567}," is not ",{"type":13,"tag":41,"props":569,"children":571},{"className":570},[],[572],{"type":18,"value":390},{"type":18,"value":298},{"type":13,"tag":41,"props":575,"children":577},{"className":576},[],[578],{"type":18,"value":412},{"type":18,"value":483},{"type":13,"tag":29,"props":581,"children":582},{"type":486},[],{"type":18,"value":584}," be a valid pointer to an array of ",{"type":13,"tag":41,"props":586,"children":588},{"className":587},[],[589],{"type":18,"value":401},{"type":18,"value":483},{"type":13,"tag":21,"props":592,"children":594},{"href":593},"/man/VkPresentTimeGOOGLE",[595],{"type":18,"value":426},{"type":18,"value":597}," structures",{"type":13,"tag":470,"props":599,"children":601},{"name":600},"VUID-VkPresentTimesInfoGOOGLE-swapchainCount-arraylength",[602],{"type":13,"tag":14,"props":603,"children":604},{},[605,610,611,614,616],{"type":13,"tag":41,"props":606,"children":608},{"className":607},[],[609],{"type":18,"value":401},{"type":18,"value":483},{"type":13,"tag":29,"props":612,"children":613},{"type":486},[],{"type":18,"value":615}," be greater than ",{"type":13,"tag":41,"props":617,"children":619},{"className":618},[],[620],{"type":18,"value":621},"0",{"type":13,"tag":623,"props":624,"children":625},"style",{},[626],{"type":18,"value":627},"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":87,"searchDepth":117,"depth":117,"links":629},[],"markdown",1729612475019]