[{"data":1,"prerenderedAt":378},["ShallowReactive",2],{"pzlJDpvxOP":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":377,"_id":4},"VkCommandPoolCreateFlagBits","Bitmask specifying usage behavior for a command pool","VK_VERSION_1_0","enums",[],{"type":10,"children":11,"toc":375},"root",[12,45,299,369],{"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/VkCommandPoolCreateInfo",[32],{"type":18,"value":33},"VkCommandPoolCreateInfo",{"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},",\nspecifying usage behavior for a command pool, are:",{"type":13,"tag":46,"props":47,"children":48},"code-group",{},[49,149],{"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 VkCommandPoolCreateFlagBits {\n VK_COMMAND_POOL_CREATE_TRANSIENT_BIT = 0x00000001,\n VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT = 0x00000002,\n} VkCommandPoolCreateFlagBits;\n","C","c","",[58],{"type":13,"tag":37,"props":59,"children":60},{"__ignoreMap":56},[61,84,114,140],{"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}," VkCommandPoolCreateFlagBits {\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_POOL_CREATE_TRANSIENT_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,123,127,131,136],{"type":13,"tag":62,"props":119,"children":120},{"style":80},[121],{"type":18,"value":122}," VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT ",{"type":13,"tag":62,"props":124,"children":125},{"style":69},[126],{"type":18,"value":97},{"type":13,"tag":62,"props":128,"children":129},{"style":69},[130],{"type":18,"value":102},{"type":13,"tag":62,"props":132,"children":133},{"style":105},[134],{"type":18,"value":135},"00000002",{"type":13,"tag":62,"props":137,"children":138},{"style":80},[139],{"type":18,"value":113},{"type":13,"tag":62,"props":141,"children":143},{"class":64,"line":142},4,[144],{"type":13,"tag":62,"props":145,"children":146},{"style":80},[147],{"type":18,"value":148},"} VkCommandPoolCreateFlagBits;\n",{"type":13,"tag":50,"props":150,"children":155},{"className":151,"code":152,"filename":153,"language":154,"meta":56,"style":56},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct CommandPoolCreateFlagBits(u32);\nimpl CommandPoolCreateFlagBits {\n pub const TRANSIENT: Self = 0x00000001;\n pub const RESET_COMMAND_BUFFER: Self = 0x00000002;\n}\n","Rust","rs",[156],{"type":13,"tag":37,"props":157,"children":158},{"__ignoreMap":56},[159,193,210,253,290],{"type":13,"tag":62,"props":160,"children":161},{"class":64,"line":65},[162,167,172,178,183,188],{"type":13,"tag":62,"props":163,"children":164},{"style":69},[165],{"type":18,"value":166},"pub",{"type":13,"tag":62,"props":168,"children":169},{"style":69},[170],{"type":18,"value":171}," struct",{"type":13,"tag":62,"props":173,"children":175},{"style":174},"--shiki-default:#953800;--shiki-dark:#FFA657",[176],{"type":18,"value":177}," CommandPoolCreateFlagBits",{"type":13,"tag":62,"props":179,"children":180},{"style":80},[181],{"type":18,"value":182},"(",{"type":13,"tag":62,"props":184,"children":185},{"style":174},[186],{"type":18,"value":187},"u32",{"type":13,"tag":62,"props":189,"children":190},{"style":80},[191],{"type":18,"value":192},");\n",{"type":13,"tag":62,"props":194,"children":195},{"class":64,"line":86},[196,201,205],{"type":13,"tag":62,"props":197,"children":198},{"style":69},[199],{"type":18,"value":200},"impl",{"type":13,"tag":62,"props":202,"children":203},{"style":174},[204],{"type":18,"value":177},{"type":13,"tag":62,"props":206,"children":207},{"style":80},[208],{"type":18,"value":209}," {\n",{"type":13,"tag":62,"props":211,"children":212},{"class":64,"line":116},[213,218,223,228,233,238,243,248],{"type":13,"tag":62,"props":214,"children":215},{"style":69},[216],{"type":18,"value":217}," pub",{"type":13,"tag":62,"props":219,"children":220},{"style":69},[221],{"type":18,"value":222}," const",{"type":13,"tag":62,"props":224,"children":225},{"style":105},[226],{"type":18,"value":227}," TRANSIENT",{"type":13,"tag":62,"props":229,"children":230},{"style":69},[231],{"type":18,"value":232},":",{"type":13,"tag":62,"props":234,"children":235},{"style":105},[236],{"type":18,"value":237}," Self",{"type":13,"tag":62,"props":239,"children":240},{"style":69},[241],{"type":18,"value":242}," =",{"type":13,"tag":62,"props":244,"children":245},{"style":105},[246],{"type":18,"value":247}," 0x00000001",{"type":13,"tag":62,"props":249,"children":250},{"style":80},[251],{"type":18,"value":252},";\n",{"type":13,"tag":62,"props":254,"children":255},{"class":64,"line":142},[256,260,264,269,273,277,281,286],{"type":13,"tag":62,"props":257,"children":258},{"style":69},[259],{"type":18,"value":217},{"type":13,"tag":62,"props":261,"children":262},{"style":69},[263],{"type":18,"value":222},{"type":13,"tag":62,"props":265,"children":266},{"style":105},[267],{"type":18,"value":268}," RESET_COMMAND_BUFFER",{"type":13,"tag":62,"props":270,"children":271},{"style":69},[272],{"type":18,"value":232},{"type":13,"tag":62,"props":274,"children":275},{"style":105},[276],{"type":18,"value":237},{"type":13,"tag":62,"props":278,"children":279},{"style":69},[280],{"type":18,"value":242},{"type":13,"tag":62,"props":282,"children":283},{"style":105},[284],{"type":18,"value":285}," 0x00000002",{"type":13,"tag":62,"props":287,"children":288},{"style":80},[289],{"type":18,"value":252},{"type":13,"tag":62,"props":291,"children":293},{"class":64,"line":292},5,[294],{"type":13,"tag":62,"props":295,"children":296},{"style":80},[297],{"type":18,"value":298},"}\n",{"type":13,"tag":300,"props":301,"children":302},"ul",{},[303,321],{"type":13,"tag":304,"props":305,"children":306},"li",{},[307,313,315,319],{"type":13,"tag":37,"props":308,"children":310},{"className":309},[],[311],{"type":18,"value":312},"VK_COMMAND_POOL_CREATE_TRANSIENT_BIT",{"type":18,"value":314}," specifies that command\nbuffers allocated from the pool will be short-lived, meaning that they\nwill be reset or freed in a relatively short timeframe.\nThis flag ",{"type":13,"tag":21,"props":316,"children":318},{"type":317},"may",[],{"type":18,"value":320}," be used by the implementation to control memory\nallocation behavior within the pool.",{"type":13,"tag":304,"props":322,"children":323},{},[324,330,332,338,340,346,348,354,356,361,363,367],{"type":13,"tag":37,"props":325,"children":327},{"className":326},[],[328],{"type":18,"value":329},"VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT",{"type":18,"value":331}," allows any command\nbuffer allocated from a pool to be individually reset to the\n",{"type":13,"tag":28,"props":333,"children":335},{"href":334},"/chapters/commandbuffers#commandbuffers-lifecycle",[336],{"type":18,"value":337},"initial state",{"type":18,"value":339},"; either by calling\n",{"type":13,"tag":28,"props":341,"children":343},{"href":342},"/man/vkResetCommandBuffer",[344],{"type":18,"value":345},"vkResetCommandBuffer",{"type":18,"value":347},", or via the implicit reset when calling\n",{"type":13,"tag":28,"props":349,"children":351},{"href":350},"/man/vkBeginCommandBuffer",[352],{"type":18,"value":353},"vkBeginCommandBuffer",{"type":18,"value":355},".\nIf this flag is not set on a pool, then ",{"type":13,"tag":37,"props":357,"children":359},{"className":358},[],[360],{"type":18,"value":345},{"type":18,"value":362}," ",{"type":13,"tag":21,"props":364,"children":366},{"type":365},"must",[],{"type":18,"value":368},"\nnot be called for any command buffer allocated from that pool.",{"type":13,"tag":370,"props":371,"children":372},"style",{},[373],{"type":18,"value":374},"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":376},[],"markdown",1729612437631]