[{"data":1,"prerenderedAt":540},["ShallowReactive",2],{"jTT9WDon7r":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":539,"_id":4},"VkDescriptorSetVariableDescriptorCountLayoutSupport","Structure returning information about whether a descriptor set layout can be supported","VK_VERSION_1_2","structs",[],{"type":10,"children":11,"toc":537},"root",[12,45,247,252,317,385,499,531],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27,29,36,38,43],{"type":18,"value":19},"text","If the ",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":26},"pNext",{"type":18,"value":28}," chain of a ",{"type":13,"tag":30,"props":31,"children":33},"a",{"href":32},"/man/VkDescriptorSetLayoutSupport",[34],{"type":18,"value":35},"VkDescriptorSetLayoutSupport",{"type":18,"value":37}," structure\nincludes a ",{"type":13,"tag":21,"props":39,"children":41},{"className":40},[],[42],{"type":18,"value":4},{"type":18,"value":44},"\nstructure, then that structure returns additional information about whether\nthe descriptor set layout is supported.",{"type":13,"tag":46,"props":47,"children":48},"code-group",{},[49,130],{"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 struct VkDescriptorSetVariableDescriptorCountLayoutSupport {\n VkStructureType sType;\n void* pNext;\n uint32_t maxVariableDescriptorCount;\n} VkDescriptorSetVariableDescriptorCountLayoutSupport;\n","C","c","",[58],{"type":13,"tag":21,"props":59,"children":60},{"__ignoreMap":56},[61,84,93,107,121],{"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}," struct",{"type":13,"tag":62,"props":79,"children":81},{"style":80},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[82],{"type":18,"value":83}," VkDescriptorSetVariableDescriptorCountLayoutSupport {\n",{"type":13,"tag":62,"props":85,"children":87},{"class":64,"line":86},2,[88],{"type":13,"tag":62,"props":89,"children":90},{"style":80},[91],{"type":18,"value":92}," VkStructureType sType;\n",{"type":13,"tag":62,"props":94,"children":96},{"class":64,"line":95},3,[97,102],{"type":13,"tag":62,"props":98,"children":99},{"style":69},[100],{"type":18,"value":101}," void*",{"type":13,"tag":62,"props":103,"children":104},{"style":80},[105],{"type":18,"value":106}," pNext;\n",{"type":13,"tag":62,"props":108,"children":110},{"class":64,"line":109},4,[111,116],{"type":13,"tag":62,"props":112,"children":113},{"style":69},[114],{"type":18,"value":115}," uint32_t",{"type":13,"tag":62,"props":117,"children":118},{"style":80},[119],{"type":18,"value":120}," maxVariableDescriptorCount;\n",{"type":13,"tag":62,"props":122,"children":124},{"class":64,"line":123},5,[125],{"type":13,"tag":62,"props":126,"children":127},{"style":80},[128],{"type":18,"value":129},"} VkDescriptorSetVariableDescriptorCountLayoutSupport;\n",{"type":13,"tag":50,"props":131,"children":136},{"className":132,"code":133,"filename":134,"language":135,"meta":56,"style":56},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct DescriptorSetVariableDescriptorCountLayoutSupport {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n max_variable_descriptor_count: u32,\n}\n","Rust","rs",[137],{"type":13,"tag":21,"props":138,"children":139},{"__ignoreMap":56},[140,163,196,218,239],{"type":13,"tag":62,"props":141,"children":142},{"class":64,"line":65},[143,148,152,158],{"type":13,"tag":62,"props":144,"children":145},{"style":69},[146],{"type":18,"value":147},"pub",{"type":13,"tag":62,"props":149,"children":150},{"style":69},[151],{"type":18,"value":77},{"type":13,"tag":62,"props":153,"children":155},{"style":154},"--shiki-default:#953800;--shiki-dark:#FFA657",[156],{"type":18,"value":157}," DescriptorSetVariableDescriptorCountLayoutSupport",{"type":13,"tag":62,"props":159,"children":160},{"style":80},[161],{"type":18,"value":162}," {\n",{"type":13,"tag":62,"props":164,"children":165},{"class":64,"line":86},[166,171,176,181,186,191],{"type":13,"tag":62,"props":167,"children":168},{"style":80},[169],{"type":18,"value":170}," s_type",{"type":13,"tag":62,"props":172,"children":173},{"style":69},[174],{"type":18,"value":175},":",{"type":13,"tag":62,"props":177,"children":178},{"style":154},[179],{"type":18,"value":180}," vk",{"type":13,"tag":62,"props":182,"children":183},{"style":69},[184],{"type":18,"value":185},"::",{"type":13,"tag":62,"props":187,"children":188},{"style":154},[189],{"type":18,"value":190},"StructureType",{"type":13,"tag":62,"props":192,"children":193},{"style":80},[194],{"type":18,"value":195},",\n",{"type":13,"tag":62,"props":197,"children":198},{"class":64,"line":95},[199,204,208,213],{"type":13,"tag":62,"props":200,"children":201},{"style":80},[202],{"type":18,"value":203}," p_next",{"type":13,"tag":62,"props":205,"children":206},{"style":69},[207],{"type":18,"value":175},{"type":13,"tag":62,"props":209,"children":210},{"style":69},[211],{"type":18,"value":212}," *mut",{"type":13,"tag":62,"props":214,"children":215},{"style":80},[216],{"type":18,"value":217}," c_void,\n",{"type":13,"tag":62,"props":219,"children":220},{"class":64,"line":109},[221,226,230,235],{"type":13,"tag":62,"props":222,"children":223},{"style":80},[224],{"type":18,"value":225}," max_variable_descriptor_count",{"type":13,"tag":62,"props":227,"children":228},{"style":69},[229],{"type":18,"value":175},{"type":13,"tag":62,"props":231,"children":232},{"style":154},[233],{"type":18,"value":234}," u32",{"type":13,"tag":62,"props":236,"children":237},{"style":80},[238],{"type":18,"value":195},{"type":13,"tag":62,"props":240,"children":241},{"class":64,"line":123},[242],{"type":13,"tag":62,"props":243,"children":244},{"style":80},[245],{"type":18,"value":246},"}\n",{"type":13,"tag":14,"props":248,"children":249},{},[250],{"type":18,"value":251},"or the equivalent",{"type":13,"tag":46,"props":253,"children":254},{},[255,274],{"type":13,"tag":50,"props":256,"children":258},{"className":52,"code":257,"filename":54,"language":55,"meta":56,"style":56},"typedef VkDescriptorSetVariableDescriptorCountLayoutSupport VkDescriptorSetVariableDescriptorCountLayoutSupportEXT;\n",[259],{"type":13,"tag":21,"props":260,"children":261},{"__ignoreMap":56},[262],{"type":13,"tag":62,"props":263,"children":264},{"class":64,"line":65},[265,269],{"type":13,"tag":62,"props":266,"children":267},{"style":69},[268],{"type":18,"value":72},{"type":13,"tag":62,"props":270,"children":271},{"style":80},[272],{"type":18,"value":273}," VkDescriptorSetVariableDescriptorCountLayoutSupport VkDescriptorSetVariableDescriptorCountLayoutSupportEXT;\n",{"type":13,"tag":50,"props":275,"children":277},{"className":132,"code":276,"filename":134,"language":135,"meta":56,"style":56},"type DescriptorSetVariableDescriptorCountLayoutSupportEXT = vk::DescriptorSetVariableDescriptorCountLayoutSupport;\n",[278],{"type":13,"tag":21,"props":279,"children":280},{"__ignoreMap":56},[281],{"type":13,"tag":62,"props":282,"children":283},{"class":64,"line":65},[284,289,294,299,303,307,312],{"type":13,"tag":62,"props":285,"children":286},{"style":69},[287],{"type":18,"value":288},"type",{"type":13,"tag":62,"props":290,"children":291},{"style":154},[292],{"type":18,"value":293}," DescriptorSetVariableDescriptorCountLayoutSupportEXT",{"type":13,"tag":62,"props":295,"children":296},{"style":69},[297],{"type":18,"value":298}," =",{"type":13,"tag":62,"props":300,"children":301},{"style":154},[302],{"type":18,"value":180},{"type":13,"tag":62,"props":304,"children":305},{"style":69},[306],{"type":18,"value":185},{"type":13,"tag":62,"props":308,"children":309},{"style":154},[310],{"type":18,"value":311},"DescriptorSetVariableDescriptorCountLayoutSupport",{"type":13,"tag":62,"props":313,"children":314},{"style":80},[315],{"type":18,"value":316},";\n",{"type":13,"tag":318,"props":319,"children":320},"ul",{},[321,341,359],{"type":13,"tag":322,"props":323,"children":324},"li",{},[325,331,333,339],{"type":13,"tag":21,"props":326,"children":328},{"className":327},[],[329],{"type":18,"value":330},"sType",{"type":18,"value":332}," is a ",{"type":13,"tag":30,"props":334,"children":336},{"href":335},"/man/VkStructureType",[337],{"type":18,"value":338},"VkStructureType",{"type":18,"value":340}," value identifying this structure.",{"type":13,"tag":322,"props":342,"children":343},{},[344,349,351,357],{"type":13,"tag":21,"props":345,"children":347},{"className":346},[],[348],{"type":18,"value":26},{"type":18,"value":350}," is ",{"type":13,"tag":21,"props":352,"children":354},{"className":353},[],[355],{"type":18,"value":356},"NULL",{"type":18,"value":358}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":322,"props":360,"children":361},{},[362,368,370,376,378,383],{"type":13,"tag":21,"props":363,"children":365},{"className":364},[],[366],{"type":18,"value":367},"maxVariableDescriptorCount",{"type":18,"value":369}," indicates the maximum number of\ndescriptors supported in the highest numbered binding of the layout, if\nthat binding is variable-sized.\nIf the highest numbered binding of the layout has a descriptor type of\n",{"type":13,"tag":21,"props":371,"children":373},{"className":372},[],[374],{"type":18,"value":375},"VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK",{"type":18,"value":377}," then\n",{"type":13,"tag":21,"props":379,"children":381},{"className":380},[],[382],{"type":18,"value":367},{"type":18,"value":384}," indicates the maximum byte size\nsupported for the binding, if that binding is variable-sized.",{"type":13,"tag":14,"props":386,"children":387},{},[388,389,395,397,403,404,410,412,418,420,425,427,432,434,438,440,446,447,453,455,460,462,468,470,475,477,483,485,490,492,497],{"type":18,"value":19},{"type":13,"tag":30,"props":390,"children":392},{"href":391},"/man/VkDescriptorSetLayoutCreateInfo",[393],{"type":18,"value":394},"VkDescriptorSetLayoutCreateInfo",{"type":18,"value":396}," structure specified in\n",{"type":13,"tag":30,"props":398,"children":400},{"href":399},"/man/vkGetDescriptorSetLayoutSupport",[401],{"type":18,"value":402},"vkGetDescriptorSetLayoutSupport",{"type":18,"value":185},{"type":13,"tag":21,"props":405,"children":407},{"className":406},[],[408],{"type":18,"value":409},"pCreateInfo",{"type":18,"value":411}," includes a\nvariable-sized descriptor, then ",{"type":13,"tag":21,"props":413,"children":415},{"className":414},[],[416],{"type":18,"value":417},"supported",{"type":18,"value":419}," is determined assuming the\nrequested size of the variable-sized descriptor, and\n",{"type":13,"tag":21,"props":421,"children":423},{"className":422},[],[424],{"type":18,"value":367},{"type":18,"value":426}," is set to the maximum size of that\ndescriptor that ",{"type":13,"tag":428,"props":429,"children":431},"normative",{"type":430},"can",[],{"type":18,"value":433}," be successfully created (which is greater than or equal\nto the requested size passed in).\nIf the ",{"type":13,"tag":30,"props":435,"children":436},{"href":391},[437],{"type":18,"value":394},{"type":18,"value":439}," structure does not include a\nvariable-sized descriptor, or if the\n",{"type":13,"tag":30,"props":441,"children":443},{"href":442},"/man/VkPhysicalDeviceDescriptorIndexingFeatures",[444],{"type":18,"value":445},"VkPhysicalDeviceDescriptorIndexingFeatures",{"type":18,"value":185},{"type":13,"tag":21,"props":448,"children":450},{"className":449},[],[451],{"type":18,"value":452},"descriptorBindingVariableDescriptorCount",{"type":18,"value":454},"\nfeature is not enabled, then ",{"type":13,"tag":21,"props":456,"children":458},{"className":457},[],[459],{"type":18,"value":367},{"type":18,"value":461}," is set to\nzero.\nFor the purposes of this command, a variable-sized descriptor binding with a\n",{"type":13,"tag":21,"props":463,"children":465},{"className":464},[],[466],{"type":18,"value":467},"descriptorCount",{"type":18,"value":469}," of zero is treated as having a ",{"type":13,"tag":21,"props":471,"children":473},{"className":472},[],[474],{"type":18,"value":467},{"type":18,"value":476},"\nof\nfour if ",{"type":13,"tag":21,"props":478,"children":480},{"className":479},[],[481],{"type":18,"value":482},"descriptorType",{"type":18,"value":484}," is\n",{"type":13,"tag":21,"props":486,"children":488},{"className":487},[],[489],{"type":18,"value":375},{"type":18,"value":491},", or one otherwise,\nand thus the binding is not ignored and the maximum descriptor count will be\nreturned.\nIf the layout is not supported, then the value written to\n",{"type":13,"tag":21,"props":493,"children":495},{"className":494},[],[496],{"type":18,"value":367},{"type":18,"value":498}," is undefined:.",{"type":13,"tag":500,"props":501,"children":503},"validity-group",{"name":502},"Valid Usage (Implicit)",[504],{"type":13,"tag":505,"props":506,"children":508},"validity-field",{"name":507},"VUID-VkDescriptorSetVariableDescriptorCountLayoutSupport-sType-sType",[509],{"type":13,"tag":14,"props":510,"children":511},{},[512,517,519,523,525],{"type":13,"tag":21,"props":513,"children":515},{"className":514},[],[516],{"type":18,"value":330},{"type":18,"value":518}," ",{"type":13,"tag":428,"props":520,"children":522},{"type":521},"must",[],{"type":18,"value":524}," be ",{"type":13,"tag":21,"props":526,"children":528},{"className":527},[],[529],{"type":18,"value":530},"VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_LAYOUT_SUPPORT",{"type":13,"tag":532,"props":533,"children":534},"style",{},[535],{"type":18,"value":536},"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":538},[],"markdown",1725732547520]