[{"data":1,"prerenderedAt":529},["ShallowReactive",2],{"XH5MEl77Za":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":528,"_id":4},"VkBufferCreateFlagBits","Bitmask specifying additional parameters of a buffer","VK_VERSION_1_0","enums",[],{"type":10,"children":11,"toc":526},"root",[12,45,362,499,520],{"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/VkBufferCreateInfo",[32],{"type":18,"value":33},"VkBufferCreateInfo",{"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},", specifying\nadditional parameters of a buffer, are:",{"type":13,"tag":46,"props":47,"children":48},"code-group",{},[49,175],{"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 VkBufferCreateFlagBits {\n VK_BUFFER_CREATE_SPARSE_BINDING_BIT = 0x00000001,\n VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT = 0x00000002,\n VK_BUFFER_CREATE_SPARSE_ALIASED_BIT = 0x00000004,\n} VkBufferCreateFlagBits;\n","C","c","",[58],{"type":13,"tag":37,"props":59,"children":60},{"__ignoreMap":56},[61,84,114,140,166],{"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}," VkBufferCreateFlagBits {\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_BUFFER_CREATE_SPARSE_BINDING_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_BUFFER_CREATE_SPARSE_RESIDENCY_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,149,153,157,162],{"type":13,"tag":62,"props":145,"children":146},{"style":80},[147],{"type":18,"value":148}," VK_BUFFER_CREATE_SPARSE_ALIASED_BIT ",{"type":13,"tag":62,"props":150,"children":151},{"style":69},[152],{"type":18,"value":97},{"type":13,"tag":62,"props":154,"children":155},{"style":69},[156],{"type":18,"value":102},{"type":13,"tag":62,"props":158,"children":159},{"style":105},[160],{"type":18,"value":161},"00000004",{"type":13,"tag":62,"props":163,"children":164},{"style":80},[165],{"type":18,"value":113},{"type":13,"tag":62,"props":167,"children":169},{"class":64,"line":168},5,[170],{"type":13,"tag":62,"props":171,"children":172},{"style":80},[173],{"type":18,"value":174},"} VkBufferCreateFlagBits;\n",{"type":13,"tag":50,"props":176,"children":181},{"className":177,"code":178,"filename":179,"language":180,"meta":56,"style":56},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct BufferCreateFlagBits(u32);\nimpl BufferCreateFlagBits {\n pub const SPARSE_BINDING: Self = 0x00000001;\n pub const SPARSE_RESIDENCY: Self = 0x00000002;\n pub const SPARSE_ALIASED: Self = 0x00000004;\n}\n","Rust","rs",[182],{"type":13,"tag":37,"props":183,"children":184},{"__ignoreMap":56},[185,219,236,279,316,353],{"type":13,"tag":62,"props":186,"children":187},{"class":64,"line":65},[188,193,198,204,209,214],{"type":13,"tag":62,"props":189,"children":190},{"style":69},[191],{"type":18,"value":192},"pub",{"type":13,"tag":62,"props":194,"children":195},{"style":69},[196],{"type":18,"value":197}," struct",{"type":13,"tag":62,"props":199,"children":201},{"style":200},"--shiki-default:#953800;--shiki-dark:#FFA657",[202],{"type":18,"value":203}," BufferCreateFlagBits",{"type":13,"tag":62,"props":205,"children":206},{"style":80},[207],{"type":18,"value":208},"(",{"type":13,"tag":62,"props":210,"children":211},{"style":200},[212],{"type":18,"value":213},"u32",{"type":13,"tag":62,"props":215,"children":216},{"style":80},[217],{"type":18,"value":218},");\n",{"type":13,"tag":62,"props":220,"children":221},{"class":64,"line":86},[222,227,231],{"type":13,"tag":62,"props":223,"children":224},{"style":69},[225],{"type":18,"value":226},"impl",{"type":13,"tag":62,"props":228,"children":229},{"style":200},[230],{"type":18,"value":203},{"type":13,"tag":62,"props":232,"children":233},{"style":80},[234],{"type":18,"value":235}," {\n",{"type":13,"tag":62,"props":237,"children":238},{"class":64,"line":116},[239,244,249,254,259,264,269,274],{"type":13,"tag":62,"props":240,"children":241},{"style":69},[242],{"type":18,"value":243}," pub",{"type":13,"tag":62,"props":245,"children":246},{"style":69},[247],{"type":18,"value":248}," const",{"type":13,"tag":62,"props":250,"children":251},{"style":105},[252],{"type":18,"value":253}," SPARSE_BINDING",{"type":13,"tag":62,"props":255,"children":256},{"style":69},[257],{"type":18,"value":258},":",{"type":13,"tag":62,"props":260,"children":261},{"style":105},[262],{"type":18,"value":263}," Self",{"type":13,"tag":62,"props":265,"children":266},{"style":69},[267],{"type":18,"value":268}," =",{"type":13,"tag":62,"props":270,"children":271},{"style":105},[272],{"type":18,"value":273}," 0x00000001",{"type":13,"tag":62,"props":275,"children":276},{"style":80},[277],{"type":18,"value":278},";\n",{"type":13,"tag":62,"props":280,"children":281},{"class":64,"line":142},[282,286,290,295,299,303,307,312],{"type":13,"tag":62,"props":283,"children":284},{"style":69},[285],{"type":18,"value":243},{"type":13,"tag":62,"props":287,"children":288},{"style":69},[289],{"type":18,"value":248},{"type":13,"tag":62,"props":291,"children":292},{"style":105},[293],{"type":18,"value":294}," SPARSE_RESIDENCY",{"type":13,"tag":62,"props":296,"children":297},{"style":69},[298],{"type":18,"value":258},{"type":13,"tag":62,"props":300,"children":301},{"style":105},[302],{"type":18,"value":263},{"type":13,"tag":62,"props":304,"children":305},{"style":69},[306],{"type":18,"value":268},{"type":13,"tag":62,"props":308,"children":309},{"style":105},[310],{"type":18,"value":311}," 0x00000002",{"type":13,"tag":62,"props":313,"children":314},{"style":80},[315],{"type":18,"value":278},{"type":13,"tag":62,"props":317,"children":318},{"class":64,"line":168},[319,323,327,332,336,340,344,349],{"type":13,"tag":62,"props":320,"children":321},{"style":69},[322],{"type":18,"value":243},{"type":13,"tag":62,"props":324,"children":325},{"style":69},[326],{"type":18,"value":248},{"type":13,"tag":62,"props":328,"children":329},{"style":105},[330],{"type":18,"value":331}," SPARSE_ALIASED",{"type":13,"tag":62,"props":333,"children":334},{"style":69},[335],{"type":18,"value":258},{"type":13,"tag":62,"props":337,"children":338},{"style":105},[339],{"type":18,"value":263},{"type":13,"tag":62,"props":341,"children":342},{"style":69},[343],{"type":18,"value":268},{"type":13,"tag":62,"props":345,"children":346},{"style":105},[347],{"type":18,"value":348}," 0x00000004",{"type":13,"tag":62,"props":350,"children":351},{"style":80},[352],{"type":18,"value":278},{"type":13,"tag":62,"props":354,"children":356},{"class":64,"line":355},6,[357],{"type":13,"tag":62,"props":358,"children":359},{"style":80},[360],{"type":18,"value":361},"}\n",{"type":13,"tag":363,"props":364,"children":365},"ul",{},[366,378,407,428,452,475],{"type":13,"tag":367,"props":368,"children":369},"li",{},[370,376],{"type":13,"tag":37,"props":371,"children":373},{"className":372},[],[374],{"type":18,"value":375},"VK_BUFFER_CREATE_SPARSE_BINDING_BIT",{"type":18,"value":377}," specifies that the buffer will\nbe backed using sparse memory binding.",{"type":13,"tag":367,"props":379,"children":380},{},[381,387,389,392,394,398,400,405],{"type":13,"tag":37,"props":382,"children":384},{"className":383},[],[385],{"type":18,"value":386},"VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT",{"type":18,"value":388}," specifies that the buffer\n",{"type":13,"tag":21,"props":390,"children":391},{"type":23},[],{"type":18,"value":393}," be partially backed using sparse memory binding.\nBuffers created with this flag ",{"type":13,"tag":21,"props":395,"children":397},{"type":396},"must",[],{"type":18,"value":399}," also be created with the\n",{"type":13,"tag":37,"props":401,"children":403},{"className":402},[],[404],{"type":18,"value":375},{"type":18,"value":406}," flag.",{"type":13,"tag":367,"props":408,"children":409},{},[410,416,418,421,422,427],{"type":13,"tag":37,"props":411,"children":413},{"className":412},[],[414],{"type":18,"value":415},"VK_BUFFER_CREATE_SPARSE_ALIASED_BIT",{"type":18,"value":417}," specifies that the buffer will\nbe backed using sparse memory binding with memory ranges that might also\nsimultaneously be backing another buffer (or another portion of the same\nbuffer).\nBuffers created with this flag ",{"type":13,"tag":21,"props":419,"children":420},{"type":396},[],{"type":18,"value":399},{"type":13,"tag":37,"props":423,"children":425},{"className":424},[],[426],{"type":18,"value":375},{"type":18,"value":406},{"type":13,"tag":367,"props":429,"children":430},{},[431,437,439,442,444,450],{"type":13,"tag":37,"props":432,"children":434},{"className":433},[],[435],{"type":18,"value":436},"VK_BUFFER_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT",{"type":18,"value":438}," specifies that\nthe buffer’s address ",{"type":13,"tag":21,"props":440,"children":441},{"type":23},[],{"type":18,"value":443}," be saved and reused on a subsequent run (e.g.\nfor trace capture and replay), see\n",{"type":13,"tag":28,"props":445,"children":447},{"href":446},"/man/VkBufferOpaqueCaptureAddressCreateInfo",[448],{"type":18,"value":449},"VkBufferOpaqueCaptureAddressCreateInfo",{"type":18,"value":451}," for more detail.",{"type":13,"tag":367,"props":453,"children":454},{},[455,461,463,466,468,474],{"type":13,"tag":37,"props":456,"children":458},{"className":457},[],[459],{"type":18,"value":460},"VK_BUFFER_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_EXT",{"type":18,"value":462},"\nspecifies that the buffer ",{"type":13,"tag":21,"props":464,"children":465},{"type":23},[],{"type":18,"value":467}," be used with descriptor buffers when\ncapturing and replaying (e.g. for trace capture and replay), see\n",{"type":13,"tag":28,"props":469,"children":471},{"href":470},"/man/VkOpaqueCaptureDescriptorDataCreateInfoEXT",[472],{"type":18,"value":473},"VkOpaqueCaptureDescriptorDataCreateInfoEXT",{"type":18,"value":451},{"type":13,"tag":367,"props":476,"children":477},{},[478,484,486,489,491,497],{"type":13,"tag":37,"props":479,"children":481},{"className":480},[],[482],{"type":18,"value":483},"VK_BUFFER_CREATE_VIDEO_PROFILE_INDEPENDENT_BIT_KHR",{"type":18,"value":485}," specifies that\nthe buffer ",{"type":13,"tag":21,"props":487,"children":488},{"type":23},[],{"type":18,"value":490}," be used in ",{"type":13,"tag":28,"props":492,"children":494},{"href":493},"/chapters/video-coding#video-coding",[495],{"type":18,"value":496},"video coding operations",{"type":18,"value":498},"\nwithout having to specify at buffer creation time the set of video\nprofiles the buffer will be used with.",{"type":13,"tag":14,"props":500,"children":501},{},[502,504,510,512,518],{"type":18,"value":503},"See ",{"type":13,"tag":28,"props":505,"children":507},{"href":506},"/chapters/sparsememory#sparsememory-sparseresourcefeatures",[508],{"type":18,"value":509},"Sparse Resource Features",{"type":18,"value":511}," and\n",{"type":13,"tag":28,"props":513,"children":515},{"href":514},"/chapters/features#features",[516],{"type":18,"value":517},"Physical Device Features",{"type":18,"value":519}," for details of the sparse memory\nfeatures supported on a device.",{"type":13,"tag":521,"props":522,"children":523},"style",{},[524],{"type":18,"value":525},"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":527},[],"markdown",1729612435291]