[{"data":1,"prerenderedAt":537},["ShallowReactive",2],{"bImugJepZi":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":536,"_id":4},"vkResetEvent","Reset an event to non-signaled state","VK_VERSION_1_0","protos",[],{"type":10,"children":11,"toc":534},"root",[12,20,243,268,289,313,427,504,528],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","To set the state of an event to unsignaled from the host, call:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,98],{"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 vkResetEvent(\n VkDevice device,\n VkEvent event);\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,59,79],{"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}," VkDevice ",{"type":13,"tag":38,"props":69,"children":71},{"style":70},"--shiki-default:#953800;--shiki-dark:#FFA657",[72],{"type":18,"value":73},"device",{"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}," VkEvent ",{"type":13,"tag":38,"props":89,"children":90},{"style":70},[91],{"type":18,"value":92},"event",{"type":13,"tag":38,"props":94,"children":95},{"style":45},[96],{"type":18,"value":97},");\n",{"type":13,"tag":25,"props":99,"children":104},{"className":100,"code":101,"filename":102,"language":103,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn reset_event(\n device: crate :: vk :: vk::Device,\n event: vk::Event,\n) -> vk::Result;\n","Rust","rs",[105],{"type":13,"tag":34,"props":106,"children":107},{"__ignoreMap":31},[108,131,182,211],{"type":13,"tag":38,"props":109,"children":110},{"class":40,"line":41},[111,117,122,127],{"type":13,"tag":38,"props":112,"children":114},{"style":113},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[115],{"type":18,"value":116},"pub",{"type":13,"tag":38,"props":118,"children":119},{"style":113},[120],{"type":18,"value":121}," fn",{"type":13,"tag":38,"props":123,"children":124},{"style":51},[125],{"type":18,"value":126}," reset_event",{"type":13,"tag":38,"props":128,"children":129},{"style":45},[130],{"type":18,"value":58},{"type":13,"tag":38,"props":132,"children":133},{"class":40,"line":61},[134,139,144,149,154,159,164,169,173,178],{"type":13,"tag":38,"props":135,"children":136},{"style":45},[137],{"type":18,"value":138}," device",{"type":13,"tag":38,"props":140,"children":141},{"style":113},[142],{"type":18,"value":143},":",{"type":13,"tag":38,"props":145,"children":146},{"style":113},[147],{"type":18,"value":148}," crate",{"type":13,"tag":38,"props":150,"children":151},{"style":113},[152],{"type":18,"value":153}," ::",{"type":13,"tag":38,"props":155,"children":156},{"style":45},[157],{"type":18,"value":158}," vk ",{"type":13,"tag":38,"props":160,"children":161},{"style":113},[162],{"type":18,"value":163},"::",{"type":13,"tag":38,"props":165,"children":166},{"style":70},[167],{"type":18,"value":168}," vk",{"type":13,"tag":38,"props":170,"children":171},{"style":113},[172],{"type":18,"value":163},{"type":13,"tag":38,"props":174,"children":175},{"style":70},[176],{"type":18,"value":177},"Device",{"type":13,"tag":38,"props":179,"children":180},{"style":45},[181],{"type":18,"value":78},{"type":13,"tag":38,"props":183,"children":184},{"class":40,"line":81},[185,190,194,198,202,207],{"type":13,"tag":38,"props":186,"children":187},{"style":45},[188],{"type":18,"value":189}," event",{"type":13,"tag":38,"props":191,"children":192},{"style":113},[193],{"type":18,"value":143},{"type":13,"tag":38,"props":195,"children":196},{"style":70},[197],{"type":18,"value":168},{"type":13,"tag":38,"props":199,"children":200},{"style":113},[201],{"type":18,"value":163},{"type":13,"tag":38,"props":203,"children":204},{"style":70},[205],{"type":18,"value":206},"Event",{"type":13,"tag":38,"props":208,"children":209},{"style":45},[210],{"type":18,"value":78},{"type":13,"tag":38,"props":212,"children":214},{"class":40,"line":213},4,[215,220,225,229,233,238],{"type":13,"tag":38,"props":216,"children":217},{"style":45},[218],{"type":18,"value":219},") ",{"type":13,"tag":38,"props":221,"children":222},{"style":113},[223],{"type":18,"value":224},"->",{"type":13,"tag":38,"props":226,"children":227},{"style":70},[228],{"type":18,"value":168},{"type":13,"tag":38,"props":230,"children":231},{"style":113},[232],{"type":18,"value":163},{"type":13,"tag":38,"props":234,"children":235},{"style":70},[236],{"type":18,"value":237},"Result",{"type":13,"tag":38,"props":239,"children":240},{"style":45},[241],{"type":18,"value":242},";\n",{"type":13,"tag":244,"props":245,"children":246},"ul",{},[247,258],{"type":13,"tag":248,"props":249,"children":250},"li",{},[251,256],{"type":13,"tag":34,"props":252,"children":254},{"className":253},[],[255],{"type":18,"value":73},{"type":18,"value":257}," is the logical device that owns the event.",{"type":13,"tag":248,"props":259,"children":260},{},[261,266],{"type":13,"tag":34,"props":262,"children":264},{"className":263},[],[265],{"type":18,"value":92},{"type":18,"value":267}," is the event to reset.",{"type":13,"tag":14,"props":269,"children":270},{},[271,273,279,281,287],{"type":18,"value":272},"When ",{"type":13,"tag":274,"props":275,"children":277},"a",{"href":276},"/man/vkResetEvent",[278],{"type":18,"value":4},{"type":18,"value":280}," is executed on the host, it defines an ",{"type":13,"tag":282,"props":283,"children":284},"em",{},[285],{"type":18,"value":286},"event\nunsignal operation",{"type":18,"value":288}," which resets the event to the unsignaled state.",{"type":13,"tag":14,"props":290,"children":291},{},[292,294,299,301,305,307,311],{"type":18,"value":293},"If ",{"type":13,"tag":34,"props":295,"children":297},{"className":296},[],[298],{"type":18,"value":92},{"type":18,"value":300}," is already in the unsignaled state when ",{"type":13,"tag":274,"props":302,"children":303},{"href":276},[304],{"type":18,"value":4},{"type":18,"value":306}," is\nexecuted, then ",{"type":13,"tag":274,"props":308,"children":309},{"href":276},[310],{"type":18,"value":4},{"type":18,"value":312}," has no effect, and no event unsignal\noperation occurs.",{"type":13,"tag":314,"props":315,"children":317},"validity-group",{"name":316},"Valid Usage",[318,365,402],{"type":13,"tag":319,"props":320,"children":322},"validity-field",{"name":321},"VUID-vkResetEvent-event-03821",[323],{"type":13,"tag":14,"props":324,"children":325},{},[326,328,333,335,340,342,348,350,355,357,363],{"type":18,"value":327},"There ",{"type":13,"tag":329,"props":330,"children":332},"normative",{"type":331},"must",[],{"type":18,"value":334}," be an execution dependency between ",{"type":13,"tag":34,"props":336,"children":338},{"className":337},[],[339],{"type":18,"value":4},{"type":18,"value":341}," and\nthe execution of any ",{"type":13,"tag":274,"props":343,"children":345},{"href":344},"/man/vkCmdWaitEvents",[346],{"type":18,"value":347},"vkCmdWaitEvents",{"type":18,"value":349}," that includes ",{"type":13,"tag":34,"props":351,"children":353},{"className":352},[],[354],{"type":18,"value":92},{"type":18,"value":356}," in\nits ",{"type":13,"tag":34,"props":358,"children":360},{"className":359},[],[361],{"type":18,"value":362},"pEvents",{"type":18,"value":364}," parameter",{"type":13,"tag":319,"props":366,"children":368},{"name":367},"VUID-vkResetEvent-event-03822",[369],{"type":13,"tag":14,"props":370,"children":371},{},[372,373,376,377,382,383,389,390,395,396,401],{"type":18,"value":327},{"type":13,"tag":329,"props":374,"children":375},{"type":331},[],{"type":18,"value":334},{"type":13,"tag":34,"props":378,"children":380},{"className":379},[],[381],{"type":18,"value":4},{"type":18,"value":341},{"type":13,"tag":274,"props":384,"children":386},{"href":385},"/man/vkCmdWaitEvents2",[387],{"type":18,"value":388},"vkCmdWaitEvents2",{"type":18,"value":349},{"type":13,"tag":34,"props":391,"children":393},{"className":392},[],[394],{"type":18,"value":92},{"type":18,"value":356},{"type":13,"tag":34,"props":397,"children":399},{"className":398},[],[400],{"type":18,"value":362},{"type":18,"value":364},{"type":13,"tag":319,"props":403,"children":405},{"name":404},"VUID-vkResetEvent-event-03823",[406],{"type":13,"tag":14,"props":407,"children":408},{},[409,414,416,419,421],{"type":13,"tag":34,"props":410,"children":412},{"className":411},[],[413],{"type":18,"value":92},{"type":18,"value":415}," ",{"type":13,"tag":329,"props":417,"children":418},{"type":331},[],{"type":18,"value":420}," not have been created with\n",{"type":13,"tag":34,"props":422,"children":424},{"className":423},[],[425],{"type":18,"value":426},"VK_EVENT_CREATE_DEVICE_ONLY_BIT",{"type":13,"tag":314,"props":428,"children":430},{"name":429},"Valid Usage (Implicit)",[431,457,481],{"type":13,"tag":319,"props":432,"children":434},{"name":433},"VUID-vkResetEvent-device-parameter",[435],{"type":13,"tag":14,"props":436,"children":437},{},[438,443,444,447,449,455],{"type":13,"tag":34,"props":439,"children":441},{"className":440},[],[442],{"type":18,"value":73},{"type":18,"value":415},{"type":13,"tag":329,"props":445,"children":446},{"type":331},[],{"type":18,"value":448}," be a valid ",{"type":13,"tag":274,"props":450,"children":452},{"href":451},"/man/VkDevice",[453],{"type":18,"value":454},"VkDevice",{"type":18,"value":456}," handle",{"type":13,"tag":319,"props":458,"children":460},{"name":459},"VUID-vkResetEvent-event-parameter",[461],{"type":13,"tag":14,"props":462,"children":463},{},[464,469,470,473,474,480],{"type":13,"tag":34,"props":465,"children":467},{"className":466},[],[468],{"type":18,"value":92},{"type":18,"value":415},{"type":13,"tag":329,"props":471,"children":472},{"type":331},[],{"type":18,"value":448},{"type":13,"tag":274,"props":475,"children":477},{"href":476},"/man/VkEvent",[478],{"type":18,"value":479},"VkEvent",{"type":18,"value":456},{"type":13,"tag":319,"props":482,"children":484},{"name":483},"VUID-vkResetEvent-event-parent",[485],{"type":13,"tag":14,"props":486,"children":487},{},[488,493,494,497,499],{"type":13,"tag":34,"props":489,"children":491},{"className":490},[],[492],{"type":18,"value":92},{"type":18,"value":415},{"type":13,"tag":329,"props":495,"children":496},{"type":331},[],{"type":18,"value":498}," have been created, allocated, or retrieved from ",{"type":13,"tag":34,"props":500,"children":502},{"className":501},[],[503],{"type":18,"value":73},{"type":13,"tag":505,"props":506,"children":508},"validity-box",{"name":507},"Host Synchronization",[509],{"type":13,"tag":244,"props":510,"children":511},{},[512],{"type":13,"tag":248,"props":513,"children":514},{},[515,517,522,523,526],{"type":18,"value":516},"Host access to ",{"type":13,"tag":34,"props":518,"children":520},{"className":519},[],[521],{"type":18,"value":92},{"type":18,"value":415},{"type":13,"tag":329,"props":524,"children":525},{"type":331},[],{"type":18,"value":527}," be externally synchronized\n::",{"type":13,"tag":529,"props":530,"children":531},"style",{},[532],{"type":18,"value":533},"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":535},[],"markdown",1729612520582]