[{"data":1,"prerenderedAt":503},["ShallowReactive",2],{"oFyci3ofUK":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":502,"_id":4},"VkDescriptorPoolCreateFlagBits","Bitmask specifying certain supported operations on a descriptor pool","VK_VERSION_1_0","enums",[],{"type":10,"children":11,"toc":500},"root",[12,45,236,494],{"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},"can",[],{"type":18,"value":26}," be set in ",{"type":13,"tag":28,"props":29,"children":31},"a",{"href":30},"/man/VkDescriptorPoolCreateInfo",[32],{"type":18,"value":33},"VkDescriptorPoolCreateInfo",{"type":18,"value":35},"::",{"type":13,"tag":37,"props":38,"children":40},"code",{"className":39},[],[41],{"type":18,"value":42},"flags",{"type":18,"value":44},",\nenabling operations on a descriptor pool, are:",{"type":13,"tag":46,"props":47,"children":48},"code-group",{},[49,123],{"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 VkDescriptorPoolCreateFlagBits {\n VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT = 0x00000001,\n} VkDescriptorPoolCreateFlagBits;\n","C","c","",[58],{"type":13,"tag":37,"props":59,"children":60},{"__ignoreMap":56},[61,84,114],{"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}," VkDescriptorPoolCreateFlagBits {\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_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_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],{"type":13,"tag":62,"props":119,"children":120},{"style":80},[121],{"type":18,"value":122},"} VkDescriptorPoolCreateFlagBits;\n",{"type":13,"tag":50,"props":124,"children":129},{"className":125,"code":126,"filename":127,"language":128,"meta":56,"style":56},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct DescriptorPoolCreateFlagBits(u32);\nimpl DescriptorPoolCreateFlagBits {\n pub const FREE_DESCRIPTOR_SET: Self = 0x00000001;\n}\n","Rust","rs",[130],{"type":13,"tag":37,"props":131,"children":132},{"__ignoreMap":56},[133,167,184,227],{"type":13,"tag":62,"props":134,"children":135},{"class":64,"line":65},[136,141,146,152,157,162],{"type":13,"tag":62,"props":137,"children":138},{"style":69},[139],{"type":18,"value":140},"pub",{"type":13,"tag":62,"props":142,"children":143},{"style":69},[144],{"type":18,"value":145}," struct",{"type":13,"tag":62,"props":147,"children":149},{"style":148},"--shiki-default:#953800;--shiki-dark:#FFA657",[150],{"type":18,"value":151}," DescriptorPoolCreateFlagBits",{"type":13,"tag":62,"props":153,"children":154},{"style":80},[155],{"type":18,"value":156},"(",{"type":13,"tag":62,"props":158,"children":159},{"style":148},[160],{"type":18,"value":161},"u32",{"type":13,"tag":62,"props":163,"children":164},{"style":80},[165],{"type":18,"value":166},");\n",{"type":13,"tag":62,"props":168,"children":169},{"class":64,"line":86},[170,175,179],{"type":13,"tag":62,"props":171,"children":172},{"style":69},[173],{"type":18,"value":174},"impl",{"type":13,"tag":62,"props":176,"children":177},{"style":148},[178],{"type":18,"value":151},{"type":13,"tag":62,"props":180,"children":181},{"style":80},[182],{"type":18,"value":183}," {\n",{"type":13,"tag":62,"props":185,"children":186},{"class":64,"line":116},[187,192,197,202,207,212,217,222],{"type":13,"tag":62,"props":188,"children":189},{"style":69},[190],{"type":18,"value":191}," pub",{"type":13,"tag":62,"props":193,"children":194},{"style":69},[195],{"type":18,"value":196}," const",{"type":13,"tag":62,"props":198,"children":199},{"style":105},[200],{"type":18,"value":201}," FREE_DESCRIPTOR_SET",{"type":13,"tag":62,"props":203,"children":204},{"style":69},[205],{"type":18,"value":206},":",{"type":13,"tag":62,"props":208,"children":209},{"style":105},[210],{"type":18,"value":211}," Self",{"type":13,"tag":62,"props":213,"children":214},{"style":69},[215],{"type":18,"value":216}," =",{"type":13,"tag":62,"props":218,"children":219},{"style":105},[220],{"type":18,"value":221}," 0x00000001",{"type":13,"tag":62,"props":223,"children":224},{"style":80},[225],{"type":18,"value":226},";\n",{"type":13,"tag":62,"props":228,"children":230},{"class":64,"line":229},4,[231],{"type":13,"tag":62,"props":232,"children":233},{"style":80},[234],{"type":18,"value":235},"}\n",{"type":13,"tag":237,"props":238,"children":239},"ul",{},[240,299,337,374,411],{"type":13,"tag":241,"props":242,"children":243},"li",{},[244,250,252,255,257,263,265,271,273,279,281,285,287,291,293,297],{"type":13,"tag":37,"props":245,"children":247},{"className":246},[],[248],{"type":18,"value":249},"VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT",{"type":18,"value":251}," specifies that\ndescriptor sets ",{"type":13,"tag":21,"props":253,"children":254},{"type":23},[],{"type":18,"value":256}," return their individual allocations to the pool,\ni.e. all of ",{"type":13,"tag":28,"props":258,"children":260},{"href":259},"/man/vkAllocateDescriptorSets",[261],{"type":18,"value":262},"vkAllocateDescriptorSets",{"type":18,"value":264},", ",{"type":13,"tag":28,"props":266,"children":268},{"href":267},"/man/vkFreeDescriptorSets",[269],{"type":18,"value":270},"vkFreeDescriptorSets",{"type":18,"value":272},",\nand ",{"type":13,"tag":28,"props":274,"children":276},{"href":275},"/man/vkResetDescriptorPool",[277],{"type":18,"value":278},"vkResetDescriptorPool",{"type":18,"value":280}," are allowed.\nOtherwise, descriptor sets allocated from the pool ",{"type":13,"tag":21,"props":282,"children":284},{"type":283},"must",[],{"type":18,"value":286}," not be\nindividually freed back to the pool, i.e. only\n",{"type":13,"tag":28,"props":288,"children":289},{"href":259},[290],{"type":18,"value":262},{"type":18,"value":292}," and ",{"type":13,"tag":28,"props":294,"children":295},{"href":275},[296],{"type":18,"value":278},{"type":18,"value":298}," are\nallowed.",{"type":13,"tag":241,"props":300,"children":301},{},[302,308,310,313,315,321,323,328,330,335],{"type":13,"tag":37,"props":303,"children":305},{"className":304},[],[306],{"type":18,"value":307},"VK_DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT",{"type":18,"value":309}," specifies that\ndescriptor sets allocated from this pool ",{"type":13,"tag":21,"props":311,"children":312},{"type":23},[],{"type":18,"value":314}," include bindings with the\n",{"type":13,"tag":37,"props":316,"children":318},{"className":317},[],[319],{"type":18,"value":320},"VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT",{"type":18,"value":322}," bit set.\nIt is valid to allocate descriptor sets that have bindings that do not\nset the ",{"type":13,"tag":37,"props":324,"children":326},{"className":325},[],[327],{"type":18,"value":320},{"type":18,"value":329}," bit from a\npool that has ",{"type":13,"tag":37,"props":331,"children":333},{"className":332},[],[334],{"type":18,"value":307},{"type":18,"value":336}," set.",{"type":13,"tag":241,"props":338,"children":339},{},[340,346,348,351,353,359,361,367,369,372],{"type":13,"tag":37,"props":341,"children":343},{"className":342},[],[344],{"type":18,"value":345},"VK_DESCRIPTOR_POOL_CREATE_HOST_ONLY_BIT_EXT",{"type":18,"value":347}," specifies that this\ndescriptor pool and the descriptor sets allocated from it reside\nentirely in host memory and cannot be bound.\nSimilar to descriptor sets allocated without this flag, applications\n",{"type":13,"tag":21,"props":349,"children":350},{"type":23},[],{"type":18,"value":352}," copy-from and copy-to descriptors sets allocated from this\ndescriptor pool.\nDescriptor sets allocated from this pool are partially exempt from the\nexternal synchronization requirement in\n",{"type":13,"tag":28,"props":354,"children":356},{"href":355},"/man/vkUpdateDescriptorSetWithTemplateKHR",[357],{"type":18,"value":358},"vkUpdateDescriptorSetWithTemplateKHR",{"type":18,"value":360}," and\n",{"type":13,"tag":28,"props":362,"children":364},{"href":363},"/man/vkUpdateDescriptorSets",[365],{"type":18,"value":366},"vkUpdateDescriptorSets",{"type":18,"value":368},".\nDescriptor sets and their descriptors can be updated concurrently in\ndifferent threads, though the same descriptor ",{"type":13,"tag":21,"props":370,"children":371},{"type":283},[],{"type":18,"value":373}," not be updated\nconcurrently by two threads.",{"type":13,"tag":241,"props":375,"children":376},{},[377,383,385,389,390,396,398,402,404,409],{"type":13,"tag":37,"props":378,"children":380},{"className":379},[],[381],{"type":18,"value":382},"VK_DESCRIPTOR_POOL_CREATE_ALLOW_OVERALLOCATION_SETS_BIT_NV",{"type":18,"value":384},"\nspecifies that the implementation should allow the application to\nallocate more than ",{"type":13,"tag":28,"props":386,"children":387},{"href":30},[388],{"type":18,"value":33},{"type":18,"value":35},{"type":13,"tag":37,"props":391,"children":393},{"className":392},[],[394],{"type":18,"value":395},"maxSets",{"type":18,"value":397},"\ndescriptor set objects from the descriptor pool as available resources\nallow.\nThe implementation ",{"type":13,"tag":21,"props":399,"children":401},{"type":400},"may",[],{"type":18,"value":403}," use the ",{"type":13,"tag":37,"props":405,"children":407},{"className":406},[],[408],{"type":18,"value":395},{"type":18,"value":410}," value to allocate the\ninitial available sets, but using zero is permitted.",{"type":13,"tag":241,"props":412,"children":413},{},[414,420,422,428,429,435,437,441,442,448,449,453,454,460,462,465,466,471,473,478,480,485,487,492],{"type":13,"tag":37,"props":415,"children":417},{"className":416},[],[418],{"type":18,"value":419},"VK_DESCRIPTOR_POOL_CREATE_ALLOW_OVERALLOCATION_POOLS_BIT_NV",{"type":18,"value":421},"\nspecifies that the implementation should allow the application to\nallocate more descriptors from the pool than was specified by the\n",{"type":13,"tag":28,"props":423,"children":425},{"href":424},"/man/VkDescriptorPoolSize",[426],{"type":18,"value":427},"VkDescriptorPoolSize",{"type":18,"value":35},{"type":13,"tag":37,"props":430,"children":432},{"className":431},[],[433],{"type":18,"value":434},"descriptorCount",{"type":18,"value":436}," for any descriptor\ntype as specified by\n",{"type":13,"tag":28,"props":438,"children":439},{"href":30},[440],{"type":18,"value":33},{"type":18,"value":35},{"type":13,"tag":37,"props":443,"children":445},{"className":444},[],[446],{"type":18,"value":447},"poolSizeCount",{"type":18,"value":360},{"type":13,"tag":28,"props":450,"children":451},{"href":30},[452],{"type":18,"value":33},{"type":18,"value":35},{"type":13,"tag":37,"props":455,"children":457},{"className":456},[],[458],{"type":18,"value":459},"pPoolSizes",{"type":18,"value":461},", as available\nresources allow.\nThe implementation ",{"type":13,"tag":21,"props":463,"children":464},{"type":400},[],{"type":18,"value":403},{"type":13,"tag":37,"props":467,"children":469},{"className":468},[],[470],{"type":18,"value":434},{"type":18,"value":472}," for each\ndescriptor type to allocate the initial pool, but the application is\nallowed to set the ",{"type":13,"tag":37,"props":474,"children":476},{"className":475},[],[477],{"type":18,"value":447},{"type":18,"value":479}," to zero, or any of the\n",{"type":13,"tag":37,"props":481,"children":483},{"className":482},[],[484],{"type":18,"value":434},{"type":18,"value":486}," values in the ",{"type":13,"tag":37,"props":488,"children":490},{"className":489},[],[491],{"type":18,"value":459},{"type":18,"value":493}," array to zero.",{"type":13,"tag":495,"props":496,"children":497},"style",{},[498],{"type":18,"value":499},"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":501},[],"markdown",1725732546826]