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