[{"data":1,"prerenderedAt":607},["ShallowReactive",2],{"oEyLGFo2mb":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":606,"_id":4},"vkEnumerateInstanceExtensionProperties","Returns up to requested number of global extension properties","VK_VERSION_1_0","protos",[],{"type":10,"children":11,"toc":604},"root",[12,20,275,336,362,446,465,475,598],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","To query the available instance extensions, call:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,127],{"type":13,"tag":25,"props":26,"children":32},"pre",{"className":27,"code":28,"filename":29,"language":30,"meta":31,"style":31},"language-c shiki shiki-themes github-light-default github-dark-default","VkResult vkEnumerateInstanceExtensionProperties(\n const char* pLayerName,\n uint32_t* pPropertyCount,\n VkExtensionProperties* pProperties);\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,59,85,103],{"type":13,"tag":38,"props":39,"children":42},"span",{"class":40,"line":41},"line",1,[43,49,54],{"type":13,"tag":38,"props":44,"children":46},{"style":45},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[47],{"type":18,"value":48},"VkResult ",{"type":13,"tag":38,"props":50,"children":52},{"style":51},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[53],{"type":18,"value":4},{"type":13,"tag":38,"props":55,"children":56},{"style":45},[57],{"type":18,"value":58},"(\n",{"type":13,"tag":38,"props":60,"children":62},{"class":40,"line":61},2,[63,69,74,80],{"type":13,"tag":38,"props":64,"children":66},{"style":65},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[67],{"type":18,"value":68}," const",{"type":13,"tag":38,"props":70,"children":71},{"style":65},[72],{"type":18,"value":73}," char*",{"type":13,"tag":38,"props":75,"children":77},{"style":76},"--shiki-default:#953800;--shiki-dark:#FFA657",[78],{"type":18,"value":79}," pLayerName",{"type":13,"tag":38,"props":81,"children":82},{"style":45},[83],{"type":18,"value":84},",\n",{"type":13,"tag":38,"props":86,"children":88},{"class":40,"line":87},3,[89,94,99],{"type":13,"tag":38,"props":90,"children":91},{"style":65},[92],{"type":18,"value":93}," uint32_t*",{"type":13,"tag":38,"props":95,"children":96},{"style":76},[97],{"type":18,"value":98}," pPropertyCount",{"type":13,"tag":38,"props":100,"children":101},{"style":45},[102],{"type":18,"value":84},{"type":13,"tag":38,"props":104,"children":106},{"class":40,"line":105},4,[107,112,117,122],{"type":13,"tag":38,"props":108,"children":109},{"style":45},[110],{"type":18,"value":111}," VkExtensionProperties",{"type":13,"tag":38,"props":113,"children":114},{"style":65},[115],{"type":18,"value":116},"*",{"type":13,"tag":38,"props":118,"children":119},{"style":76},[120],{"type":18,"value":121}," pProperties",{"type":13,"tag":38,"props":123,"children":124},{"style":45},[125],{"type":18,"value":126},");\n",{"type":13,"tag":25,"props":128,"children":133},{"className":129,"code":130,"filename":131,"language":132,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn enumerate_instance_extension_properties(\n p_layer_name: *const c_char,\n p_property_count: *mut u32,\n p_properties: *mut vk::ExtensionProperties,\n) -> vk::Result;\n","Rust","rs",[134],{"type":13,"tag":34,"props":135,"children":136},{"__ignoreMap":31},[137,159,182,208,243],{"type":13,"tag":38,"props":138,"children":139},{"class":40,"line":41},[140,145,150,155],{"type":13,"tag":38,"props":141,"children":142},{"style":65},[143],{"type":18,"value":144},"pub",{"type":13,"tag":38,"props":146,"children":147},{"style":65},[148],{"type":18,"value":149}," fn",{"type":13,"tag":38,"props":151,"children":152},{"style":51},[153],{"type":18,"value":154}," enumerate_instance_extension_properties",{"type":13,"tag":38,"props":156,"children":157},{"style":45},[158],{"type":18,"value":58},{"type":13,"tag":38,"props":160,"children":161},{"class":40,"line":61},[162,167,172,177],{"type":13,"tag":38,"props":163,"children":164},{"style":45},[165],{"type":18,"value":166}," p_layer_name",{"type":13,"tag":38,"props":168,"children":169},{"style":65},[170],{"type":18,"value":171},":",{"type":13,"tag":38,"props":173,"children":174},{"style":65},[175],{"type":18,"value":176}," *const",{"type":13,"tag":38,"props":178,"children":179},{"style":45},[180],{"type":18,"value":181}," c_char,\n",{"type":13,"tag":38,"props":183,"children":184},{"class":40,"line":87},[185,190,194,199,204],{"type":13,"tag":38,"props":186,"children":187},{"style":45},[188],{"type":18,"value":189}," p_property_count",{"type":13,"tag":38,"props":191,"children":192},{"style":65},[193],{"type":18,"value":171},{"type":13,"tag":38,"props":195,"children":196},{"style":65},[197],{"type":18,"value":198}," *mut",{"type":13,"tag":38,"props":200,"children":201},{"style":76},[202],{"type":18,"value":203}," u32",{"type":13,"tag":38,"props":205,"children":206},{"style":45},[207],{"type":18,"value":84},{"type":13,"tag":38,"props":209,"children":210},{"class":40,"line":105},[211,216,220,224,229,234,239],{"type":13,"tag":38,"props":212,"children":213},{"style":45},[214],{"type":18,"value":215}," p_properties",{"type":13,"tag":38,"props":217,"children":218},{"style":65},[219],{"type":18,"value":171},{"type":13,"tag":38,"props":221,"children":222},{"style":65},[223],{"type":18,"value":198},{"type":13,"tag":38,"props":225,"children":226},{"style":76},[227],{"type":18,"value":228}," vk",{"type":13,"tag":38,"props":230,"children":231},{"style":65},[232],{"type":18,"value":233},"::",{"type":13,"tag":38,"props":235,"children":236},{"style":76},[237],{"type":18,"value":238},"ExtensionProperties",{"type":13,"tag":38,"props":240,"children":241},{"style":45},[242],{"type":18,"value":84},{"type":13,"tag":38,"props":244,"children":246},{"class":40,"line":245},5,[247,252,257,261,265,270],{"type":13,"tag":38,"props":248,"children":249},{"style":45},[250],{"type":18,"value":251},") ",{"type":13,"tag":38,"props":253,"children":254},{"style":65},[255],{"type":18,"value":256},"->",{"type":13,"tag":38,"props":258,"children":259},{"style":76},[260],{"type":18,"value":228},{"type":13,"tag":38,"props":262,"children":263},{"style":65},[264],{"type":18,"value":233},{"type":13,"tag":38,"props":266,"children":267},{"style":76},[268],{"type":18,"value":269},"Result",{"type":13,"tag":38,"props":271,"children":272},{"style":45},[273],{"type":18,"value":274},";\n",{"type":13,"tag":276,"props":277,"children":278},"ul",{},[279,299,310],{"type":13,"tag":280,"props":281,"children":282},"li",{},[283,289,291,297],{"type":13,"tag":34,"props":284,"children":286},{"className":285},[],[287],{"type":18,"value":288},"pLayerName",{"type":18,"value":290}," is either ",{"type":13,"tag":34,"props":292,"children":294},{"className":293},[],[295],{"type":18,"value":296},"NULL",{"type":18,"value":298}," or a pointer to a null-terminated\nUTF-8 string naming the layer to retrieve extensions from.",{"type":13,"tag":280,"props":300,"children":301},{},[302,308],{"type":13,"tag":34,"props":303,"children":305},{"className":304},[],[306],{"type":18,"value":307},"pPropertyCount",{"type":18,"value":309}," is a pointer to an integer related to the number of\nextension properties available or queried, as described below.",{"type":13,"tag":280,"props":311,"children":312},{},[313,319,320,325,327,334],{"type":13,"tag":34,"props":314,"children":316},{"className":315},[],[317],{"type":18,"value":318},"pProperties",{"type":18,"value":290},{"type":13,"tag":34,"props":321,"children":323},{"className":322},[],[324],{"type":18,"value":296},{"type":18,"value":326}," or a pointer to an array of\n",{"type":13,"tag":328,"props":329,"children":331},"a",{"href":330},"/man/VkExtensionProperties",[332],{"type":18,"value":333},"VkExtensionProperties",{"type":18,"value":335}," structures.",{"type":13,"tag":14,"props":337,"children":338},{},[339,341,346,348,353,355,360],{"type":18,"value":340},"When ",{"type":13,"tag":34,"props":342,"children":344},{"className":343},[],[345],{"type":18,"value":288},{"type":18,"value":347}," parameter is ",{"type":13,"tag":34,"props":349,"children":351},{"className":350},[],[352],{"type":18,"value":296},{"type":18,"value":354},", only extensions provided by the\nVulkan implementation or by implicitly enabled layers are returned.\nWhen ",{"type":13,"tag":34,"props":356,"children":358},{"className":357},[],[359],{"type":18,"value":288},{"type":18,"value":361}," is the name of a layer, the instance extensions\nprovided by that layer are returned.",{"type":13,"tag":14,"props":363,"children":364},{},[365,367,372,374,379,381,386,388,393,395,400,402,407,409,414,416,421,423,428,430,436,438,444],{"type":18,"value":366},"If ",{"type":13,"tag":34,"props":368,"children":370},{"className":369},[],[371],{"type":18,"value":318},{"type":18,"value":373}," is ",{"type":13,"tag":34,"props":375,"children":377},{"className":376},[],[378],{"type":18,"value":296},{"type":18,"value":380},", then the number of extensions properties\navailable is returned in ",{"type":13,"tag":34,"props":382,"children":384},{"className":383},[],[385],{"type":18,"value":307},{"type":18,"value":387},".\nOtherwise, ",{"type":13,"tag":34,"props":389,"children":391},{"className":390},[],[392],{"type":18,"value":307},{"type":18,"value":394}," ",{"type":13,"tag":396,"props":397,"children":399},"normative",{"type":398},"must",[],{"type":18,"value":401}," point to a variable set by the\napplication to the number of elements in the ",{"type":13,"tag":34,"props":403,"children":405},{"className":404},[],[406],{"type":18,"value":318},{"type":18,"value":408}," array, and on\nreturn the variable is overwritten with the number of structures actually\nwritten to ",{"type":13,"tag":34,"props":410,"children":412},{"className":411},[],[413],{"type":18,"value":318},{"type":18,"value":415},".\nIf ",{"type":13,"tag":34,"props":417,"children":419},{"className":418},[],[420],{"type":18,"value":307},{"type":18,"value":422}," is less than the number of extension properties\navailable, at most ",{"type":13,"tag":34,"props":424,"children":426},{"className":425},[],[427],{"type":18,"value":307},{"type":18,"value":429}," structures will be written, and\n",{"type":13,"tag":34,"props":431,"children":433},{"className":432},[],[434],{"type":18,"value":435},"VK_INCOMPLETE",{"type":18,"value":437}," will be returned instead of ",{"type":13,"tag":34,"props":439,"children":441},{"className":440},[],[442],{"type":18,"value":443},"VK_SUCCESS",{"type":18,"value":445},", to\nindicate that not all the available properties were returned.",{"type":13,"tag":14,"props":447,"children":448},{},[449,451,456,458,463],{"type":18,"value":450},"Because the list of available layers may change externally between calls to\n",{"type":13,"tag":328,"props":452,"children":454},{"href":453},"/man/vkEnumerateInstanceExtensionProperties",[455],{"type":18,"value":4},{"type":18,"value":457},", two calls may retrieve\ndifferent results if a ",{"type":13,"tag":34,"props":459,"children":461},{"className":460},[],[462],{"type":18,"value":288},{"type":18,"value":464}," is available in one call but not in\nanother.\nThe extensions supported by a layer may also change between two calls, e.g.\nif the layer implementation is replaced by a different version between those\ncalls.",{"type":13,"tag":14,"props":466,"children":467},{},[468,470,473],{"type":18,"value":469},"Implementations ",{"type":13,"tag":396,"props":471,"children":472},{"type":398},[],{"type":18,"value":474}," not advertise any pair of extensions that cannot be\nenabled together due to behavioral differences, or any extension that cannot\nbe enabled against the advertised version.",{"type":13,"tag":476,"props":477,"children":479},"validity-group",{"name":478},"Valid Usage (Implicit)",[480,514,540],{"type":13,"tag":481,"props":482,"children":484},"validity-field",{"name":483},"VUID-vkEnumerateInstanceExtensionProperties-pLayerName-parameter",[485],{"type":13,"tag":14,"props":486,"children":487},{},[488,489,494,496,501,503,508,509,512],{"type":18,"value":366},{"type":13,"tag":34,"props":490,"children":492},{"className":491},[],[493],{"type":18,"value":288},{"type":18,"value":495}," is not ",{"type":13,"tag":34,"props":497,"children":499},{"className":498},[],[500],{"type":18,"value":296},{"type":18,"value":502},", ",{"type":13,"tag":34,"props":504,"children":506},{"className":505},[],[507],{"type":18,"value":288},{"type":18,"value":394},{"type":13,"tag":396,"props":510,"children":511},{"type":398},[],{"type":18,"value":513}," be a null-terminated UTF-8 string",{"type":13,"tag":481,"props":515,"children":517},{"name":516},"VUID-vkEnumerateInstanceExtensionProperties-pPropertyCount-parameter",[518],{"type":13,"tag":14,"props":519,"children":520},{},[521,526,527,530,532,538],{"type":13,"tag":34,"props":522,"children":524},{"className":523},[],[525],{"type":18,"value":307},{"type":18,"value":394},{"type":13,"tag":396,"props":528,"children":529},{"type":398},[],{"type":18,"value":531}," be a valid pointer to a ",{"type":13,"tag":34,"props":533,"children":535},{"className":534},[],[536],{"type":18,"value":537},"uint32_t",{"type":18,"value":539}," value",{"type":13,"tag":481,"props":541,"children":543},{"name":542},"VUID-vkEnumerateInstanceExtensionProperties-pProperties-parameter",[544],{"type":13,"tag":14,"props":545,"children":546},{},[547,549,554,555,561,563,568,569,574,575,580,581,584,586,591,592,596],{"type":18,"value":548},"If the value referenced by ",{"type":13,"tag":34,"props":550,"children":552},{"className":551},[],[553],{"type":18,"value":307},{"type":18,"value":495},{"type":13,"tag":34,"props":556,"children":558},{"className":557},[],[559],{"type":18,"value":560},"0",{"type":18,"value":562},", and ",{"type":13,"tag":34,"props":564,"children":566},{"className":565},[],[567],{"type":18,"value":318},{"type":18,"value":495},{"type":13,"tag":34,"props":570,"children":572},{"className":571},[],[573],{"type":18,"value":296},{"type":18,"value":502},{"type":13,"tag":34,"props":576,"children":578},{"className":577},[],[579],{"type":18,"value":318},{"type":18,"value":394},{"type":13,"tag":396,"props":582,"children":583},{"type":398},[],{"type":18,"value":585}," be a valid pointer to an array of ",{"type":13,"tag":34,"props":587,"children":589},{"className":588},[],[590],{"type":18,"value":307},{"type":18,"value":394},{"type":13,"tag":328,"props":593,"children":594},{"href":330},[595],{"type":18,"value":333},{"type":18,"value":597}," structures",{"type":13,"tag":599,"props":600,"children":601},"style",{},[602],{"type":18,"value":603},"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":31,"searchDepth":61,"depth":61,"links":605},[],"markdown",1725732616206]