[{"data":1,"prerenderedAt":663},["ShallowReactive",2],{"tVrv7ba9Km":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":662,"_id":4},"VkExternalMemoryFeatureFlagBits","Bitmask specifying features of an external memory handle type","VK_VERSION_1_1","enums",[],{"type":10,"children":11,"toc":660},"root",[12,45,362,367,447,517,535,587,654],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,25,27,34,36,43],{"type":18,"value":19},"text","Bits which ",{"type":13,"tag":21,"props":22,"children":24},"normative",{"type":23},"may",[],{"type":18,"value":26}," be set in\n",{"type":13,"tag":28,"props":29,"children":31},"a",{"href":30},"/man/VkExternalMemoryProperties",[32],{"type":18,"value":33},"VkExternalMemoryProperties",{"type":18,"value":35},"::",{"type":13,"tag":37,"props":38,"children":40},"code",{"className":39},[],[41],{"type":18,"value":42},"externalMemoryFeatures",{"type":18,"value":44},", specifying\nfeatures of an external memory handle type, are:",{"type":13,"tag":46,"props":47,"children":48},"code-group",{},[49,175],{"type":13,"tag":50,"props":51,"children":57},"pre",{"className":52,"code":53,"filename":54,"language":55,"meta":56,"style":56},"language-c shiki shiki-themes github-light-default github-dark-default","typedef enum VkExternalMemoryFeatureFlagBits {\n VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT = 0x00000001,\n VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT = 0x00000002,\n VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT = 0x00000004,\n} VkExternalMemoryFeatureFlagBits;\n","C","c","",[58],{"type":13,"tag":37,"props":59,"children":60},{"__ignoreMap":56},[61,84,114,140,166],{"type":13,"tag":62,"props":63,"children":66},"span",{"class":64,"line":65},"line",1,[67,73,78],{"type":13,"tag":62,"props":68,"children":70},{"style":69},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[71],{"type":18,"value":72},"typedef",{"type":13,"tag":62,"props":74,"children":75},{"style":69},[76],{"type":18,"value":77}," enum",{"type":13,"tag":62,"props":79,"children":81},{"style":80},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[82],{"type":18,"value":83}," VkExternalMemoryFeatureFlagBits {\n",{"type":13,"tag":62,"props":85,"children":87},{"class":64,"line":86},2,[88,93,98,103,109],{"type":13,"tag":62,"props":89,"children":90},{"style":80},[91],{"type":18,"value":92}," VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT ",{"type":13,"tag":62,"props":94,"children":95},{"style":69},[96],{"type":18,"value":97},"=",{"type":13,"tag":62,"props":99,"children":100},{"style":69},[101],{"type":18,"value":102}," 0x",{"type":13,"tag":62,"props":104,"children":106},{"style":105},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[107],{"type":18,"value":108},"00000001",{"type":13,"tag":62,"props":110,"children":111},{"style":80},[112],{"type":18,"value":113},",\n",{"type":13,"tag":62,"props":115,"children":117},{"class":64,"line":116},3,[118,123,127,131,136],{"type":13,"tag":62,"props":119,"children":120},{"style":80},[121],{"type":18,"value":122}," VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT ",{"type":13,"tag":62,"props":124,"children":125},{"style":69},[126],{"type":18,"value":97},{"type":13,"tag":62,"props":128,"children":129},{"style":69},[130],{"type":18,"value":102},{"type":13,"tag":62,"props":132,"children":133},{"style":105},[134],{"type":18,"value":135},"00000002",{"type":13,"tag":62,"props":137,"children":138},{"style":80},[139],{"type":18,"value":113},{"type":13,"tag":62,"props":141,"children":143},{"class":64,"line":142},4,[144,149,153,157,162],{"type":13,"tag":62,"props":145,"children":146},{"style":80},[147],{"type":18,"value":148}," VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT ",{"type":13,"tag":62,"props":150,"children":151},{"style":69},[152],{"type":18,"value":97},{"type":13,"tag":62,"props":154,"children":155},{"style":69},[156],{"type":18,"value":102},{"type":13,"tag":62,"props":158,"children":159},{"style":105},[160],{"type":18,"value":161},"00000004",{"type":13,"tag":62,"props":163,"children":164},{"style":80},[165],{"type":18,"value":113},{"type":13,"tag":62,"props":167,"children":169},{"class":64,"line":168},5,[170],{"type":13,"tag":62,"props":171,"children":172},{"style":80},[173],{"type":18,"value":174},"} VkExternalMemoryFeatureFlagBits;\n",{"type":13,"tag":50,"props":176,"children":181},{"className":177,"code":178,"filename":179,"language":180,"meta":56,"style":56},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct ExternalMemoryFeatureFlagBits(u32);\nimpl ExternalMemoryFeatureFlagBits {\n pub const DEDICATED_ONLY: Self = 0x00000001;\n pub const EXPORTABLE: Self = 0x00000002;\n pub const IMPORTABLE: Self = 0x00000004;\n}\n","Rust","rs",[182],{"type":13,"tag":37,"props":183,"children":184},{"__ignoreMap":56},[185,219,236,279,316,353],{"type":13,"tag":62,"props":186,"children":187},{"class":64,"line":65},[188,193,198,204,209,214],{"type":13,"tag":62,"props":189,"children":190},{"style":69},[191],{"type":18,"value":192},"pub",{"type":13,"tag":62,"props":194,"children":195},{"style":69},[196],{"type":18,"value":197}," struct",{"type":13,"tag":62,"props":199,"children":201},{"style":200},"--shiki-default:#953800;--shiki-dark:#FFA657",[202],{"type":18,"value":203}," ExternalMemoryFeatureFlagBits",{"type":13,"tag":62,"props":205,"children":206},{"style":80},[207],{"type":18,"value":208},"(",{"type":13,"tag":62,"props":210,"children":211},{"style":200},[212],{"type":18,"value":213},"u32",{"type":13,"tag":62,"props":215,"children":216},{"style":80},[217],{"type":18,"value":218},");\n",{"type":13,"tag":62,"props":220,"children":221},{"class":64,"line":86},[222,227,231],{"type":13,"tag":62,"props":223,"children":224},{"style":69},[225],{"type":18,"value":226},"impl",{"type":13,"tag":62,"props":228,"children":229},{"style":200},[230],{"type":18,"value":203},{"type":13,"tag":62,"props":232,"children":233},{"style":80},[234],{"type":18,"value":235}," {\n",{"type":13,"tag":62,"props":237,"children":238},{"class":64,"line":116},[239,244,249,254,259,264,269,274],{"type":13,"tag":62,"props":240,"children":241},{"style":69},[242],{"type":18,"value":243}," pub",{"type":13,"tag":62,"props":245,"children":246},{"style":69},[247],{"type":18,"value":248}," const",{"type":13,"tag":62,"props":250,"children":251},{"style":105},[252],{"type":18,"value":253}," DEDICATED_ONLY",{"type":13,"tag":62,"props":255,"children":256},{"style":69},[257],{"type":18,"value":258},":",{"type":13,"tag":62,"props":260,"children":261},{"style":105},[262],{"type":18,"value":263}," Self",{"type":13,"tag":62,"props":265,"children":266},{"style":69},[267],{"type":18,"value":268}," =",{"type":13,"tag":62,"props":270,"children":271},{"style":105},[272],{"type":18,"value":273}," 0x00000001",{"type":13,"tag":62,"props":275,"children":276},{"style":80},[277],{"type":18,"value":278},";\n",{"type":13,"tag":62,"props":280,"children":281},{"class":64,"line":142},[282,286,290,295,299,303,307,312],{"type":13,"tag":62,"props":283,"children":284},{"style":69},[285],{"type":18,"value":243},{"type":13,"tag":62,"props":287,"children":288},{"style":69},[289],{"type":18,"value":248},{"type":13,"tag":62,"props":291,"children":292},{"style":105},[293],{"type":18,"value":294}," EXPORTABLE",{"type":13,"tag":62,"props":296,"children":297},{"style":69},[298],{"type":18,"value":258},{"type":13,"tag":62,"props":300,"children":301},{"style":105},[302],{"type":18,"value":263},{"type":13,"tag":62,"props":304,"children":305},{"style":69},[306],{"type":18,"value":268},{"type":13,"tag":62,"props":308,"children":309},{"style":105},[310],{"type":18,"value":311}," 0x00000002",{"type":13,"tag":62,"props":313,"children":314},{"style":80},[315],{"type":18,"value":278},{"type":13,"tag":62,"props":317,"children":318},{"class":64,"line":168},[319,323,327,332,336,340,344,349],{"type":13,"tag":62,"props":320,"children":321},{"style":69},[322],{"type":18,"value":243},{"type":13,"tag":62,"props":324,"children":325},{"style":69},[326],{"type":18,"value":248},{"type":13,"tag":62,"props":328,"children":329},{"style":105},[330],{"type":18,"value":331}," IMPORTABLE",{"type":13,"tag":62,"props":333,"children":334},{"style":69},[335],{"type":18,"value":258},{"type":13,"tag":62,"props":337,"children":338},{"style":105},[339],{"type":18,"value":263},{"type":13,"tag":62,"props":341,"children":342},{"style":69},[343],{"type":18,"value":268},{"type":13,"tag":62,"props":345,"children":346},{"style":105},[347],{"type":18,"value":348}," 0x00000004",{"type":13,"tag":62,"props":350,"children":351},{"style":80},[352],{"type":18,"value":278},{"type":13,"tag":62,"props":354,"children":356},{"class":64,"line":355},6,[357],{"type":13,"tag":62,"props":358,"children":359},{"style":80},[360],{"type":18,"value":361},"}\n",{"type":13,"tag":14,"props":363,"children":364},{},[365],{"type":18,"value":366},"or the equivalent",{"type":13,"tag":46,"props":368,"children":369},{},[370,396],{"type":13,"tag":50,"props":371,"children":373},{"className":52,"code":372,"filename":54,"language":55,"meta":56,"style":56},"#define VkExternalMemoryFeatureFlagBitsKHR VkExternalMemoryFeatureFlagBits\n",[374],{"type":13,"tag":37,"props":375,"children":376},{"__ignoreMap":56},[377],{"type":13,"tag":62,"props":378,"children":379},{"class":64,"line":65},[380,385,391],{"type":13,"tag":62,"props":381,"children":382},{"style":69},[383],{"type":18,"value":384},"#define",{"type":13,"tag":62,"props":386,"children":388},{"style":387},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[389],{"type":18,"value":390}," VkExternalMemoryFeatureFlagBitsKHR",{"type":13,"tag":62,"props":392,"children":393},{"style":80},[394],{"type":18,"value":395}," VkExternalMemoryFeatureFlagBits\n",{"type":13,"tag":50,"props":397,"children":399},{"className":177,"code":398,"filename":179,"language":180,"meta":56,"style":56},"const ExternalMemoryFeatureFlagBitsKHR: _ = vk::ExternalMemoryFeatureFlagBits;\n",[400],{"type":13,"tag":37,"props":401,"children":402},{"__ignoreMap":56},[403],{"type":13,"tag":62,"props":404,"children":405},{"class":64,"line":65},[406,411,416,420,425,429,434,438,443],{"type":13,"tag":62,"props":407,"children":408},{"style":69},[409],{"type":18,"value":410},"const",{"type":13,"tag":62,"props":412,"children":413},{"style":105},[414],{"type":18,"value":415}," ExternalMemoryFeatureFlagBitsKHR",{"type":13,"tag":62,"props":417,"children":418},{"style":69},[419],{"type":18,"value":258},{"type":13,"tag":62,"props":421,"children":422},{"style":80},[423],{"type":18,"value":424}," _ ",{"type":13,"tag":62,"props":426,"children":427},{"style":69},[428],{"type":18,"value":97},{"type":13,"tag":62,"props":430,"children":431},{"style":200},[432],{"type":18,"value":433}," vk",{"type":13,"tag":62,"props":435,"children":436},{"style":69},[437],{"type":18,"value":35},{"type":13,"tag":62,"props":439,"children":440},{"style":200},[441],{"type":18,"value":442},"ExternalMemoryFeatureFlagBits",{"type":13,"tag":62,"props":444,"children":445},{"style":80},[446],{"type":18,"value":278},{"type":13,"tag":448,"props":449,"children":450},"ul",{},[451,485,502],{"type":13,"tag":452,"props":453,"children":454},"li",{},[455,461,463,467,469,475,477,483],{"type":13,"tag":37,"props":456,"children":458},{"className":457},[],[459],{"type":18,"value":460},"VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT",{"type":18,"value":462}," specifies that\nimages or buffers created with the specified parameters and handle type\n",{"type":13,"tag":21,"props":464,"children":466},{"type":465},"must",[],{"type":18,"value":468}," use the mechanisms defined by ",{"type":13,"tag":28,"props":470,"children":472},{"href":471},"/man/VkMemoryDedicatedRequirements",[473],{"type":18,"value":474},"VkMemoryDedicatedRequirements",{"type":18,"value":476},"\nand ",{"type":13,"tag":28,"props":478,"children":480},{"href":479},"/man/VkMemoryDedicatedAllocateInfo",[481],{"type":18,"value":482},"VkMemoryDedicatedAllocateInfo",{"type":18,"value":484}," to create (or import) a\ndedicated allocation for the image or buffer.",{"type":13,"tag":452,"props":486,"children":487},{},[488,494,496,500],{"type":13,"tag":37,"props":489,"children":491},{"className":490},[],[492],{"type":18,"value":493},"VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT",{"type":18,"value":495}," specifies that handles\nof this type ",{"type":13,"tag":21,"props":497,"children":499},{"type":498},"can",[],{"type":18,"value":501}," be exported from Vulkan memory objects.",{"type":13,"tag":452,"props":503,"children":504},{},[505,511,512,515],{"type":13,"tag":37,"props":506,"children":508},{"className":507},[],[509],{"type":18,"value":510},"VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT",{"type":18,"value":495},{"type":13,"tag":21,"props":513,"children":514},{"type":498},[],{"type":18,"value":516}," be imported as Vulkan memory objects.",{"type":13,"tag":14,"props":518,"children":519},{},[520,522,526,528,533],{"type":18,"value":521},"Because their semantics in external APIs roughly align with that of an image\nor buffer with a dedicated allocation in Vulkan, implementations are\n",{"type":13,"tag":21,"props":523,"children":525},{"type":524},"required",[],{"type":18,"value":527}," to report ",{"type":13,"tag":37,"props":529,"children":531},{"className":530},[],[532],{"type":18,"value":460},{"type":18,"value":534}," for\nthe following external handle types:",{"type":13,"tag":448,"props":536,"children":537},{},[538,547,556,565,576],{"type":13,"tag":452,"props":539,"children":540},{},[541],{"type":13,"tag":37,"props":542,"children":544},{"className":543},[],[545],{"type":18,"value":546},"VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT",{"type":13,"tag":452,"props":548,"children":549},{},[550],{"type":13,"tag":37,"props":551,"children":553},{"className":552},[],[554],{"type":18,"value":555},"VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BIT",{"type":13,"tag":452,"props":557,"children":558},{},[559],{"type":13,"tag":37,"props":560,"children":562},{"className":561},[],[563],{"type":18,"value":564},"VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE_BIT",{"type":13,"tag":452,"props":566,"children":567},{},[568,574],{"type":13,"tag":37,"props":569,"children":571},{"className":570},[],[572],{"type":18,"value":573},"VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID",{"type":18,"value":575},"\nfor images only",{"type":13,"tag":452,"props":577,"children":578},{},[579,585],{"type":13,"tag":37,"props":580,"children":582},{"className":581},[],[583],{"type":18,"value":584},"VK_EXTERNAL_MEMORY_HANDLE_TYPE_SCREEN_BUFFER_BIT_QNX",{"type":18,"value":586}," for images\nonly",{"type":13,"tag":14,"props":588,"children":589},{},[590,592,595,597,602,604,609,611,614,615,620,621,626,627,630,631,636,638,644,646,652],{"type":18,"value":591},"Implementations ",{"type":13,"tag":21,"props":593,"children":594},{"type":465},[],{"type":18,"value":596}," not report\n",{"type":13,"tag":37,"props":598,"children":600},{"className":599},[],[601],{"type":18,"value":460},{"type":18,"value":603}," for buffers with\nexternal handle type\n",{"type":13,"tag":37,"props":605,"children":607},{"className":606},[],[608],{"type":18,"value":573},{"type":18,"value":610},".\nImplementations ",{"type":13,"tag":21,"props":612,"children":613},{"type":465},[],{"type":18,"value":596},{"type":13,"tag":37,"props":616,"children":618},{"className":617},[],[619],{"type":18,"value":460},{"type":18,"value":603},{"type":13,"tag":37,"props":622,"children":624},{"className":623},[],[625],{"type":18,"value":584},{"type":18,"value":610},{"type":13,"tag":21,"props":628,"children":629},{"type":465},[],{"type":18,"value":596},{"type":13,"tag":37,"props":632,"children":634},{"className":633},[],[635],{"type":18,"value":460},{"type":18,"value":637}," for images or buffers\nwith external handle type\n",{"type":13,"tag":37,"props":639,"children":641},{"className":640},[],[642],{"type":18,"value":643},"VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT",{"type":18,"value":645},", or\n",{"type":13,"tag":37,"props":647,"children":649},{"className":648},[],[650],{"type":18,"value":651},"VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_MAPPED_FOREIGN_MEMORY_BIT_EXT",{"type":18,"value":653},".",{"type":13,"tag":655,"props":656,"children":657},"style",{},[658],{"type":18,"value":659},"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":56,"searchDepth":86,"depth":86,"links":661},[],"markdown",1725732552601]