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