[{"data":1,"prerenderedAt":454},["ShallowReactive",2],{"ZVtKUKMwUc":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":453,"_id":4},"vkGetBufferOpaqueCaptureAddress","Query an opaque capture address of a buffer","VK_VERSION_1_2","protos",[],{"type":10,"children":11,"toc":451},"root",[12,20,251,286,299,326,390,445],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","To query a 64-bit buffer opaque capture address, call:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,110],{"type":13,"tag":25,"props":26,"children":32},"pre",{"className":27,"code":28,"filename":29,"language":30,"meta":31,"style":31},"language-c shiki shiki-themes github-light-default github-dark-default","uint64_t vkGetBufferOpaqueCaptureAddressKHR(\n VkDevice device,\n const VkBufferDeviceAddressInfo* pInfo);\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,61,81],{"type":13,"tag":38,"props":39,"children":42},"span",{"class":40,"line":41},"line",1,[43,49,55],{"type":13,"tag":38,"props":44,"children":46},{"style":45},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[47],{"type":18,"value":48},"uint64_t",{"type":13,"tag":38,"props":50,"children":52},{"style":51},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[53],{"type":18,"value":54}," vkGetBufferOpaqueCaptureAddressKHR",{"type":13,"tag":38,"props":56,"children":58},{"style":57},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[59],{"type":18,"value":60},"(\n",{"type":13,"tag":38,"props":62,"children":64},{"class":40,"line":63},2,[65,70,76],{"type":13,"tag":38,"props":66,"children":67},{"style":57},[68],{"type":18,"value":69}," VkDevice ",{"type":13,"tag":38,"props":71,"children":73},{"style":72},"--shiki-default:#953800;--shiki-dark:#FFA657",[74],{"type":18,"value":75},"device",{"type":13,"tag":38,"props":77,"children":78},{"style":57},[79],{"type":18,"value":80},",\n",{"type":13,"tag":38,"props":82,"children":84},{"class":40,"line":83},3,[85,90,95,100,105],{"type":13,"tag":38,"props":86,"children":87},{"style":45},[88],{"type":18,"value":89}," const",{"type":13,"tag":38,"props":91,"children":92},{"style":57},[93],{"type":18,"value":94}," VkBufferDeviceAddressInfo",{"type":13,"tag":38,"props":96,"children":97},{"style":45},[98],{"type":18,"value":99},"*",{"type":13,"tag":38,"props":101,"children":102},{"style":72},[103],{"type":18,"value":104}," pInfo",{"type":13,"tag":38,"props":106,"children":107},{"style":57},[108],{"type":18,"value":109},");\n",{"type":13,"tag":25,"props":111,"children":116},{"className":112,"code":113,"filename":114,"language":115,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn get_buffer_opaque_capture_address_khr(\n device: crate :: vk :: vk::Device,\n p_info: *const vk::BufferDeviceAddressInfo,\n) -> u64;\n","Rust","rs",[117],{"type":13,"tag":34,"props":118,"children":119},{"__ignoreMap":31},[120,142,193,227],{"type":13,"tag":38,"props":121,"children":122},{"class":40,"line":41},[123,128,133,138],{"type":13,"tag":38,"props":124,"children":125},{"style":45},[126],{"type":18,"value":127},"pub",{"type":13,"tag":38,"props":129,"children":130},{"style":45},[131],{"type":18,"value":132}," fn",{"type":13,"tag":38,"props":134,"children":135},{"style":51},[136],{"type":18,"value":137}," get_buffer_opaque_capture_address_khr",{"type":13,"tag":38,"props":139,"children":140},{"style":57},[141],{"type":18,"value":60},{"type":13,"tag":38,"props":143,"children":144},{"class":40,"line":63},[145,150,155,160,165,170,175,180,184,189],{"type":13,"tag":38,"props":146,"children":147},{"style":57},[148],{"type":18,"value":149}," device",{"type":13,"tag":38,"props":151,"children":152},{"style":45},[153],{"type":18,"value":154},":",{"type":13,"tag":38,"props":156,"children":157},{"style":45},[158],{"type":18,"value":159}," crate",{"type":13,"tag":38,"props":161,"children":162},{"style":45},[163],{"type":18,"value":164}," ::",{"type":13,"tag":38,"props":166,"children":167},{"style":57},[168],{"type":18,"value":169}," vk ",{"type":13,"tag":38,"props":171,"children":172},{"style":45},[173],{"type":18,"value":174},"::",{"type":13,"tag":38,"props":176,"children":177},{"style":72},[178],{"type":18,"value":179}," vk",{"type":13,"tag":38,"props":181,"children":182},{"style":45},[183],{"type":18,"value":174},{"type":13,"tag":38,"props":185,"children":186},{"style":72},[187],{"type":18,"value":188},"Device",{"type":13,"tag":38,"props":190,"children":191},{"style":57},[192],{"type":18,"value":80},{"type":13,"tag":38,"props":194,"children":195},{"class":40,"line":83},[196,201,205,210,214,218,223],{"type":13,"tag":38,"props":197,"children":198},{"style":57},[199],{"type":18,"value":200}," p_info",{"type":13,"tag":38,"props":202,"children":203},{"style":45},[204],{"type":18,"value":154},{"type":13,"tag":38,"props":206,"children":207},{"style":45},[208],{"type":18,"value":209}," *const",{"type":13,"tag":38,"props":211,"children":212},{"style":72},[213],{"type":18,"value":179},{"type":13,"tag":38,"props":215,"children":216},{"style":45},[217],{"type":18,"value":174},{"type":13,"tag":38,"props":219,"children":220},{"style":72},[221],{"type":18,"value":222},"BufferDeviceAddressInfo",{"type":13,"tag":38,"props":224,"children":225},{"style":57},[226],{"type":18,"value":80},{"type":13,"tag":38,"props":228,"children":230},{"class":40,"line":229},4,[231,236,241,246],{"type":13,"tag":38,"props":232,"children":233},{"style":57},[234],{"type":18,"value":235},") ",{"type":13,"tag":38,"props":237,"children":238},{"style":45},[239],{"type":18,"value":240},"->",{"type":13,"tag":38,"props":242,"children":243},{"style":72},[244],{"type":18,"value":245}," u64",{"type":13,"tag":38,"props":247,"children":248},{"style":57},[249],{"type":18,"value":250},";\n",{"type":13,"tag":252,"props":253,"children":254},"ul",{},[255,266],{"type":13,"tag":256,"props":257,"children":258},"li",{},[259,264],{"type":13,"tag":34,"props":260,"children":262},{"className":261},[],[263],{"type":18,"value":75},{"type":18,"value":265}," is the logical device that the buffer was created on.",{"type":13,"tag":256,"props":267,"children":268},{},[269,275,277,284],{"type":13,"tag":34,"props":270,"children":272},{"className":271},[],[273],{"type":18,"value":274},"pInfo",{"type":18,"value":276}," is a pointer to a ",{"type":13,"tag":278,"props":279,"children":281},"a",{"href":280},"/man/VkBufferDeviceAddressInfo",[282],{"type":18,"value":283},"VkBufferDeviceAddressInfo",{"type":18,"value":285}," structure\nspecifying the buffer to retrieve an address for.",{"type":13,"tag":14,"props":287,"children":288},{},[289,291,297],{"type":18,"value":290},"The 64-bit return value is an opaque capture address of the start of\n",{"type":13,"tag":34,"props":292,"children":294},{"className":293},[],[295],{"type":18,"value":296},"pInfo→buffer",{"type":18,"value":298},".",{"type":13,"tag":14,"props":300,"children":301},{},[302,304,310,311,317,319,324],{"type":18,"value":303},"If the buffer was created with a non-zero value of\n",{"type":13,"tag":278,"props":305,"children":307},{"href":306},"/man/VkBufferOpaqueCaptureAddressCreateInfo",[308],{"type":18,"value":309},"VkBufferOpaqueCaptureAddressCreateInfo",{"type":18,"value":174},{"type":13,"tag":34,"props":312,"children":314},{"className":313},[],[315],{"type":18,"value":316},"opaqueCaptureAddress",{"type":18,"value":318}," the\nreturn value ",{"type":13,"tag":320,"props":321,"children":323},"normative",{"type":322},"must",[],{"type":18,"value":325}," be the same address.",{"type":13,"tag":327,"props":328,"children":330},"validity-group",{"name":329},"Valid Usage",[331,358],{"type":13,"tag":332,"props":333,"children":335},"validity-field",{"name":334},"VUID-vkGetBufferOpaqueCaptureAddress-None-03326",[336],{"type":13,"tag":14,"props":337,"children":338},{},[339,341,351,353,356],{"type":18,"value":340},"The ",{"type":13,"tag":278,"props":342,"children":344},{"href":343},"/man/VkPhysicalDeviceBufferDeviceAddressFeatures#features-bufferDeviceAddress",[345],{"type":13,"tag":34,"props":346,"children":348},{"className":347},[],[349],{"type":18,"value":350},"bufferDeviceAddress",{"type":18,"value":352}," feature\n",{"type":13,"tag":320,"props":354,"children":355},{"type":322},[],{"type":18,"value":357}," be enabled",{"type":13,"tag":332,"props":359,"children":361},{"name":360},"VUID-vkGetBufferOpaqueCaptureAddress-device-03327",[362],{"type":13,"tag":14,"props":363,"children":364},{},[365,367,372,374,384,386,389],{"type":18,"value":366},"If ",{"type":13,"tag":34,"props":368,"children":370},{"className":369},[],[371],{"type":18,"value":75},{"type":18,"value":373}," was created with multiple physical devices, then the\n",{"type":13,"tag":278,"props":375,"children":377},{"href":376},"/man/VkPhysicalDeviceBufferDeviceAddressFeatures#features-bufferDeviceAddressMultiDevice",[378],{"type":13,"tag":34,"props":379,"children":381},{"className":380},[],[382],{"type":18,"value":383},"bufferDeviceAddressMultiDevice",{"type":18,"value":385}," feature ",{"type":13,"tag":320,"props":387,"children":388},{"type":322},[],{"type":18,"value":357},{"type":13,"tag":327,"props":391,"children":393},{"name":392},"Valid Usage (Implicit)",[394,421],{"type":13,"tag":332,"props":395,"children":397},{"name":396},"VUID-vkGetBufferOpaqueCaptureAddress-device-parameter",[398],{"type":13,"tag":14,"props":399,"children":400},{},[401,406,408,411,413,419],{"type":13,"tag":34,"props":402,"children":404},{"className":403},[],[405],{"type":18,"value":75},{"type":18,"value":407}," ",{"type":13,"tag":320,"props":409,"children":410},{"type":322},[],{"type":18,"value":412}," be a valid ",{"type":13,"tag":278,"props":414,"children":416},{"href":415},"/man/VkDevice",[417],{"type":18,"value":418},"VkDevice",{"type":18,"value":420}," handle",{"type":13,"tag":332,"props":422,"children":424},{"name":423},"VUID-vkGetBufferOpaqueCaptureAddress-pInfo-parameter",[425],{"type":13,"tag":14,"props":426,"children":427},{},[428,433,434,437,439,443],{"type":13,"tag":34,"props":429,"children":431},{"className":430},[],[432],{"type":18,"value":274},{"type":18,"value":407},{"type":13,"tag":320,"props":435,"children":436},{"type":322},[],{"type":18,"value":438}," be a valid pointer to a valid ",{"type":13,"tag":278,"props":440,"children":441},{"href":280},[442],{"type":18,"value":283},{"type":18,"value":444}," structure",{"type":13,"tag":446,"props":447,"children":448},"style",{},[449],{"type":18,"value":450},"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":31,"searchDepth":63,"depth":63,"links":452},[],"markdown",1725732616871]