[{"data":1,"prerenderedAt":455},["ShallowReactive",2],{"H0EpK2Slfc":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":454,"_id":4},"VkCommandPoolCreateInfo","Structure specifying parameters of a newly created command pool","VK_VERSION_1_0","structs",[],{"type":10,"children":11,"toc":452},"root",[12,28,280,369,446],{"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 as:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,127],{"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 VkCommandPoolCreateInfo {\n VkStructureType sType;\n const void* pNext;\n VkCommandPoolCreateFlags flags;\n uint32_t queueFamilyIndex;\n} VkCommandPoolCreateInfo;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,95,104,118],{"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}," VkCommandPoolCreateInfo {\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,90],{"type":13,"tag":45,"props":81,"children":82},{"style":52},[83],{"type":18,"value":84}," const",{"type":13,"tag":45,"props":86,"children":87},{"style":52},[88],{"type":18,"value":89}," void*",{"type":13,"tag":45,"props":91,"children":92},{"style":63},[93],{"type":18,"value":94}," pNext;\n",{"type":13,"tag":45,"props":96,"children":98},{"class":47,"line":97},4,[99],{"type":13,"tag":45,"props":100,"children":101},{"style":63},[102],{"type":18,"value":103}," VkCommandPoolCreateFlags flags;\n",{"type":13,"tag":45,"props":105,"children":107},{"class":47,"line":106},5,[108,113],{"type":13,"tag":45,"props":109,"children":110},{"style":52},[111],{"type":18,"value":112}," uint32_t",{"type":13,"tag":45,"props":114,"children":115},{"style":63},[116],{"type":18,"value":117}," queueFamilyIndex;\n",{"type":13,"tag":45,"props":119,"children":121},{"class":47,"line":120},6,[122],{"type":13,"tag":45,"props":123,"children":124},{"style":63},[125],{"type":18,"value":126},"} VkCommandPoolCreateInfo;\n",{"type":13,"tag":33,"props":128,"children":133},{"className":129,"code":130,"filename":131,"language":132,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct CommandPoolCreateInfo {\n s_type: vk::StructureType,\n p_next: *const c_void,\n flags: vk::CommandPoolCreateFlags, // Command pool creation flags\n queue_family_index: u32,\n}\n","Rust","rs",[134],{"type":13,"tag":21,"props":135,"children":136},{"__ignoreMap":39},[137,160,193,215,251,272],{"type":13,"tag":45,"props":138,"children":139},{"class":47,"line":48},[140,145,149,155],{"type":13,"tag":45,"props":141,"children":142},{"style":52},[143],{"type":18,"value":144},"pub",{"type":13,"tag":45,"props":146,"children":147},{"style":52},[148],{"type":18,"value":60},{"type":13,"tag":45,"props":150,"children":152},{"style":151},"--shiki-default:#953800;--shiki-dark:#FFA657",[153],{"type":18,"value":154}," CommandPoolCreateInfo",{"type":13,"tag":45,"props":156,"children":157},{"style":63},[158],{"type":18,"value":159}," {\n",{"type":13,"tag":45,"props":161,"children":162},{"class":47,"line":69},[163,168,173,178,183,188],{"type":13,"tag":45,"props":164,"children":165},{"style":63},[166],{"type":18,"value":167}," s_type",{"type":13,"tag":45,"props":169,"children":170},{"style":52},[171],{"type":18,"value":172},":",{"type":13,"tag":45,"props":174,"children":175},{"style":151},[176],{"type":18,"value":177}," vk",{"type":13,"tag":45,"props":179,"children":180},{"style":52},[181],{"type":18,"value":182},"::",{"type":13,"tag":45,"props":184,"children":185},{"style":151},[186],{"type":18,"value":187},"StructureType",{"type":13,"tag":45,"props":189,"children":190},{"style":63},[191],{"type":18,"value":192},",\n",{"type":13,"tag":45,"props":194,"children":195},{"class":47,"line":78},[196,201,205,210],{"type":13,"tag":45,"props":197,"children":198},{"style":63},[199],{"type":18,"value":200}," p_next",{"type":13,"tag":45,"props":202,"children":203},{"style":52},[204],{"type":18,"value":172},{"type":13,"tag":45,"props":206,"children":207},{"style":52},[208],{"type":18,"value":209}," *const",{"type":13,"tag":45,"props":211,"children":212},{"style":63},[213],{"type":18,"value":214}," c_void,\n",{"type":13,"tag":45,"props":216,"children":217},{"class":47,"line":97},[218,223,227,231,235,240,245],{"type":13,"tag":45,"props":219,"children":220},{"style":63},[221],{"type":18,"value":222}," flags",{"type":13,"tag":45,"props":224,"children":225},{"style":52},[226],{"type":18,"value":172},{"type":13,"tag":45,"props":228,"children":229},{"style":151},[230],{"type":18,"value":177},{"type":13,"tag":45,"props":232,"children":233},{"style":52},[234],{"type":18,"value":182},{"type":13,"tag":45,"props":236,"children":237},{"style":151},[238],{"type":18,"value":239},"CommandPoolCreateFlags",{"type":13,"tag":45,"props":241,"children":242},{"style":63},[243],{"type":18,"value":244},", ",{"type":13,"tag":45,"props":246,"children":248},{"style":247},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[249],{"type":18,"value":250},"// Command pool creation flags\n",{"type":13,"tag":45,"props":252,"children":253},{"class":47,"line":106},[254,259,263,268],{"type":13,"tag":45,"props":255,"children":256},{"style":63},[257],{"type":18,"value":258}," queue_family_index",{"type":13,"tag":45,"props":260,"children":261},{"style":52},[262],{"type":18,"value":172},{"type":13,"tag":45,"props":264,"children":265},{"style":151},[266],{"type":18,"value":267}," u32",{"type":13,"tag":45,"props":269,"children":270},{"style":63},[271],{"type":18,"value":192},{"type":13,"tag":45,"props":273,"children":274},{"class":47,"line":120},[275],{"type":13,"tag":45,"props":276,"children":277},{"style":63},[278],{"type":18,"value":279},"}\n",{"type":13,"tag":281,"props":282,"children":283},"ul",{},[284,305,324,343],{"type":13,"tag":285,"props":286,"children":287},"li",{},[288,294,296,303],{"type":13,"tag":21,"props":289,"children":291},{"className":290},[],[292],{"type":18,"value":293},"sType",{"type":18,"value":295}," is a ",{"type":13,"tag":297,"props":298,"children":300},"a",{"href":299},"/man/VkStructureType",[301],{"type":18,"value":302},"VkStructureType",{"type":18,"value":304}," value identifying this structure.",{"type":13,"tag":285,"props":306,"children":307},{},[308,314,316,322],{"type":13,"tag":21,"props":309,"children":311},{"className":310},[],[312],{"type":18,"value":313},"pNext",{"type":18,"value":315}," is ",{"type":13,"tag":21,"props":317,"children":319},{"className":318},[],[320],{"type":18,"value":321},"NULL",{"type":18,"value":323}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":285,"props":325,"children":326},{},[327,333,335,341],{"type":13,"tag":21,"props":328,"children":330},{"className":329},[],[331],{"type":18,"value":332},"flags",{"type":18,"value":334}," is a bitmask of ",{"type":13,"tag":297,"props":336,"children":338},{"href":337},"/man/VkCommandPoolCreateFlagBits",[339],{"type":18,"value":340},"VkCommandPoolCreateFlagBits",{"type":18,"value":342}," indicating\nusage behavior for the pool and command buffers allocated from it.",{"type":13,"tag":285,"props":344,"children":345},{},[346,352,354,360,362,367],{"type":13,"tag":21,"props":347,"children":349},{"className":348},[],[350],{"type":18,"value":351},"queueFamilyIndex",{"type":18,"value":353}," designates a queue family as described in section\n",{"type":13,"tag":297,"props":355,"children":357},{"href":356},"/chapters/devsandqueues#devsandqueues-queueprops",[358],{"type":18,"value":359},"Queue Family Properties",{"type":18,"value":361},".\nAll command buffers allocated from this command pool ",{"type":13,"tag":363,"props":364,"children":366},"normative",{"type":365},"must",[],{"type":18,"value":368}," be submitted\non queues from the same queue family.",{"type":13,"tag":370,"props":371,"children":373},"validity-group",{"name":372},"Valid Usage (Implicit)",[374,400,422],{"type":13,"tag":375,"props":376,"children":378},"validity-field",{"name":377},"VUID-VkCommandPoolCreateInfo-sType-sType",[379],{"type":13,"tag":14,"props":380,"children":381},{},[382,387,389,392,394],{"type":13,"tag":21,"props":383,"children":385},{"className":384},[],[386],{"type":18,"value":293},{"type":18,"value":388}," ",{"type":13,"tag":363,"props":390,"children":391},{"type":365},[],{"type":18,"value":393}," be ",{"type":13,"tag":21,"props":395,"children":397},{"className":396},[],[398],{"type":18,"value":399},"VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO",{"type":13,"tag":375,"props":401,"children":403},{"name":402},"VUID-VkCommandPoolCreateInfo-pNext-pNext",[404],{"type":13,"tag":14,"props":405,"children":406},{},[407,412,413,416,417],{"type":13,"tag":21,"props":408,"children":410},{"className":409},[],[411],{"type":18,"value":313},{"type":18,"value":388},{"type":13,"tag":363,"props":414,"children":415},{"type":365},[],{"type":18,"value":393},{"type":13,"tag":21,"props":418,"children":420},{"className":419},[],[421],{"type":18,"value":321},{"type":13,"tag":375,"props":423,"children":425},{"name":424},"VUID-VkCommandPoolCreateInfo-flags-parameter",[426],{"type":13,"tag":14,"props":427,"children":428},{},[429,434,435,438,440,444],{"type":13,"tag":21,"props":430,"children":432},{"className":431},[],[433],{"type":18,"value":332},{"type":18,"value":388},{"type":13,"tag":363,"props":436,"children":437},{"type":365},[],{"type":18,"value":439}," be a valid combination of ",{"type":13,"tag":297,"props":441,"children":442},{"href":337},[443],{"type":18,"value":340},{"type":18,"value":445}," values",{"type":13,"tag":447,"props":448,"children":449},"style",{},[450],{"type":18,"value":451},"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":453},[],"markdown",1725732543228]