[{"data":1,"prerenderedAt":479},["ShallowReactive",2],{"mU6OFs3WxD":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":478,"_id":4},"VkImportMetalSharedEventInfoEXT","Structure that identifies a VkSemaphore or VkEvent object and corresponding Metal Shared Event object to use.","VK_EXT_metal_objects","structs",[],{"type":10,"children":11,"toc":476},"root",[12,91,103,305,376,437,470],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27,29,36,38,44,46,51,53,59,61,67,68,74,76,82,83,89],{"type":18,"value":19},"text","To import a Metal ",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":26},"id\u003CMTLSharedEvent>",{"type":18,"value":28}," object to underlie 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":30,"props":62,"children":64},{"href":63},"/man/VkSemaphoreCreateInfo",[65],{"type":18,"value":66},"VkSemaphoreCreateInfo",{"type":18,"value":37},{"type":13,"tag":30,"props":69,"children":71},{"href":70},"/man/VkEventCreateInfo",[72],{"type":18,"value":73},"VkEventCreateInfo",{"type":18,"value":75}," structure in a\n",{"type":13,"tag":30,"props":77,"children":79},{"href":78},"/man/vkCreateSemaphore",[80],{"type":18,"value":81},"vkCreateSemaphore",{"type":18,"value":37},{"type":13,"tag":30,"props":84,"children":86},{"href":85},"/man/vkCreateEvent",[87],{"type":18,"value":88},"vkCreateEvent",{"type":18,"value":90}," command, respectively.",{"type":13,"tag":14,"props":92,"children":93},{},[94,96,101],{"type":18,"value":95},"The ",{"type":13,"tag":21,"props":97,"children":99},{"className":98},[],[100],{"type":18,"value":4},{"type":18,"value":102}," structure is defined as:",{"type":13,"tag":104,"props":105,"children":106},"code-group",{},[107,188],{"type":13,"tag":108,"props":109,"children":115},"pre",{"className":110,"code":111,"filename":112,"language":113,"meta":114,"style":114},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkImportMetalSharedEventInfoEXT {\n VkStructureType sType;\n const void* pNext;\n MTLSharedEvent_id mtlSharedEvent;\n} VkImportMetalSharedEventInfoEXT;\n","C","c","",[116],{"type":13,"tag":21,"props":117,"children":118},{"__ignoreMap":114},[119,142,151,170,179],{"type":13,"tag":120,"props":121,"children":124},"span",{"class":122,"line":123},"line",1,[125,131,136],{"type":13,"tag":120,"props":126,"children":128},{"style":127},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[129],{"type":18,"value":130},"typedef",{"type":13,"tag":120,"props":132,"children":133},{"style":127},[134],{"type":18,"value":135}," struct",{"type":13,"tag":120,"props":137,"children":139},{"style":138},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[140],{"type":18,"value":141}," VkImportMetalSharedEventInfoEXT {\n",{"type":13,"tag":120,"props":143,"children":145},{"class":122,"line":144},2,[146],{"type":13,"tag":120,"props":147,"children":148},{"style":138},[149],{"type":18,"value":150}," VkStructureType sType;\n",{"type":13,"tag":120,"props":152,"children":154},{"class":122,"line":153},3,[155,160,165],{"type":13,"tag":120,"props":156,"children":157},{"style":127},[158],{"type":18,"value":159}," const",{"type":13,"tag":120,"props":161,"children":162},{"style":127},[163],{"type":18,"value":164}," void*",{"type":13,"tag":120,"props":166,"children":167},{"style":138},[168],{"type":18,"value":169}," pNext;\n",{"type":13,"tag":120,"props":171,"children":173},{"class":122,"line":172},4,[174],{"type":13,"tag":120,"props":175,"children":176},{"style":138},[177],{"type":18,"value":178}," MTLSharedEvent_id mtlSharedEvent;\n",{"type":13,"tag":120,"props":180,"children":182},{"class":122,"line":181},5,[183],{"type":13,"tag":120,"props":184,"children":185},{"style":138},[186],{"type":18,"value":187},"} VkImportMetalSharedEventInfoEXT;\n",{"type":13,"tag":108,"props":189,"children":194},{"className":190,"code":191,"filename":192,"language":193,"meta":114,"style":114},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct ImportMetalSharedEventInfoEXT {\n s_type: vk::StructureType,\n p_next: *const c_void,\n mtl_shared_event: MTLSharedEvent_id,\n}\n","Rust","rs",[195],{"type":13,"tag":21,"props":196,"children":197},{"__ignoreMap":114},[198,221,254,276,297],{"type":13,"tag":120,"props":199,"children":200},{"class":122,"line":123},[201,206,210,216],{"type":13,"tag":120,"props":202,"children":203},{"style":127},[204],{"type":18,"value":205},"pub",{"type":13,"tag":120,"props":207,"children":208},{"style":127},[209],{"type":18,"value":135},{"type":13,"tag":120,"props":211,"children":213},{"style":212},"--shiki-default:#953800;--shiki-dark:#FFA657",[214],{"type":18,"value":215}," ImportMetalSharedEventInfoEXT",{"type":13,"tag":120,"props":217,"children":218},{"style":138},[219],{"type":18,"value":220}," {\n",{"type":13,"tag":120,"props":222,"children":223},{"class":122,"line":144},[224,229,234,239,244,249],{"type":13,"tag":120,"props":225,"children":226},{"style":138},[227],{"type":18,"value":228}," s_type",{"type":13,"tag":120,"props":230,"children":231},{"style":127},[232],{"type":18,"value":233},":",{"type":13,"tag":120,"props":235,"children":236},{"style":212},[237],{"type":18,"value":238}," vk",{"type":13,"tag":120,"props":240,"children":241},{"style":127},[242],{"type":18,"value":243},"::",{"type":13,"tag":120,"props":245,"children":246},{"style":212},[247],{"type":18,"value":248},"StructureType",{"type":13,"tag":120,"props":250,"children":251},{"style":138},[252],{"type":18,"value":253},",\n",{"type":13,"tag":120,"props":255,"children":256},{"class":122,"line":153},[257,262,266,271],{"type":13,"tag":120,"props":258,"children":259},{"style":138},[260],{"type":18,"value":261}," p_next",{"type":13,"tag":120,"props":263,"children":264},{"style":127},[265],{"type":18,"value":233},{"type":13,"tag":120,"props":267,"children":268},{"style":127},[269],{"type":18,"value":270}," *const",{"type":13,"tag":120,"props":272,"children":273},{"style":138},[274],{"type":18,"value":275}," c_void,\n",{"type":13,"tag":120,"props":277,"children":278},{"class":122,"line":172},[279,284,288,293],{"type":13,"tag":120,"props":280,"children":281},{"style":138},[282],{"type":18,"value":283}," mtl_shared_event",{"type":13,"tag":120,"props":285,"children":286},{"style":127},[287],{"type":18,"value":233},{"type":13,"tag":120,"props":289,"children":290},{"style":212},[291],{"type":18,"value":292}," MTLSharedEvent_id",{"type":13,"tag":120,"props":294,"children":295},{"style":138},[296],{"type":18,"value":253},{"type":13,"tag":120,"props":298,"children":299},{"class":122,"line":181},[300],{"type":13,"tag":120,"props":301,"children":302},{"style":138},[303],{"type":18,"value":304},"}\n",{"type":13,"tag":306,"props":307,"children":308},"ul",{},[309,329,347],{"type":13,"tag":310,"props":311,"children":312},"li",{},[313,319,321,327],{"type":13,"tag":21,"props":314,"children":316},{"className":315},[],[317],{"type":18,"value":318},"sType",{"type":18,"value":320}," is a ",{"type":13,"tag":30,"props":322,"children":324},{"href":323},"/man/VkStructureType",[325],{"type":18,"value":326},"VkStructureType",{"type":18,"value":328}," value identifying this structure.",{"type":13,"tag":310,"props":330,"children":331},{},[332,337,339,345],{"type":13,"tag":21,"props":333,"children":335},{"className":334},[],[336],{"type":18,"value":58},{"type":18,"value":338}," is ",{"type":13,"tag":21,"props":340,"children":342},{"className":341},[],[343],{"type":18,"value":344},"NULL",{"type":18,"value":346}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":310,"props":348,"children":349},{},[350,356,358,363,365,369,370,374],{"type":13,"tag":21,"props":351,"children":353},{"className":352},[],[354],{"type":18,"value":355},"mtlSharedEvent",{"type":18,"value":357}," is the Metal ",{"type":13,"tag":21,"props":359,"children":361},{"className":360},[],[362],{"type":18,"value":26},{"type":18,"value":364}," object that is to\nunderlie the ",{"type":13,"tag":30,"props":366,"children":367},{"href":32},[368],{"type":18,"value":35},{"type":18,"value":37},{"type":13,"tag":30,"props":371,"children":372},{"href":40},[373],{"type":18,"value":43},{"type":18,"value":375},".",{"type":13,"tag":14,"props":377,"children":378},{},[379,381,386,388,392,394,399,401,407,409,415,417,422,424,430,432,436],{"type":18,"value":380},"If the ",{"type":13,"tag":21,"props":382,"children":384},{"className":383},[],[385],{"type":18,"value":58},{"type":18,"value":387}," chain of the ",{"type":13,"tag":30,"props":389,"children":390},{"href":63},[391],{"type":18,"value":66},{"type":18,"value":393}," structure\nincludes both ",{"type":13,"tag":21,"props":395,"children":397},{"className":396},[],[398],{"type":18,"value":4},{"type":18,"value":400}," and\n",{"type":13,"tag":30,"props":402,"children":404},{"href":403},"/man/VkSemaphoreTypeCreateInfo",[405],{"type":18,"value":406},"VkSemaphoreTypeCreateInfo",{"type":18,"value":408},", the ",{"type":13,"tag":21,"props":410,"children":412},{"className":411},[],[413],{"type":18,"value":414},"signaledValue",{"type":18,"value":416}," property of the\nimported ",{"type":13,"tag":21,"props":418,"children":420},{"className":419},[],[421],{"type":18,"value":26},{"type":18,"value":423}," object will be set to ",{"type":13,"tag":21,"props":425,"children":427},{"className":426},[],[428],{"type":18,"value":429},"initialValue",{"type":18,"value":431}," of\n",{"type":13,"tag":30,"props":433,"children":434},{"href":403},[435],{"type":18,"value":406},{"type":18,"value":375},{"type":13,"tag":438,"props":439,"children":441},"validity-group",{"name":440},"Valid Usage (Implicit)",[442],{"type":13,"tag":443,"props":444,"children":446},"validity-field",{"name":445},"VUID-VkImportMetalSharedEventInfoEXT-sType-sType",[447],{"type":13,"tag":14,"props":448,"children":449},{},[450,455,457,462,464],{"type":13,"tag":21,"props":451,"children":453},{"className":452},[],[454],{"type":18,"value":318},{"type":18,"value":456}," ",{"type":13,"tag":458,"props":459,"children":461},"normative",{"type":460},"must",[],{"type":18,"value":463}," be ",{"type":13,"tag":21,"props":465,"children":467},{"className":466},[],[468],{"type":18,"value":469},"VK_STRUCTURE_TYPE_IMPORT_METAL_SHARED_EVENT_INFO_EXT",{"type":13,"tag":471,"props":472,"children":473},"style",{},[474],{"type":18,"value":475},"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":114,"searchDepth":144,"depth":144,"links":477},[],"markdown",1725732559746]