[{"data":1,"prerenderedAt":289},["ShallowReactive",2],{"KtOTMBNowK":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":288,"_id":4},"VkCommandBufferResetFlagBits","Bitmask controlling behavior of a command buffer reset","VK_VERSION_1_0","enums",[],{"type":10,"children":11,"toc":286},"root",[12,45,236,280],{"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/vkResetCommandBuffer",[32],{"type":18,"value":33},"vkResetCommandBuffer",{"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},",\ncontrolling the reset operation, 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 VkCommandBufferResetFlagBits {\n VK_COMMAND_BUFFER_RESET_RELEASE_RESOURCES_BIT = 0x00000001,\n} VkCommandBufferResetFlagBits;\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}," VkCommandBufferResetFlagBits {\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_COMMAND_BUFFER_RESET_RELEASE_RESOURCES_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},"} VkCommandBufferResetFlagBits;\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 CommandBufferResetFlagBits(u32);\nimpl CommandBufferResetFlagBits {\n pub const RELEASE_RESOURCES: 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}," CommandBufferResetFlagBits",{"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}," RELEASE_RESOURCES",{"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],{"type":13,"tag":241,"props":242,"children":243},"li",{},[244,250,252,256,258,262,264,270,272,278],{"type":13,"tag":37,"props":245,"children":247},{"className":246},[],[248],{"type":18,"value":249},"VK_COMMAND_BUFFER_RESET_RELEASE_RESOURCES_BIT",{"type":18,"value":251}," specifies that most\nor all memory resources currently owned by the command buffer ",{"type":13,"tag":21,"props":253,"children":255},{"type":254},"should",[],{"type":18,"value":257}," be\nreturned to the parent command pool.\nIf this flag is not set, then the command buffer ",{"type":13,"tag":21,"props":259,"children":261},{"type":260},"may",[],{"type":18,"value":263}," hold onto memory\nresources and reuse them when recording commands.\n",{"type":13,"tag":37,"props":265,"children":267},{"className":266},[],[268],{"type":18,"value":269},"commandBuffer",{"type":18,"value":271}," is moved to the ",{"type":13,"tag":28,"props":273,"children":275},{"href":274},"/chapters/commandbuffers#commandbuffers-lifecycle",[276],{"type":18,"value":277},"initial\nstate",{"type":18,"value":279},".",{"type":13,"tag":281,"props":282,"children":283},"style",{},[284],{"type":18,"value":285},"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":287},[],"markdown",1729612437347]