[{"data":1,"prerenderedAt":148},["ShallowReactive",2],{"XS63eahqta":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":147,"_id":4},"VkEvent","Opaque handle to an event object","VK_VERSION_1_0","handles",[],{"type":10,"children":11,"toc":145},"root",[12,48,61,139],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,25,27,31,33,36,38,41,43,46],{"type":18,"value":19},"text","Events are a synchronization primitive that ",{"type":13,"tag":21,"props":22,"children":24},"normative",{"type":23},"can",[],{"type":18,"value":26}," be used to insert a\nfine-grained dependency between commands submitted to the same queue, or\nbetween the host and a queue.\nEvents ",{"type":13,"tag":21,"props":28,"children":30},{"type":29},"must",[],{"type":18,"value":32}," not be used to insert a dependency between commands submitted\nto different queues.\nEvents have two states - signaled and unsignaled.\nAn application ",{"type":13,"tag":21,"props":34,"children":35},{"type":23},[],{"type":18,"value":37}," signal or unsignal an event either on the host or on the\ndevice.\nA device ",{"type":13,"tag":21,"props":39,"children":40},{"type":23},[],{"type":18,"value":42}," be made to wait for an event to become signaled before\nexecuting further operations.\nNo command exists to wait for an event to become signaled on the host, but\nthe current state of an event ",{"type":13,"tag":21,"props":44,"children":45},{"type":23},[],{"type":18,"value":47}," be queried.",{"type":13,"tag":14,"props":49,"children":50},{},[51,53,59],{"type":18,"value":52},"Events are represented by ",{"type":13,"tag":54,"props":55,"children":57},"code",{"className":56},[],[58],{"type":18,"value":4},{"type":18,"value":60}," handles:",{"type":13,"tag":62,"props":63,"children":64},"code-group",{},[65,95],{"type":13,"tag":66,"props":67,"children":73},"pre",{"className":68,"code":69,"filename":70,"language":71,"meta":72,"style":72},"language-c shiki shiki-themes github-light-default github-dark-default","VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkEvent)\n","C","c","",[74],{"type":13,"tag":54,"props":75,"children":76},{"__ignoreMap":72},[77],{"type":13,"tag":78,"props":79,"children":82},"span",{"class":80,"line":81},"line",1,[83,89],{"type":13,"tag":78,"props":84,"children":86},{"style":85},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[87],{"type":18,"value":88},"VK_DEFINE_NON_DISPATCHABLE_HANDLE",{"type":13,"tag":78,"props":90,"children":92},{"style":91},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[93],{"type":18,"value":94},"(VkEvent)\n",{"type":13,"tag":66,"props":96,"children":101},{"className":97,"code":98,"filename":99,"language":100,"meta":72,"style":72},"language-rs shiki shiki-themes github-light-default github-dark-default","#[repr(transparent)]\npub struct Event(_);\n","Rust","rs",[102],{"type":13,"tag":54,"props":103,"children":104},{"__ignoreMap":72},[105,113],{"type":13,"tag":78,"props":106,"children":107},{"class":80,"line":81},[108],{"type":13,"tag":78,"props":109,"children":110},{"style":91},[111],{"type":18,"value":112},"#[repr(transparent)]\n",{"type":13,"tag":78,"props":114,"children":116},{"class":80,"line":115},2,[117,123,128,134],{"type":13,"tag":78,"props":118,"children":120},{"style":119},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[121],{"type":18,"value":122},"pub",{"type":13,"tag":78,"props":124,"children":125},{"style":119},[126],{"type":18,"value":127}," struct",{"type":13,"tag":78,"props":129,"children":131},{"style":130},"--shiki-default:#953800;--shiki-dark:#FFA657",[132],{"type":18,"value":133}," Event",{"type":13,"tag":78,"props":135,"children":136},{"style":91},[137],{"type":18,"value":138},"(_);\n",{"type":13,"tag":140,"props":141,"children":142},"style",{},[143],{"type":18,"value":144},"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":72,"searchDepth":115,"depth":115,"links":146},[],"markdown",1725732551075]