[{"data":1,"prerenderedAt":429},["ShallowReactive",2],{"o17zfCSA9T":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":428,"_id":4},"VkBufferDeviceAddressCreateInfoEXT","Request a specific address for a buffer","VK_EXT_buffer_device_address","structs",[],{"type":10,"children":11,"toc":426},"root",[12,52,262,315,327,358,370,389,420],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,26,28,35,37,43,45,50],{"type":18,"value":19},"text","Alternatively, to\nrequest a specific device address for a buffer, add a\n",{"type":13,"tag":21,"props":22,"children":24},"a",{"href":23},"/man/VkBufferDeviceAddressCreateInfoEXT",[25],{"type":18,"value":4},{"type":18,"value":27}," structure to the ",{"type":13,"tag":29,"props":30,"children":32},"code",{"className":31},[],[33],{"type":18,"value":34},"pNext",{"type":18,"value":36}," chain\nof the ",{"type":13,"tag":21,"props":38,"children":40},{"href":39},"/man/VkBufferCreateInfo",[41],{"type":18,"value":42},"VkBufferCreateInfo",{"type":18,"value":44}," structure.\nThe ",{"type":13,"tag":29,"props":46,"children":48},{"className":47},[],[49],{"type":18,"value":4},{"type":18,"value":51}," structure is defined as:",{"type":13,"tag":53,"props":54,"children":55},"code-group",{},[56,137],{"type":13,"tag":57,"props":58,"children":64},"pre",{"className":59,"code":60,"filename":61,"language":62,"meta":63,"style":63},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkBufferDeviceAddressCreateInfoEXT {\n VkStructureType sType;\n const void* pNext;\n VkDeviceAddress deviceAddress;\n} VkBufferDeviceAddressCreateInfoEXT;\n","C","c","",[65],{"type":13,"tag":29,"props":66,"children":67},{"__ignoreMap":63},[68,91,100,119,128],{"type":13,"tag":69,"props":70,"children":73},"span",{"class":71,"line":72},"line",1,[74,80,85],{"type":13,"tag":69,"props":75,"children":77},{"style":76},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[78],{"type":18,"value":79},"typedef",{"type":13,"tag":69,"props":81,"children":82},{"style":76},[83],{"type":18,"value":84}," struct",{"type":13,"tag":69,"props":86,"children":88},{"style":87},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[89],{"type":18,"value":90}," VkBufferDeviceAddressCreateInfoEXT {\n",{"type":13,"tag":69,"props":92,"children":94},{"class":71,"line":93},2,[95],{"type":13,"tag":69,"props":96,"children":97},{"style":87},[98],{"type":18,"value":99}," VkStructureType sType;\n",{"type":13,"tag":69,"props":101,"children":103},{"class":71,"line":102},3,[104,109,114],{"type":13,"tag":69,"props":105,"children":106},{"style":76},[107],{"type":18,"value":108}," const",{"type":13,"tag":69,"props":110,"children":111},{"style":76},[112],{"type":18,"value":113}," void*",{"type":13,"tag":69,"props":115,"children":116},{"style":87},[117],{"type":18,"value":118}," pNext;\n",{"type":13,"tag":69,"props":120,"children":122},{"class":71,"line":121},4,[123],{"type":13,"tag":69,"props":124,"children":125},{"style":87},[126],{"type":18,"value":127}," VkDeviceAddress deviceAddress;\n",{"type":13,"tag":69,"props":129,"children":131},{"class":71,"line":130},5,[132],{"type":13,"tag":69,"props":133,"children":134},{"style":87},[135],{"type":18,"value":136},"} VkBufferDeviceAddressCreateInfoEXT;\n",{"type":13,"tag":57,"props":138,"children":143},{"className":139,"code":140,"filename":141,"language":142,"meta":63,"style":63},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct BufferDeviceAddressCreateInfoEXT {\n s_type: vk::StructureType,\n p_next: *const c_void,\n device_address: vk::DeviceAddress,\n}\n","Rust","rs",[144],{"type":13,"tag":29,"props":145,"children":146},{"__ignoreMap":63},[147,170,203,225,254],{"type":13,"tag":69,"props":148,"children":149},{"class":71,"line":72},[150,155,159,165],{"type":13,"tag":69,"props":151,"children":152},{"style":76},[153],{"type":18,"value":154},"pub",{"type":13,"tag":69,"props":156,"children":157},{"style":76},[158],{"type":18,"value":84},{"type":13,"tag":69,"props":160,"children":162},{"style":161},"--shiki-default:#953800;--shiki-dark:#FFA657",[163],{"type":18,"value":164}," BufferDeviceAddressCreateInfoEXT",{"type":13,"tag":69,"props":166,"children":167},{"style":87},[168],{"type":18,"value":169}," {\n",{"type":13,"tag":69,"props":171,"children":172},{"class":71,"line":93},[173,178,183,188,193,198],{"type":13,"tag":69,"props":174,"children":175},{"style":87},[176],{"type":18,"value":177}," s_type",{"type":13,"tag":69,"props":179,"children":180},{"style":76},[181],{"type":18,"value":182},":",{"type":13,"tag":69,"props":184,"children":185},{"style":161},[186],{"type":18,"value":187}," vk",{"type":13,"tag":69,"props":189,"children":190},{"style":76},[191],{"type":18,"value":192},"::",{"type":13,"tag":69,"props":194,"children":195},{"style":161},[196],{"type":18,"value":197},"StructureType",{"type":13,"tag":69,"props":199,"children":200},{"style":87},[201],{"type":18,"value":202},",\n",{"type":13,"tag":69,"props":204,"children":205},{"class":71,"line":102},[206,211,215,220],{"type":13,"tag":69,"props":207,"children":208},{"style":87},[209],{"type":18,"value":210}," p_next",{"type":13,"tag":69,"props":212,"children":213},{"style":76},[214],{"type":18,"value":182},{"type":13,"tag":69,"props":216,"children":217},{"style":76},[218],{"type":18,"value":219}," *const",{"type":13,"tag":69,"props":221,"children":222},{"style":87},[223],{"type":18,"value":224}," c_void,\n",{"type":13,"tag":69,"props":226,"children":227},{"class":71,"line":121},[228,233,237,241,245,250],{"type":13,"tag":69,"props":229,"children":230},{"style":87},[231],{"type":18,"value":232}," device_address",{"type":13,"tag":69,"props":234,"children":235},{"style":76},[236],{"type":18,"value":182},{"type":13,"tag":69,"props":238,"children":239},{"style":161},[240],{"type":18,"value":187},{"type":13,"tag":69,"props":242,"children":243},{"style":76},[244],{"type":18,"value":192},{"type":13,"tag":69,"props":246,"children":247},{"style":161},[248],{"type":18,"value":249},"DeviceAddress",{"type":13,"tag":69,"props":251,"children":252},{"style":87},[253],{"type":18,"value":202},{"type":13,"tag":69,"props":255,"children":256},{"class":71,"line":130},[257],{"type":13,"tag":69,"props":258,"children":259},{"style":87},[260],{"type":18,"value":261},"}\n",{"type":13,"tag":263,"props":264,"children":265},"ul",{},[266,286,304],{"type":13,"tag":267,"props":268,"children":269},"li",{},[270,276,278,284],{"type":13,"tag":29,"props":271,"children":273},{"className":272},[],[274],{"type":18,"value":275},"sType",{"type":18,"value":277}," is a ",{"type":13,"tag":21,"props":279,"children":281},{"href":280},"/man/VkStructureType",[282],{"type":18,"value":283},"VkStructureType",{"type":18,"value":285}," value identifying this structure.",{"type":13,"tag":267,"props":287,"children":288},{},[289,294,296,302],{"type":13,"tag":29,"props":290,"children":292},{"className":291},[],[293],{"type":18,"value":34},{"type":18,"value":295}," is ",{"type":13,"tag":29,"props":297,"children":299},{"className":298},[],[300],{"type":18,"value":301},"NULL",{"type":18,"value":303}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":267,"props":305,"children":306},{},[307,313],{"type":13,"tag":29,"props":308,"children":310},{"className":309},[],[311],{"type":18,"value":312},"deviceAddress",{"type":18,"value":314}," is the device address requested for the buffer.",{"type":13,"tag":14,"props":316,"children":317},{},[318,320,325],{"type":18,"value":319},"If ",{"type":13,"tag":29,"props":321,"children":323},{"className":322},[],[324],{"type":18,"value":312},{"type":18,"value":326}," is zero, no specific address is requested.",{"type":13,"tag":14,"props":328,"children":329},{},[330,331,336,338,343,345,348,350,356],{"type":18,"value":319},{"type":13,"tag":29,"props":332,"children":334},{"className":333},[],[335],{"type":18,"value":312},{"type":18,"value":337}," is not zero, then it ",{"type":13,"tag":339,"props":340,"children":342},"normative",{"type":341},"must",[],{"type":18,"value":344}," be an address retrieved\nfrom an identically created buffer on the same implementation.\nThe buffer ",{"type":13,"tag":339,"props":346,"children":347},{"type":341},[],{"type":18,"value":349}," also be bound to an identically created\n",{"type":13,"tag":29,"props":351,"children":353},{"className":352},[],[354],{"type":18,"value":355},"VkDeviceMemory",{"type":18,"value":357}," object.",{"type":13,"tag":14,"props":359,"children":360},{},[361,363,368],{"type":18,"value":362},"If this structure is not present, it is as if ",{"type":13,"tag":29,"props":364,"children":366},{"className":365},[],[367],{"type":18,"value":312},{"type":18,"value":369}," is zero.",{"type":13,"tag":14,"props":371,"children":372},{},[373,375,379,381,387],{"type":18,"value":374},"Apps ",{"type":13,"tag":339,"props":376,"children":378},{"type":377},"should",[],{"type":18,"value":380}," avoid creating buffers with app-provided addresses and\nimplementation-provided addresses in the same process, to reduce the\nlikelihood of ",{"type":13,"tag":29,"props":382,"children":384},{"className":383},[],[385],{"type":18,"value":386},"VK_ERROR_INVALID_DEVICE_ADDRESS_EXT",{"type":18,"value":388}," errors.",{"type":13,"tag":390,"props":391,"children":393},"validity-group",{"name":392},"Valid Usage (Implicit)",[394],{"type":13,"tag":395,"props":396,"children":398},"validity-field",{"name":397},"VUID-VkBufferDeviceAddressCreateInfoEXT-sType-sType",[399],{"type":13,"tag":14,"props":400,"children":401},{},[402,407,409,412,414],{"type":13,"tag":29,"props":403,"children":405},{"className":404},[],[406],{"type":18,"value":275},{"type":18,"value":408}," ",{"type":13,"tag":339,"props":410,"children":411},{"type":341},[],{"type":18,"value":413}," be ",{"type":13,"tag":29,"props":415,"children":417},{"className":416},[],[418],{"type":18,"value":419},"VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_CREATE_INFO_EXT",{"type":13,"tag":421,"props":422,"children":423},"style",{},[424],{"type":18,"value":425},"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":63,"searchDepth":93,"depth":93,"links":427},[],"markdown",1725732541100]