[{"data":1,"prerenderedAt":127},["ShallowReactive",2],{"4rVIQFMS9D":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":126,"_id":4},"VkCommandPool","Opaque handle to a command pool object","VK_VERSION_1_0","handles",[],{"type":10,"children":11,"toc":124},"root",[12,27,40,118],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,25],{"type":18,"value":19},"text","Command pools are opaque objects that command buffer memory is allocated\nfrom, and which allow the implementation to amortize the cost of resource\ncreation across multiple command buffers.\nCommand pools are externally synchronized, meaning that a command pool ",{"type":13,"tag":21,"props":22,"children":24},"normative",{"type":23},"must",[],{"type":18,"value":26},"\nnot be used concurrently in multiple threads.\nThat includes use via recording commands on any command buffers allocated\nfrom the pool, as well as operations that allocate, free, and reset command\nbuffers or the pool itself.",{"type":13,"tag":14,"props":28,"children":29},{},[30,32,38],{"type":18,"value":31},"Command pools are represented by ",{"type":13,"tag":33,"props":34,"children":36},"code",{"className":35},[],[37],{"type":18,"value":4},{"type":18,"value":39}," handles:",{"type":13,"tag":41,"props":42,"children":43},"code-group",{},[44,74],{"type":13,"tag":45,"props":46,"children":52},"pre",{"className":47,"code":48,"filename":49,"language":50,"meta":51,"style":51},"language-c shiki shiki-themes github-light-default github-dark-default","VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkCommandPool)\n","C","c","",[53],{"type":13,"tag":33,"props":54,"children":55},{"__ignoreMap":51},[56],{"type":13,"tag":57,"props":58,"children":61},"span",{"class":59,"line":60},"line",1,[62,68],{"type":13,"tag":57,"props":63,"children":65},{"style":64},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[66],{"type":18,"value":67},"VK_DEFINE_NON_DISPATCHABLE_HANDLE",{"type":13,"tag":57,"props":69,"children":71},{"style":70},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[72],{"type":18,"value":73},"(VkCommandPool)\n",{"type":13,"tag":45,"props":75,"children":80},{"className":76,"code":77,"filename":78,"language":79,"meta":51,"style":51},"language-rs shiki shiki-themes github-light-default github-dark-default","#[repr(transparent)]\npub struct CommandPool(_);\n","Rust","rs",[81],{"type":13,"tag":33,"props":82,"children":83},{"__ignoreMap":51},[84,92],{"type":13,"tag":57,"props":85,"children":86},{"class":59,"line":60},[87],{"type":13,"tag":57,"props":88,"children":89},{"style":70},[90],{"type":18,"value":91},"#[repr(transparent)]\n",{"type":13,"tag":57,"props":93,"children":95},{"class":59,"line":94},2,[96,102,107,113],{"type":13,"tag":57,"props":97,"children":99},{"style":98},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[100],{"type":18,"value":101},"pub",{"type":13,"tag":57,"props":103,"children":104},{"style":98},[105],{"type":18,"value":106}," struct",{"type":13,"tag":57,"props":108,"children":110},{"style":109},"--shiki-default:#953800;--shiki-dark:#FFA657",[111],{"type":18,"value":112}," CommandPool",{"type":13,"tag":57,"props":114,"children":115},{"style":70},[116],{"type":18,"value":117},"(_);\n",{"type":13,"tag":119,"props":120,"children":121},"style",{},[122],{"type":18,"value":123},"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":51,"searchDepth":94,"depth":94,"links":125},[],"markdown",1725732543150]