[{"data":1,"prerenderedAt":703},["ShallowReactive",2],{"qNRZBi4AXZ":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":702,"_id":4},"vkRegisterDisplayEventEXT","Signal a fence when a display event occurs","VK_EXT_display_control","protos",[],{"type":10,"children":11,"toc":700},"root",[12,29,429,515,694],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27],{"type":18,"value":19},"text","To create a fence that will be signaled when an event occurs on a\n",{"type":13,"tag":21,"props":22,"children":24},"a",{"href":23},"/man/VkDisplayKHR",[25],{"type":18,"value":26},"VkDisplayKHR",{"type":18,"value":28}," object, call:",{"type":13,"tag":30,"props":31,"children":32},"code-group",{},[33,184],{"type":13,"tag":34,"props":35,"children":41},"pre",{"className":36,"code":37,"filename":38,"language":39,"meta":40,"style":40},"language-c shiki shiki-themes github-light-default github-dark-default","VkResult vkRegisterDisplayEventEXT(\n VkDevice device,\n VkDisplayKHR display,\n const VkDisplayEventInfoEXT* pDisplayEventInfo,\n const VkAllocationCallbacks* pAllocator,\n VkFence* pFence);\n","C","c","",[42],{"type":13,"tag":43,"props":44,"children":45},"code",{"__ignoreMap":40},[46,68,88,106,135,161],{"type":13,"tag":47,"props":48,"children":51},"span",{"class":49,"line":50},"line",1,[52,58,63],{"type":13,"tag":47,"props":53,"children":55},{"style":54},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[56],{"type":18,"value":57},"VkResult ",{"type":13,"tag":47,"props":59,"children":61},{"style":60},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[62],{"type":18,"value":4},{"type":13,"tag":47,"props":64,"children":65},{"style":54},[66],{"type":18,"value":67},"(\n",{"type":13,"tag":47,"props":69,"children":71},{"class":49,"line":70},2,[72,77,83],{"type":13,"tag":47,"props":73,"children":74},{"style":54},[75],{"type":18,"value":76}," VkDevice ",{"type":13,"tag":47,"props":78,"children":80},{"style":79},"--shiki-default:#953800;--shiki-dark:#FFA657",[81],{"type":18,"value":82},"device",{"type":13,"tag":47,"props":84,"children":85},{"style":54},[86],{"type":18,"value":87},",\n",{"type":13,"tag":47,"props":89,"children":91},{"class":49,"line":90},3,[92,97,102],{"type":13,"tag":47,"props":93,"children":94},{"style":54},[95],{"type":18,"value":96}," VkDisplayKHR ",{"type":13,"tag":47,"props":98,"children":99},{"style":79},[100],{"type":18,"value":101},"display",{"type":13,"tag":47,"props":103,"children":104},{"style":54},[105],{"type":18,"value":87},{"type":13,"tag":47,"props":107,"children":109},{"class":49,"line":108},4,[110,116,121,126,131],{"type":13,"tag":47,"props":111,"children":113},{"style":112},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[114],{"type":18,"value":115}," const",{"type":13,"tag":47,"props":117,"children":118},{"style":54},[119],{"type":18,"value":120}," VkDisplayEventInfoEXT",{"type":13,"tag":47,"props":122,"children":123},{"style":112},[124],{"type":18,"value":125},"*",{"type":13,"tag":47,"props":127,"children":128},{"style":79},[129],{"type":18,"value":130}," pDisplayEventInfo",{"type":13,"tag":47,"props":132,"children":133},{"style":54},[134],{"type":18,"value":87},{"type":13,"tag":47,"props":136,"children":138},{"class":49,"line":137},5,[139,143,148,152,157],{"type":13,"tag":47,"props":140,"children":141},{"style":112},[142],{"type":18,"value":115},{"type":13,"tag":47,"props":144,"children":145},{"style":54},[146],{"type":18,"value":147}," VkAllocationCallbacks",{"type":13,"tag":47,"props":149,"children":150},{"style":112},[151],{"type":18,"value":125},{"type":13,"tag":47,"props":153,"children":154},{"style":79},[155],{"type":18,"value":156}," pAllocator",{"type":13,"tag":47,"props":158,"children":159},{"style":54},[160],{"type":18,"value":87},{"type":13,"tag":47,"props":162,"children":164},{"class":49,"line":163},6,[165,170,174,179],{"type":13,"tag":47,"props":166,"children":167},{"style":54},[168],{"type":18,"value":169}," VkFence",{"type":13,"tag":47,"props":171,"children":172},{"style":112},[173],{"type":18,"value":125},{"type":13,"tag":47,"props":175,"children":176},{"style":79},[177],{"type":18,"value":178}," pFence",{"type":13,"tag":47,"props":180,"children":181},{"style":54},[182],{"type":18,"value":183},");\n",{"type":13,"tag":34,"props":185,"children":190},{"className":186,"code":187,"filename":188,"language":189,"meta":40,"style":40},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn register_display_event_ext(\n device: crate :: vk :: vk::Device,\n display: vk::DisplayKHR,\n p_display_event_info: *const vk::DisplayEventInfoEXT,\n p_allocator: *const vk::AllocationCallbacks,\n p_fence: *mut vk::Fence,\n) -> vk::Result;\n","Rust","rs",[191],{"type":13,"tag":43,"props":192,"children":193},{"__ignoreMap":40},[194,216,267,296,330,363,397],{"type":13,"tag":47,"props":195,"children":196},{"class":49,"line":50},[197,202,207,212],{"type":13,"tag":47,"props":198,"children":199},{"style":112},[200],{"type":18,"value":201},"pub",{"type":13,"tag":47,"props":203,"children":204},{"style":112},[205],{"type":18,"value":206}," fn",{"type":13,"tag":47,"props":208,"children":209},{"style":60},[210],{"type":18,"value":211}," register_display_event_ext",{"type":13,"tag":47,"props":213,"children":214},{"style":54},[215],{"type":18,"value":67},{"type":13,"tag":47,"props":217,"children":218},{"class":49,"line":70},[219,224,229,234,239,244,249,254,258,263],{"type":13,"tag":47,"props":220,"children":221},{"style":54},[222],{"type":18,"value":223}," device",{"type":13,"tag":47,"props":225,"children":226},{"style":112},[227],{"type":18,"value":228},":",{"type":13,"tag":47,"props":230,"children":231},{"style":112},[232],{"type":18,"value":233}," crate",{"type":13,"tag":47,"props":235,"children":236},{"style":112},[237],{"type":18,"value":238}," ::",{"type":13,"tag":47,"props":240,"children":241},{"style":54},[242],{"type":18,"value":243}," vk ",{"type":13,"tag":47,"props":245,"children":246},{"style":112},[247],{"type":18,"value":248},"::",{"type":13,"tag":47,"props":250,"children":251},{"style":79},[252],{"type":18,"value":253}," vk",{"type":13,"tag":47,"props":255,"children":256},{"style":112},[257],{"type":18,"value":248},{"type":13,"tag":47,"props":259,"children":260},{"style":79},[261],{"type":18,"value":262},"Device",{"type":13,"tag":47,"props":264,"children":265},{"style":54},[266],{"type":18,"value":87},{"type":13,"tag":47,"props":268,"children":269},{"class":49,"line":90},[270,275,279,283,287,292],{"type":13,"tag":47,"props":271,"children":272},{"style":54},[273],{"type":18,"value":274}," display",{"type":13,"tag":47,"props":276,"children":277},{"style":112},[278],{"type":18,"value":228},{"type":13,"tag":47,"props":280,"children":281},{"style":79},[282],{"type":18,"value":253},{"type":13,"tag":47,"props":284,"children":285},{"style":112},[286],{"type":18,"value":248},{"type":13,"tag":47,"props":288,"children":289},{"style":79},[290],{"type":18,"value":291},"DisplayKHR",{"type":13,"tag":47,"props":293,"children":294},{"style":54},[295],{"type":18,"value":87},{"type":13,"tag":47,"props":297,"children":298},{"class":49,"line":108},[299,304,308,313,317,321,326],{"type":13,"tag":47,"props":300,"children":301},{"style":54},[302],{"type":18,"value":303}," p_display_event_info",{"type":13,"tag":47,"props":305,"children":306},{"style":112},[307],{"type":18,"value":228},{"type":13,"tag":47,"props":309,"children":310},{"style":112},[311],{"type":18,"value":312}," *const",{"type":13,"tag":47,"props":314,"children":315},{"style":79},[316],{"type":18,"value":253},{"type":13,"tag":47,"props":318,"children":319},{"style":112},[320],{"type":18,"value":248},{"type":13,"tag":47,"props":322,"children":323},{"style":79},[324],{"type":18,"value":325},"DisplayEventInfoEXT",{"type":13,"tag":47,"props":327,"children":328},{"style":54},[329],{"type":18,"value":87},{"type":13,"tag":47,"props":331,"children":332},{"class":49,"line":137},[333,338,342,346,350,354,359],{"type":13,"tag":47,"props":334,"children":335},{"style":54},[336],{"type":18,"value":337}," p_allocator",{"type":13,"tag":47,"props":339,"children":340},{"style":112},[341],{"type":18,"value":228},{"type":13,"tag":47,"props":343,"children":344},{"style":112},[345],{"type":18,"value":312},{"type":13,"tag":47,"props":347,"children":348},{"style":79},[349],{"type":18,"value":253},{"type":13,"tag":47,"props":351,"children":352},{"style":112},[353],{"type":18,"value":248},{"type":13,"tag":47,"props":355,"children":356},{"style":79},[357],{"type":18,"value":358},"AllocationCallbacks",{"type":13,"tag":47,"props":360,"children":361},{"style":54},[362],{"type":18,"value":87},{"type":13,"tag":47,"props":364,"children":365},{"class":49,"line":163},[366,371,375,380,384,388,393],{"type":13,"tag":47,"props":367,"children":368},{"style":54},[369],{"type":18,"value":370}," p_fence",{"type":13,"tag":47,"props":372,"children":373},{"style":112},[374],{"type":18,"value":228},{"type":13,"tag":47,"props":376,"children":377},{"style":112},[378],{"type":18,"value":379}," *mut",{"type":13,"tag":47,"props":381,"children":382},{"style":79},[383],{"type":18,"value":253},{"type":13,"tag":47,"props":385,"children":386},{"style":112},[387],{"type":18,"value":248},{"type":13,"tag":47,"props":389,"children":390},{"style":79},[391],{"type":18,"value":392},"Fence",{"type":13,"tag":47,"props":394,"children":395},{"style":54},[396],{"type":18,"value":87},{"type":13,"tag":47,"props":398,"children":400},{"class":49,"line":399},7,[401,406,411,415,419,424],{"type":13,"tag":47,"props":402,"children":403},{"style":54},[404],{"type":18,"value":405},") ",{"type":13,"tag":47,"props":407,"children":408},{"style":112},[409],{"type":18,"value":410},"->",{"type":13,"tag":47,"props":412,"children":413},{"style":79},[414],{"type":18,"value":253},{"type":13,"tag":47,"props":416,"children":417},{"style":112},[418],{"type":18,"value":248},{"type":13,"tag":47,"props":420,"children":421},{"style":79},[422],{"type":18,"value":423},"Result",{"type":13,"tag":47,"props":425,"children":426},{"style":54},[427],{"type":18,"value":428},";\n",{"type":13,"tag":430,"props":431,"children":432},"ul",{},[433,449,466,485,504],{"type":13,"tag":434,"props":435,"children":436},"li",{},[437,442,444],{"type":13,"tag":43,"props":438,"children":440},{"className":439},[],[441],{"type":18,"value":82},{"type":18,"value":443}," is a logical device associated with ",{"type":13,"tag":43,"props":445,"children":447},{"className":446},[],[448],{"type":18,"value":101},{"type":13,"tag":434,"props":450,"children":451},{},[452,457,459,464],{"type":13,"tag":43,"props":453,"children":455},{"className":454},[],[456],{"type":18,"value":101},{"type":18,"value":458}," is the display on which the event ",{"type":13,"tag":460,"props":461,"children":463},"normative",{"type":462},"may",[],{"type":18,"value":465}," occur.",{"type":13,"tag":434,"props":467,"children":468},{},[469,475,477,483],{"type":13,"tag":43,"props":470,"children":472},{"className":471},[],[473],{"type":18,"value":474},"pDisplayEventInfo",{"type":18,"value":476}," is a pointer to a ",{"type":13,"tag":21,"props":478,"children":480},{"href":479},"/man/VkDisplayEventInfoEXT",[481],{"type":18,"value":482},"VkDisplayEventInfoEXT",{"type":18,"value":484},"\nstructure describing the event of interest to the application.",{"type":13,"tag":434,"props":486,"children":487},{},[488,494,496,502],{"type":13,"tag":43,"props":489,"children":491},{"className":490},[],[492],{"type":18,"value":493},"pAllocator",{"type":18,"value":495}," controls host memory allocation as described in the\n",{"type":13,"tag":21,"props":497,"children":499},{"href":498},"/chapters/memory#memory-allocation",[500],{"type":18,"value":501},"Memory Allocation",{"type":18,"value":503}," chapter.",{"type":13,"tag":434,"props":505,"children":506},{},[507,513],{"type":13,"tag":43,"props":508,"children":510},{"className":509},[],[511],{"type":18,"value":512},"pFence",{"type":18,"value":514}," is a pointer to a handle in which the resulting fence\nobject is returned.",{"type":13,"tag":516,"props":517,"children":519},"validity-group",{"name":518},"Valid Usage (Implicit)",[520,549,571,595,636,661],{"type":13,"tag":521,"props":522,"children":524},"validity-field",{"name":523},"VUID-vkRegisterDisplayEventEXT-device-parameter",[525],{"type":13,"tag":14,"props":526,"children":527},{},[528,533,535,539,541,547],{"type":13,"tag":43,"props":529,"children":531},{"className":530},[],[532],{"type":18,"value":82},{"type":18,"value":534}," ",{"type":13,"tag":460,"props":536,"children":538},{"type":537},"must",[],{"type":18,"value":540}," be a valid ",{"type":13,"tag":21,"props":542,"children":544},{"href":543},"/man/VkDevice",[545],{"type":18,"value":546},"VkDevice",{"type":18,"value":548}," handle",{"type":13,"tag":521,"props":550,"children":552},{"name":551},"VUID-vkRegisterDisplayEventEXT-display-parameter",[553],{"type":13,"tag":14,"props":554,"children":555},{},[556,561,562,565,566,570],{"type":13,"tag":43,"props":557,"children":559},{"className":558},[],[560],{"type":18,"value":101},{"type":18,"value":534},{"type":13,"tag":460,"props":563,"children":564},{"type":537},[],{"type":18,"value":540},{"type":13,"tag":21,"props":567,"children":568},{"href":23},[569],{"type":18,"value":26},{"type":18,"value":548},{"type":13,"tag":521,"props":572,"children":574},{"name":573},"VUID-vkRegisterDisplayEventEXT-pDisplayEventInfo-parameter",[575],{"type":13,"tag":14,"props":576,"children":577},{},[578,583,584,587,589,593],{"type":13,"tag":43,"props":579,"children":581},{"className":580},[],[582],{"type":18,"value":474},{"type":18,"value":534},{"type":13,"tag":460,"props":585,"children":586},{"type":537},[],{"type":18,"value":588}," be a valid pointer to a valid ",{"type":13,"tag":21,"props":590,"children":591},{"href":479},[592],{"type":18,"value":482},{"type":18,"value":594}," structure",{"type":13,"tag":521,"props":596,"children":598},{"name":597},"VUID-vkRegisterDisplayEventEXT-pAllocator-parameter",[599],{"type":13,"tag":14,"props":600,"children":601},{},[602,604,609,611,617,619,624,625,628,629,635],{"type":18,"value":603},"If ",{"type":13,"tag":43,"props":605,"children":607},{"className":606},[],[608],{"type":18,"value":493},{"type":18,"value":610}," is not ",{"type":13,"tag":43,"props":612,"children":614},{"className":613},[],[615],{"type":18,"value":616},"NULL",{"type":18,"value":618},", ",{"type":13,"tag":43,"props":620,"children":622},{"className":621},[],[623],{"type":18,"value":493},{"type":18,"value":534},{"type":13,"tag":460,"props":626,"children":627},{"type":537},[],{"type":18,"value":588},{"type":13,"tag":21,"props":630,"children":632},{"href":631},"/man/VkAllocationCallbacks",[633],{"type":18,"value":634},"VkAllocationCallbacks",{"type":18,"value":594},{"type":13,"tag":521,"props":637,"children":639},{"name":638},"VUID-vkRegisterDisplayEventEXT-pFence-parameter",[640],{"type":13,"tag":14,"props":641,"children":642},{},[643,648,649,652,654,660],{"type":13,"tag":43,"props":644,"children":646},{"className":645},[],[647],{"type":18,"value":512},{"type":18,"value":534},{"type":13,"tag":460,"props":650,"children":651},{"type":537},[],{"type":18,"value":653}," be a valid pointer to a ",{"type":13,"tag":21,"props":655,"children":657},{"href":656},"/man/VkFence",[658],{"type":18,"value":659},"VkFence",{"type":18,"value":548},{"type":13,"tag":521,"props":662,"children":664},{"name":663},"VUID-vkRegisterDisplayEventEXT-commonparent",[665],{"type":13,"tag":14,"props":666,"children":667},{},[668,670,675,677,682,683,686,688],{"type":18,"value":669},"Both of ",{"type":13,"tag":43,"props":671,"children":673},{"className":672},[],[674],{"type":18,"value":82},{"type":18,"value":676},", and ",{"type":13,"tag":43,"props":678,"children":680},{"className":679},[],[681],{"type":18,"value":101},{"type":18,"value":534},{"type":13,"tag":460,"props":684,"children":685},{"type":537},[],{"type":18,"value":687}," have been created, allocated, or retrieved from the same ",{"type":13,"tag":21,"props":689,"children":691},{"href":690},"/man/VkPhysicalDevice",[692],{"type":18,"value":693},"VkPhysicalDevice",{"type":13,"tag":695,"props":696,"children":697},"style",{},[698],{"type":18,"value":699},"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":40,"searchDepth":70,"depth":70,"links":701},[],"markdown",1725732622953]