[{"data":1,"prerenderedAt":593},["ShallowReactive",2],{"whTFmBxHTz":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":592,"_id":4},"VkPhysicalDeviceExternalImageFormatInfo","Structure specifying external image creation parameters","VK_VERSION_1_1","structs",[],{"type":10,"children":11,"toc":590},"root",[12,67,79,281,286,351,411,444,512,584],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,26,28,35,37,43,45,51,53,58,59,65],{"type":18,"value":19},"text","To determine the image capabilities compatible with an external memory\nhandle type, add a ",{"type":13,"tag":21,"props":22,"children":24},"a",{"href":23},"/man/VkPhysicalDeviceExternalImageFormatInfo",[25],{"type":18,"value":4},{"type":18,"value":27}," structure\nto the ",{"type":13,"tag":29,"props":30,"children":32},"code",{"className":31},[],[33],{"type":18,"value":34},"pNext",{"type":18,"value":36}," chain of the ",{"type":13,"tag":21,"props":38,"children":40},{"href":39},"/man/VkPhysicalDeviceImageFormatInfo2",[41],{"type":18,"value":42},"VkPhysicalDeviceImageFormatInfo2",{"type":18,"value":44},"\nstructure and a ",{"type":13,"tag":29,"props":46,"children":48},{"className":47},[],[49],{"type":18,"value":50},"VkExternalImageFormatProperties",{"type":18,"value":52}," structure to the\n",{"type":13,"tag":29,"props":54,"children":56},{"className":55},[],[57],{"type":18,"value":34},{"type":18,"value":36},{"type":13,"tag":21,"props":60,"children":62},{"href":61},"/man/VkImageFormatProperties2",[63],{"type":18,"value":64},"VkImageFormatProperties2",{"type":18,"value":66}," structure.",{"type":13,"tag":14,"props":68,"children":69},{},[70,72,77],{"type":18,"value":71},"The ",{"type":13,"tag":29,"props":73,"children":75},{"className":74},[],[76],{"type":18,"value":4},{"type":18,"value":78}," structure is defined as:",{"type":13,"tag":80,"props":81,"children":82},"code-group",{},[83,164],{"type":13,"tag":84,"props":85,"children":91},"pre",{"className":86,"code":87,"filename":88,"language":89,"meta":90,"style":90},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkPhysicalDeviceExternalImageFormatInfo {\n VkStructureType sType;\n const void* pNext;\n VkExternalMemoryHandleTypeFlagBits handleType;\n} VkPhysicalDeviceExternalImageFormatInfo;\n","C","c","",[92],{"type":13,"tag":29,"props":93,"children":94},{"__ignoreMap":90},[95,118,127,146,155],{"type":13,"tag":96,"props":97,"children":100},"span",{"class":98,"line":99},"line",1,[101,107,112],{"type":13,"tag":96,"props":102,"children":104},{"style":103},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[105],{"type":18,"value":106},"typedef",{"type":13,"tag":96,"props":108,"children":109},{"style":103},[110],{"type":18,"value":111}," struct",{"type":13,"tag":96,"props":113,"children":115},{"style":114},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[116],{"type":18,"value":117}," VkPhysicalDeviceExternalImageFormatInfo {\n",{"type":13,"tag":96,"props":119,"children":121},{"class":98,"line":120},2,[122],{"type":13,"tag":96,"props":123,"children":124},{"style":114},[125],{"type":18,"value":126}," VkStructureType sType;\n",{"type":13,"tag":96,"props":128,"children":130},{"class":98,"line":129},3,[131,136,141],{"type":13,"tag":96,"props":132,"children":133},{"style":103},[134],{"type":18,"value":135}," const",{"type":13,"tag":96,"props":137,"children":138},{"style":103},[139],{"type":18,"value":140}," void*",{"type":13,"tag":96,"props":142,"children":143},{"style":114},[144],{"type":18,"value":145}," pNext;\n",{"type":13,"tag":96,"props":147,"children":149},{"class":98,"line":148},4,[150],{"type":13,"tag":96,"props":151,"children":152},{"style":114},[153],{"type":18,"value":154}," VkExternalMemoryHandleTypeFlagBits handleType;\n",{"type":13,"tag":96,"props":156,"children":158},{"class":98,"line":157},5,[159],{"type":13,"tag":96,"props":160,"children":161},{"style":114},[162],{"type":18,"value":163},"} VkPhysicalDeviceExternalImageFormatInfo;\n",{"type":13,"tag":84,"props":165,"children":170},{"className":166,"code":167,"filename":168,"language":169,"meta":90,"style":90},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PhysicalDeviceExternalImageFormatInfo {\n s_type: vk::StructureType,\n p_next: *const c_void,\n handle_type: ExternalMemoryHandleTypeFlags,\n}\n","Rust","rs",[171],{"type":13,"tag":29,"props":172,"children":173},{"__ignoreMap":90},[174,197,230,252,273],{"type":13,"tag":96,"props":175,"children":176},{"class":98,"line":99},[177,182,186,192],{"type":13,"tag":96,"props":178,"children":179},{"style":103},[180],{"type":18,"value":181},"pub",{"type":13,"tag":96,"props":183,"children":184},{"style":103},[185],{"type":18,"value":111},{"type":13,"tag":96,"props":187,"children":189},{"style":188},"--shiki-default:#953800;--shiki-dark:#FFA657",[190],{"type":18,"value":191}," PhysicalDeviceExternalImageFormatInfo",{"type":13,"tag":96,"props":193,"children":194},{"style":114},[195],{"type":18,"value":196}," {\n",{"type":13,"tag":96,"props":198,"children":199},{"class":98,"line":120},[200,205,210,215,220,225],{"type":13,"tag":96,"props":201,"children":202},{"style":114},[203],{"type":18,"value":204}," s_type",{"type":13,"tag":96,"props":206,"children":207},{"style":103},[208],{"type":18,"value":209},":",{"type":13,"tag":96,"props":211,"children":212},{"style":188},[213],{"type":18,"value":214}," vk",{"type":13,"tag":96,"props":216,"children":217},{"style":103},[218],{"type":18,"value":219},"::",{"type":13,"tag":96,"props":221,"children":222},{"style":188},[223],{"type":18,"value":224},"StructureType",{"type":13,"tag":96,"props":226,"children":227},{"style":114},[228],{"type":18,"value":229},",\n",{"type":13,"tag":96,"props":231,"children":232},{"class":98,"line":129},[233,238,242,247],{"type":13,"tag":96,"props":234,"children":235},{"style":114},[236],{"type":18,"value":237}," p_next",{"type":13,"tag":96,"props":239,"children":240},{"style":103},[241],{"type":18,"value":209},{"type":13,"tag":96,"props":243,"children":244},{"style":103},[245],{"type":18,"value":246}," *const",{"type":13,"tag":96,"props":248,"children":249},{"style":114},[250],{"type":18,"value":251}," c_void,\n",{"type":13,"tag":96,"props":253,"children":254},{"class":98,"line":148},[255,260,264,269],{"type":13,"tag":96,"props":256,"children":257},{"style":114},[258],{"type":18,"value":259}," handle_type",{"type":13,"tag":96,"props":261,"children":262},{"style":103},[263],{"type":18,"value":209},{"type":13,"tag":96,"props":265,"children":266},{"style":188},[267],{"type":18,"value":268}," ExternalMemoryHandleTypeFlags",{"type":13,"tag":96,"props":270,"children":271},{"style":114},[272],{"type":18,"value":229},{"type":13,"tag":96,"props":274,"children":275},{"class":98,"line":157},[276],{"type":13,"tag":96,"props":277,"children":278},{"style":114},[279],{"type":18,"value":280},"}\n",{"type":13,"tag":14,"props":282,"children":283},{},[284],{"type":18,"value":285},"or the equivalent",{"type":13,"tag":80,"props":287,"children":288},{},[289,308],{"type":13,"tag":84,"props":290,"children":292},{"className":86,"code":291,"filename":88,"language":89,"meta":90,"style":90},"typedef VkPhysicalDeviceExternalImageFormatInfo VkPhysicalDeviceExternalImageFormatInfoKHR;\n",[293],{"type":13,"tag":29,"props":294,"children":295},{"__ignoreMap":90},[296],{"type":13,"tag":96,"props":297,"children":298},{"class":98,"line":99},[299,303],{"type":13,"tag":96,"props":300,"children":301},{"style":103},[302],{"type":18,"value":106},{"type":13,"tag":96,"props":304,"children":305},{"style":114},[306],{"type":18,"value":307}," VkPhysicalDeviceExternalImageFormatInfo VkPhysicalDeviceExternalImageFormatInfoKHR;\n",{"type":13,"tag":84,"props":309,"children":311},{"className":166,"code":310,"filename":168,"language":169,"meta":90,"style":90},"type PhysicalDeviceExternalImageFormatInfoKHR = vk::PhysicalDeviceExternalImageFormatInfo;\n",[312],{"type":13,"tag":29,"props":313,"children":314},{"__ignoreMap":90},[315],{"type":13,"tag":96,"props":316,"children":317},{"class":98,"line":99},[318,323,328,333,337,341,346],{"type":13,"tag":96,"props":319,"children":320},{"style":103},[321],{"type":18,"value":322},"type",{"type":13,"tag":96,"props":324,"children":325},{"style":188},[326],{"type":18,"value":327}," PhysicalDeviceExternalImageFormatInfoKHR",{"type":13,"tag":96,"props":329,"children":330},{"style":103},[331],{"type":18,"value":332}," =",{"type":13,"tag":96,"props":334,"children":335},{"style":188},[336],{"type":18,"value":214},{"type":13,"tag":96,"props":338,"children":339},{"style":103},[340],{"type":18,"value":219},{"type":13,"tag":96,"props":342,"children":343},{"style":188},[344],{"type":18,"value":345},"PhysicalDeviceExternalImageFormatInfo",{"type":13,"tag":96,"props":347,"children":348},{"style":114},[349],{"type":18,"value":350},";\n",{"type":13,"tag":352,"props":353,"children":354},"ul",{},[355,375,393],{"type":13,"tag":356,"props":357,"children":358},"li",{},[359,365,367,373],{"type":13,"tag":29,"props":360,"children":362},{"className":361},[],[363],{"type":18,"value":364},"sType",{"type":18,"value":366}," is a ",{"type":13,"tag":21,"props":368,"children":370},{"href":369},"/man/VkStructureType",[371],{"type":18,"value":372},"VkStructureType",{"type":18,"value":374}," value identifying this structure.",{"type":13,"tag":356,"props":376,"children":377},{},[378,383,385,391],{"type":13,"tag":29,"props":379,"children":381},{"className":380},[],[382],{"type":18,"value":34},{"type":18,"value":384}," is ",{"type":13,"tag":29,"props":386,"children":388},{"className":387},[],[389],{"type":18,"value":390},"NULL",{"type":18,"value":392}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":356,"props":394,"children":395},{},[396,402,403,409],{"type":13,"tag":29,"props":397,"children":399},{"className":398},[],[400],{"type":18,"value":401},"handleType",{"type":18,"value":366},{"type":13,"tag":21,"props":404,"children":406},{"href":405},"/man/VkExternalMemoryHandleTypeFlagBits",[407],{"type":18,"value":408},"VkExternalMemoryHandleTypeFlagBits",{"type":18,"value":410}," value\nspecifying the memory handle type that will be used with the memory\nassociated with the image.",{"type":13,"tag":14,"props":412,"children":413},{},[414,416,421,423,429,431,435,437,442],{"type":18,"value":415},"If ",{"type":13,"tag":29,"props":417,"children":419},{"className":418},[],[420],{"type":18,"value":401},{"type":18,"value":422}," is 0, ",{"type":13,"tag":21,"props":424,"children":426},{"href":425},"/man/vkGetPhysicalDeviceImageFormatProperties2",[427],{"type":18,"value":428},"vkGetPhysicalDeviceImageFormatProperties2",{"type":18,"value":430},"\nwill behave as if ",{"type":13,"tag":21,"props":432,"children":433},{"href":23},[434],{"type":18,"value":4},{"type":18,"value":436}," was not\npresent, and ",{"type":13,"tag":21,"props":438,"children":440},{"href":439},"/man/VkExternalImageFormatProperties",[441],{"type":18,"value":50},{"type":18,"value":443}," will be ignored.",{"type":13,"tag":14,"props":445,"children":446},{},[447,448,453,455,461,463,468,469,475,476,482,484,490,492,496,498,502,504,510],{"type":18,"value":415},{"type":13,"tag":29,"props":449,"children":451},{"className":450},[],[452],{"type":18,"value":401},{"type":18,"value":454}," is not compatible with the ",{"type":13,"tag":29,"props":456,"children":458},{"className":457},[],[459],{"type":18,"value":460},"format",{"type":18,"value":462},", ",{"type":13,"tag":29,"props":464,"children":466},{"className":465},[],[467],{"type":18,"value":322},{"type":18,"value":229},{"type":13,"tag":29,"props":470,"children":472},{"className":471},[],[473],{"type":18,"value":474},"tiling",{"type":18,"value":462},{"type":13,"tag":29,"props":477,"children":479},{"className":478},[],[480],{"type":18,"value":481},"usage",{"type":18,"value":483},", and ",{"type":13,"tag":29,"props":485,"children":487},{"className":486},[],[488],{"type":18,"value":489},"flags",{"type":18,"value":491}," specified in\n",{"type":13,"tag":21,"props":493,"children":494},{"href":39},[495],{"type":18,"value":42},{"type":18,"value":497},", then\n",{"type":13,"tag":21,"props":499,"children":500},{"href":425},[501],{"type":18,"value":428},{"type":18,"value":503}," returns\n",{"type":13,"tag":29,"props":505,"children":507},{"className":506},[],[508],{"type":18,"value":509},"VK_ERROR_FORMAT_NOT_SUPPORTED",{"type":18,"value":511},".",{"type":13,"tag":513,"props":514,"children":516},"validity-group",{"name":515},"Valid Usage (Implicit)",[517,545],{"type":13,"tag":518,"props":519,"children":521},"validity-field",{"name":520},"VUID-VkPhysicalDeviceExternalImageFormatInfo-sType-sType",[522],{"type":13,"tag":14,"props":523,"children":524},{},[525,530,532,537,539],{"type":13,"tag":29,"props":526,"children":528},{"className":527},[],[529],{"type":18,"value":364},{"type":18,"value":531}," ",{"type":13,"tag":533,"props":534,"children":536},"normative",{"type":535},"must",[],{"type":18,"value":538}," be ",{"type":13,"tag":29,"props":540,"children":542},{"className":541},[],[543],{"type":18,"value":544},"VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO",{"type":13,"tag":518,"props":546,"children":548},{"name":547},"VUID-VkPhysicalDeviceExternalImageFormatInfo-handleType-parameter",[549],{"type":13,"tag":14,"props":550,"children":551},{},[552,553,558,560,566,567,572,573,576,578,582],{"type":18,"value":415},{"type":13,"tag":29,"props":554,"children":556},{"className":555},[],[557],{"type":18,"value":401},{"type":18,"value":559}," is not ",{"type":13,"tag":29,"props":561,"children":563},{"className":562},[],[564],{"type":18,"value":565},"0",{"type":18,"value":462},{"type":13,"tag":29,"props":568,"children":570},{"className":569},[],[571],{"type":18,"value":401},{"type":18,"value":531},{"type":13,"tag":533,"props":574,"children":575},{"type":535},[],{"type":18,"value":577}," be a valid ",{"type":13,"tag":21,"props":579,"children":580},{"href":405},[581],{"type":18,"value":408},{"type":18,"value":583}," value",{"type":13,"tag":585,"props":586,"children":587},"style",{},[588],{"type":18,"value":589},"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":90,"searchDepth":120,"depth":120,"links":591},[],"markdown",1725732568137]