[{"data":1,"prerenderedAt":427},["ShallowReactive",2],{"PjcjpWGhVv":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":426,"_id":4},"VkMemoryAllocateFlagBits","Bitmask specifying flags for a device memory allocation","VK_VERSION_1_1","enums",[],{"type":10,"children":11,"toc":424},"root",[12,45,236,241,321,418],{"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/VkMemoryAllocateFlagsInfo",[32],{"type":18,"value":33},"VkMemoryAllocateFlagsInfo",{"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 device memory allocation, 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 VkMemoryAllocateFlagBits {\n VK_MEMORY_ALLOCATE_DEVICE_MASK_BIT = 0x00000001,\n} VkMemoryAllocateFlagBits;\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}," VkMemoryAllocateFlagBits {\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_MEMORY_ALLOCATE_DEVICE_MASK_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},"} VkMemoryAllocateFlagBits;\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 MemoryAllocateFlagBits(u32);\nimpl MemoryAllocateFlagBits {\n pub const DEVICE_MASK: 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}," MemoryAllocateFlagBits",{"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}," DEVICE_MASK",{"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":14,"props":237,"children":238},{},[239],{"type":18,"value":240},"or the equivalent",{"type":13,"tag":46,"props":242,"children":243},{},[244,270],{"type":13,"tag":50,"props":245,"children":247},{"className":52,"code":246,"filename":54,"language":55,"meta":56,"style":56},"#define VkMemoryAllocateFlagBitsKHR VkMemoryAllocateFlagBits\n",[248],{"type":13,"tag":37,"props":249,"children":250},{"__ignoreMap":56},[251],{"type":13,"tag":62,"props":252,"children":253},{"class":64,"line":65},[254,259,265],{"type":13,"tag":62,"props":255,"children":256},{"style":69},[257],{"type":18,"value":258},"#define",{"type":13,"tag":62,"props":260,"children":262},{"style":261},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[263],{"type":18,"value":264}," VkMemoryAllocateFlagBitsKHR",{"type":13,"tag":62,"props":266,"children":267},{"style":80},[268],{"type":18,"value":269}," VkMemoryAllocateFlagBits\n",{"type":13,"tag":50,"props":271,"children":273},{"className":125,"code":272,"filename":127,"language":128,"meta":56,"style":56},"const MemoryAllocateFlagBitsKHR: _ = vk::MemoryAllocateFlagBits;\n",[274],{"type":13,"tag":37,"props":275,"children":276},{"__ignoreMap":56},[277],{"type":13,"tag":62,"props":278,"children":279},{"class":64,"line":65},[280,285,290,294,299,303,308,312,317],{"type":13,"tag":62,"props":281,"children":282},{"style":69},[283],{"type":18,"value":284},"const",{"type":13,"tag":62,"props":286,"children":287},{"style":105},[288],{"type":18,"value":289}," MemoryAllocateFlagBitsKHR",{"type":13,"tag":62,"props":291,"children":292},{"style":69},[293],{"type":18,"value":206},{"type":13,"tag":62,"props":295,"children":296},{"style":80},[297],{"type":18,"value":298}," _ ",{"type":13,"tag":62,"props":300,"children":301},{"style":69},[302],{"type":18,"value":97},{"type":13,"tag":62,"props":304,"children":305},{"style":148},[306],{"type":18,"value":307}," vk",{"type":13,"tag":62,"props":309,"children":310},{"style":69},[311],{"type":18,"value":35},{"type":13,"tag":62,"props":313,"children":314},{"style":148},[315],{"type":18,"value":316},"MemoryAllocateFlagBits",{"type":13,"tag":62,"props":318,"children":319},{"style":80},[320],{"type":18,"value":226},{"type":13,"tag":322,"props":323,"children":324},"ul",{},[325,350,394],{"type":13,"tag":326,"props":327,"children":328},"li",{},[329,335,337,341,342,348],{"type":13,"tag":37,"props":330,"children":332},{"className":331},[],[333],{"type":18,"value":334},"VK_MEMORY_ALLOCATE_DEVICE_MASK_BIT",{"type":18,"value":336}," specifies that memory will be\nallocated for the devices in\n",{"type":13,"tag":28,"props":338,"children":339},{"href":30},[340],{"type":18,"value":33},{"type":18,"value":35},{"type":13,"tag":37,"props":343,"children":345},{"className":344},[],[346],{"type":18,"value":347},"deviceMask",{"type":18,"value":349},".",{"type":13,"tag":326,"props":351,"children":352},{},[353,359,361,364,366,372,374,380,382,385,387,393],{"type":13,"tag":37,"props":354,"children":356},{"className":355},[],[357],{"type":18,"value":358},"VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_BIT",{"type":18,"value":360}," specifies that the memory\n",{"type":13,"tag":21,"props":362,"children":363},{"type":23},[],{"type":18,"value":365}," be attached to a buffer object created with the\n",{"type":13,"tag":37,"props":367,"children":369},{"className":368},[],[370],{"type":18,"value":371},"VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT",{"type":18,"value":373}," bit set in ",{"type":13,"tag":37,"props":375,"children":377},{"className":376},[],[378],{"type":18,"value":379},"usage",{"type":18,"value":381},",\nand that the memory handle ",{"type":13,"tag":21,"props":383,"children":384},{"type":23},[],{"type":18,"value":386}," be used to retrieve an opaque address\nvia ",{"type":13,"tag":28,"props":388,"children":390},{"href":389},"/man/vkGetDeviceMemoryOpaqueCaptureAddress",[391],{"type":18,"value":392},"vkGetDeviceMemoryOpaqueCaptureAddress",{"type":18,"value":349},{"type":13,"tag":326,"props":395,"children":396},{},[397,403,405,408,410,416],{"type":13,"tag":37,"props":398,"children":400},{"className":399},[],[401],{"type":18,"value":402},"VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT",{"type":18,"value":404}," specifies\nthat the memory’s address ",{"type":13,"tag":21,"props":406,"children":407},{"type":23},[],{"type":18,"value":409}," be saved and reused on a subsequent run\n(e.g. for trace capture and replay), see\n",{"type":13,"tag":28,"props":411,"children":413},{"href":412},"/man/VkBufferOpaqueCaptureAddressCreateInfo",[414],{"type":18,"value":415},"VkBufferOpaqueCaptureAddressCreateInfo",{"type":18,"value":417}," for more detail.",{"type":13,"tag":419,"props":420,"children":421},"style",{},[422],{"type":18,"value":423},"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":425},[],"markdown",1725732561816]