[{"data":1,"prerenderedAt":152},["ShallowReactive",2],{"kjPjGAqKFY":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":151,"_id":4},"VkCommandBuffer","Opaque handle to a command buffer object","VK_VERSION_1_0","handles",[],{"type":10,"children":11,"toc":149},"root",[12,52,65,143],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,25,27,33,35,38,40,45,47,50],{"type":18,"value":19},"text","Command buffers are objects used to record commands which ",{"type":13,"tag":21,"props":22,"children":24},"normative",{"type":23},"can",[],{"type":18,"value":26}," be\nsubsequently submitted to a device queue for execution.\nThere are two levels of command buffers - ",{"type":13,"tag":28,"props":29,"children":30},"em",{},[31],{"type":18,"value":32},"primary command buffers",{"type":18,"value":34},", which\n",{"type":13,"tag":21,"props":36,"children":37},{"type":23},[],{"type":18,"value":39}," execute secondary command buffers, and which are submitted to queues,\nand ",{"type":13,"tag":28,"props":41,"children":42},{},[43],{"type":18,"value":44},"secondary command buffers",{"type":18,"value":46},", which ",{"type":13,"tag":21,"props":48,"children":49},{"type":23},[],{"type":18,"value":51}," be executed by primary command\nbuffers, and which are not directly submitted to queues.",{"type":13,"tag":14,"props":53,"children":54},{},[55,57,63],{"type":18,"value":56},"Command buffers are represented by ",{"type":13,"tag":58,"props":59,"children":61},"code",{"className":60},[],[62],{"type":18,"value":4},{"type":18,"value":64}," handles:",{"type":13,"tag":66,"props":67,"children":68},"code-group",{},[69,99],{"type":13,"tag":70,"props":71,"children":77},"pre",{"className":72,"code":73,"filename":74,"language":75,"meta":76,"style":76},"language-c shiki shiki-themes github-light-default github-dark-default","VK_DEFINE_HANDLE(VkCommandBuffer)\n","C","c","",[78],{"type":13,"tag":58,"props":79,"children":80},{"__ignoreMap":76},[81],{"type":13,"tag":82,"props":83,"children":86},"span",{"class":84,"line":85},"line",1,[87,93],{"type":13,"tag":82,"props":88,"children":90},{"style":89},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[91],{"type":18,"value":92},"VK_DEFINE_HANDLE",{"type":13,"tag":82,"props":94,"children":96},{"style":95},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[97],{"type":18,"value":98},"(VkCommandBuffer)\n",{"type":13,"tag":70,"props":100,"children":105},{"className":101,"code":102,"filename":103,"language":104,"meta":76,"style":76},"language-rs shiki shiki-themes github-light-default github-dark-default","#[repr(transparent)]\npub struct CommandBuffer(_);\n","Rust","rs",[106],{"type":13,"tag":58,"props":107,"children":108},{"__ignoreMap":76},[109,117],{"type":13,"tag":82,"props":110,"children":111},{"class":84,"line":85},[112],{"type":13,"tag":82,"props":113,"children":114},{"style":95},[115],{"type":18,"value":116},"#[repr(transparent)]\n",{"type":13,"tag":82,"props":118,"children":120},{"class":84,"line":119},2,[121,127,132,138],{"type":13,"tag":82,"props":122,"children":124},{"style":123},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[125],{"type":18,"value":126},"pub",{"type":13,"tag":82,"props":128,"children":129},{"style":123},[130],{"type":18,"value":131}," struct",{"type":13,"tag":82,"props":133,"children":135},{"style":134},"--shiki-default:#953800;--shiki-dark:#FFA657",[136],{"type":18,"value":137}," CommandBuffer",{"type":13,"tag":82,"props":139,"children":140},{"style":95},[141],{"type":18,"value":142},"(_);\n",{"type":13,"tag":144,"props":145,"children":146},"style",{},[147],{"type":18,"value":148},"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":76,"searchDepth":119,"depth":119,"links":150},[],"markdown",1725732542559]