[{"data":1,"prerenderedAt":463},["ShallowReactive",2],{"RKyOna2Iql":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":462,"_id":4},"vkGetDeviceMemoryOpaqueCaptureAddress","Query an opaque capture address of a memory object","VK_VERSION_1_2","protos",[],{"type":10,"children":11,"toc":460},"root",[12,20,251,286,299,326,335,399,454],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","To query a 64-bit opaque capture address value from a memory object, 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 vkGetDeviceMemoryOpaqueCaptureAddressKHR(\n VkDevice device,\n const VkDeviceMemoryOpaqueCaptureAddressInfo* 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}," vkGetDeviceMemoryOpaqueCaptureAddressKHR",{"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}," VkDeviceMemoryOpaqueCaptureAddressInfo",{"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_device_memory_opaque_capture_address_khr(\n device: crate :: vk :: vk::Device,\n p_info: *const vk::DeviceMemoryOpaqueCaptureAddressInfo,\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_device_memory_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},"DeviceMemoryOpaqueCaptureAddressInfo",{"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 memory object was allocated\non.",{"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\n",{"type":13,"tag":278,"props":279,"children":281},"a",{"href":280},"/man/VkDeviceMemoryOpaqueCaptureAddressInfo",[282],{"type":18,"value":283},"VkDeviceMemoryOpaqueCaptureAddressInfo",{"type":18,"value":285}," structure specifying the\nmemory object 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 address representing the start of\n",{"type":13,"tag":34,"props":292,"children":294},{"className":293},[],[295],{"type":18,"value":296},"pInfo→memory",{"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 memory object was allocated with a non-zero value of\n",{"type":13,"tag":278,"props":305,"children":307},{"href":306},"/man/VkMemoryOpaqueCaptureAddressAllocateInfo",[308],{"type":18,"value":309},"VkMemoryOpaqueCaptureAddressAllocateInfo",{"type":18,"value":174},{"type":13,"tag":34,"props":312,"children":314},{"className":313},[],[315],{"type":18,"value":316},"opaqueCaptureAddress",{"type":18,"value":318},",\nthe return 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":329},"note",{},[330],{"type":13,"tag":14,"props":331,"children":332},{},[333],{"type":18,"value":334},"The expected usage for these opaque addresses is only for trace\ncapture/replay tools to store these addresses in a trace and subsequently\nspecify them during replay.",{"type":13,"tag":336,"props":337,"children":339},"validity-group",{"name":338},"Valid Usage",[340,367],{"type":13,"tag":341,"props":342,"children":344},"validity-field",{"name":343},"VUID-vkGetDeviceMemoryOpaqueCaptureAddress-None-03334",[345],{"type":13,"tag":14,"props":346,"children":347},{},[348,350,360,362,365],{"type":18,"value":349},"The ",{"type":13,"tag":278,"props":351,"children":353},{"href":352},"/man/VkPhysicalDeviceBufferDeviceAddressFeatures#features-bufferDeviceAddress",[354],{"type":13,"tag":34,"props":355,"children":357},{"className":356},[],[358],{"type":18,"value":359},"bufferDeviceAddress",{"type":18,"value":361}," feature\n",{"type":13,"tag":320,"props":363,"children":364},{"type":322},[],{"type":18,"value":366}," be enabled",{"type":13,"tag":341,"props":368,"children":370},{"name":369},"VUID-vkGetDeviceMemoryOpaqueCaptureAddress-device-03335",[371],{"type":13,"tag":14,"props":372,"children":373},{},[374,376,381,383,393,395,398],{"type":18,"value":375},"If ",{"type":13,"tag":34,"props":377,"children":379},{"className":378},[],[380],{"type":18,"value":75},{"type":18,"value":382}," was created with multiple physical devices, then the\n",{"type":13,"tag":278,"props":384,"children":386},{"href":385},"/man/VkPhysicalDeviceBufferDeviceAddressFeatures#features-bufferDeviceAddressMultiDevice",[387],{"type":13,"tag":34,"props":388,"children":390},{"className":389},[],[391],{"type":18,"value":392},"bufferDeviceAddressMultiDevice",{"type":18,"value":394}," feature ",{"type":13,"tag":320,"props":396,"children":397},{"type":322},[],{"type":18,"value":366},{"type":13,"tag":336,"props":400,"children":402},{"name":401},"Valid Usage (Implicit)",[403,430],{"type":13,"tag":341,"props":404,"children":406},{"name":405},"VUID-vkGetDeviceMemoryOpaqueCaptureAddress-device-parameter",[407],{"type":13,"tag":14,"props":408,"children":409},{},[410,415,417,420,422,428],{"type":13,"tag":34,"props":411,"children":413},{"className":412},[],[414],{"type":18,"value":75},{"type":18,"value":416}," ",{"type":13,"tag":320,"props":418,"children":419},{"type":322},[],{"type":18,"value":421}," be a valid ",{"type":13,"tag":278,"props":423,"children":425},{"href":424},"/man/VkDevice",[426],{"type":18,"value":427},"VkDevice",{"type":18,"value":429}," handle",{"type":13,"tag":341,"props":431,"children":433},{"name":432},"VUID-vkGetDeviceMemoryOpaqueCaptureAddress-pInfo-parameter",[434],{"type":13,"tag":14,"props":435,"children":436},{},[437,442,443,446,448,452],{"type":13,"tag":34,"props":438,"children":440},{"className":439},[],[441],{"type":18,"value":274},{"type":18,"value":416},{"type":13,"tag":320,"props":444,"children":445},{"type":322},[],{"type":18,"value":447}," be a valid pointer to a valid ",{"type":13,"tag":278,"props":449,"children":450},{"href":280},[451],{"type":18,"value":283},{"type":18,"value":453}," structure",{"type":13,"tag":455,"props":456,"children":457},"style",{},[458],{"type":18,"value":459},"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":461},[],"markdown",1725732617652]