[{"data":1,"prerenderedAt":524},["ShallowReactive",2],{"lHl4oAJkzP":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":523,"_id":4},"vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT","Get acceleration structure opaque capture descriptor data","VK_EXT_descriptor_buffer","protos",[],{"type":10,"children":11,"toc":521},"root",[12,20,298,344,443,515],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","To get the opaque capture descriptor data for an acceleration structure,\ncall:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,127],{"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","VkResult vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT(\n VkDevice device,\n const VkAccelerationStructureCaptureDescriptorDataInfoEXT* pInfo,\n void* pData);\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,59,79,108],{"type":13,"tag":38,"props":39,"children":42},"span",{"class":40,"line":41},"line",1,[43,49,54],{"type":13,"tag":38,"props":44,"children":46},{"style":45},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[47],{"type":18,"value":48},"VkResult ",{"type":13,"tag":38,"props":50,"children":52},{"style":51},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[53],{"type":18,"value":4},{"type":13,"tag":38,"props":55,"children":56},{"style":45},[57],{"type":18,"value":58},"(\n",{"type":13,"tag":38,"props":60,"children":62},{"class":40,"line":61},2,[63,68,74],{"type":13,"tag":38,"props":64,"children":65},{"style":45},[66],{"type":18,"value":67}," VkDevice ",{"type":13,"tag":38,"props":69,"children":71},{"style":70},"--shiki-default:#953800;--shiki-dark:#FFA657",[72],{"type":18,"value":73},"device",{"type":13,"tag":38,"props":75,"children":76},{"style":45},[77],{"type":18,"value":78},",\n",{"type":13,"tag":38,"props":80,"children":82},{"class":40,"line":81},3,[83,89,94,99,104],{"type":13,"tag":38,"props":84,"children":86},{"style":85},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[87],{"type":18,"value":88}," const",{"type":13,"tag":38,"props":90,"children":91},{"style":45},[92],{"type":18,"value":93}," VkAccelerationStructureCaptureDescriptorDataInfoEXT",{"type":13,"tag":38,"props":95,"children":96},{"style":85},[97],{"type":18,"value":98},"*",{"type":13,"tag":38,"props":100,"children":101},{"style":70},[102],{"type":18,"value":103}," pInfo",{"type":13,"tag":38,"props":105,"children":106},{"style":45},[107],{"type":18,"value":78},{"type":13,"tag":38,"props":109,"children":111},{"class":40,"line":110},4,[112,117,122],{"type":13,"tag":38,"props":113,"children":114},{"style":85},[115],{"type":18,"value":116}," void*",{"type":13,"tag":38,"props":118,"children":119},{"style":70},[120],{"type":18,"value":121}," pData",{"type":13,"tag":38,"props":123,"children":124},{"style":45},[125],{"type":18,"value":126},");\n",{"type":13,"tag":25,"props":128,"children":133},{"className":129,"code":130,"filename":131,"language":132,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn get_acceleration_structure_opaque_capture_descriptor_data_ext(\n device: crate :: vk :: vk::Device,\n p_info: *const vk::AccelerationStructureCaptureDescriptorDataInfoEXT,\n p_data: *mut c_void,\n) -> vk::Result;\n","Rust","rs",[134],{"type":13,"tag":34,"props":135,"children":136},{"__ignoreMap":31},[137,159,210,244,266],{"type":13,"tag":38,"props":138,"children":139},{"class":40,"line":41},[140,145,150,155],{"type":13,"tag":38,"props":141,"children":142},{"style":85},[143],{"type":18,"value":144},"pub",{"type":13,"tag":38,"props":146,"children":147},{"style":85},[148],{"type":18,"value":149}," fn",{"type":13,"tag":38,"props":151,"children":152},{"style":51},[153],{"type":18,"value":154}," get_acceleration_structure_opaque_capture_descriptor_data_ext",{"type":13,"tag":38,"props":156,"children":157},{"style":45},[158],{"type":18,"value":58},{"type":13,"tag":38,"props":160,"children":161},{"class":40,"line":61},[162,167,172,177,182,187,192,197,201,206],{"type":13,"tag":38,"props":163,"children":164},{"style":45},[165],{"type":18,"value":166}," device",{"type":13,"tag":38,"props":168,"children":169},{"style":85},[170],{"type":18,"value":171},":",{"type":13,"tag":38,"props":173,"children":174},{"style":85},[175],{"type":18,"value":176}," crate",{"type":13,"tag":38,"props":178,"children":179},{"style":85},[180],{"type":18,"value":181}," ::",{"type":13,"tag":38,"props":183,"children":184},{"style":45},[185],{"type":18,"value":186}," vk ",{"type":13,"tag":38,"props":188,"children":189},{"style":85},[190],{"type":18,"value":191},"::",{"type":13,"tag":38,"props":193,"children":194},{"style":70},[195],{"type":18,"value":196}," vk",{"type":13,"tag":38,"props":198,"children":199},{"style":85},[200],{"type":18,"value":191},{"type":13,"tag":38,"props":202,"children":203},{"style":70},[204],{"type":18,"value":205},"Device",{"type":13,"tag":38,"props":207,"children":208},{"style":45},[209],{"type":18,"value":78},{"type":13,"tag":38,"props":211,"children":212},{"class":40,"line":81},[213,218,222,227,231,235,240],{"type":13,"tag":38,"props":214,"children":215},{"style":45},[216],{"type":18,"value":217}," p_info",{"type":13,"tag":38,"props":219,"children":220},{"style":85},[221],{"type":18,"value":171},{"type":13,"tag":38,"props":223,"children":224},{"style":85},[225],{"type":18,"value":226}," *const",{"type":13,"tag":38,"props":228,"children":229},{"style":70},[230],{"type":18,"value":196},{"type":13,"tag":38,"props":232,"children":233},{"style":85},[234],{"type":18,"value":191},{"type":13,"tag":38,"props":236,"children":237},{"style":70},[238],{"type":18,"value":239},"AccelerationStructureCaptureDescriptorDataInfoEXT",{"type":13,"tag":38,"props":241,"children":242},{"style":45},[243],{"type":18,"value":78},{"type":13,"tag":38,"props":245,"children":246},{"class":40,"line":110},[247,252,256,261],{"type":13,"tag":38,"props":248,"children":249},{"style":45},[250],{"type":18,"value":251}," p_data",{"type":13,"tag":38,"props":253,"children":254},{"style":85},[255],{"type":18,"value":171},{"type":13,"tag":38,"props":257,"children":258},{"style":85},[259],{"type":18,"value":260}," *mut",{"type":13,"tag":38,"props":262,"children":263},{"style":45},[264],{"type":18,"value":265}," c_void,\n",{"type":13,"tag":38,"props":267,"children":269},{"class":40,"line":268},5,[270,275,280,284,288,293],{"type":13,"tag":38,"props":271,"children":272},{"style":45},[273],{"type":18,"value":274},") ",{"type":13,"tag":38,"props":276,"children":277},{"style":85},[278],{"type":18,"value":279},"->",{"type":13,"tag":38,"props":281,"children":282},{"style":70},[283],{"type":18,"value":196},{"type":13,"tag":38,"props":285,"children":286},{"style":85},[287],{"type":18,"value":191},{"type":13,"tag":38,"props":289,"children":290},{"style":70},[291],{"type":18,"value":292},"Result",{"type":13,"tag":38,"props":294,"children":295},{"style":45},[296],{"type":18,"value":297},";\n",{"type":13,"tag":299,"props":300,"children":301},"ul",{},[302,313,333],{"type":13,"tag":303,"props":304,"children":305},"li",{},[306,311],{"type":13,"tag":34,"props":307,"children":309},{"className":308},[],[310],{"type":18,"value":73},{"type":18,"value":312}," is the logical device that gets the data.",{"type":13,"tag":303,"props":314,"children":315},{},[316,322,324,331],{"type":13,"tag":34,"props":317,"children":319},{"className":318},[],[320],{"type":18,"value":321},"pInfo",{"type":18,"value":323}," is a pointer to a\n",{"type":13,"tag":325,"props":326,"children":328},"a",{"href":327},"/man/VkAccelerationStructureCaptureDescriptorDataInfoEXT",[329],{"type":18,"value":330},"VkAccelerationStructureCaptureDescriptorDataInfoEXT",{"type":18,"value":332}," structure\nspecifying the acceleration structure.",{"type":13,"tag":303,"props":334,"children":335},{},[336,342],{"type":13,"tag":34,"props":337,"children":339},{"className":338},[],[340],{"type":18,"value":341},"pData",{"type":18,"value":343}," is a pointer to an application-allocated buffer where the\ndata will be written.",{"type":13,"tag":345,"props":346,"children":348},"validity-group",{"name":347},"Valid Usage",[349,378,412],{"type":13,"tag":350,"props":351,"children":353},"validity-field",{"name":352},"VUID-vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT-None-08088",[354],{"type":13,"tag":14,"props":355,"children":356},{},[357,359,369,371,376],{"type":18,"value":358},"The ",{"type":13,"tag":325,"props":360,"children":362},{"href":361},"/man/VkPhysicalDeviceDescriptorBufferFeaturesEXT#features-descriptorBufferCaptureReplay",[363],{"type":13,"tag":34,"props":364,"children":366},{"className":365},[],[367],{"type":18,"value":368},"descriptorBufferCaptureReplay",{"type":18,"value":370}," feature ",{"type":13,"tag":372,"props":373,"children":375},"normative",{"type":374},"must",[],{"type":18,"value":377}," be enabled",{"type":13,"tag":350,"props":379,"children":381},{"name":380},"VUID-vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT-pData-08089",[382],{"type":13,"tag":14,"props":383,"children":384},{},[385,390,392,395,397,403,404,410],{"type":13,"tag":34,"props":386,"children":388},{"className":387},[],[389],{"type":18,"value":341},{"type":18,"value":391}," ",{"type":13,"tag":372,"props":393,"children":394},{"type":374},[],{"type":18,"value":396}," point to a buffer that is at least\n",{"type":13,"tag":325,"props":398,"children":400},{"href":399},"/man/VkPhysicalDeviceDescriptorBufferPropertiesEXT",[401],{"type":18,"value":402},"VkPhysicalDeviceDescriptorBufferPropertiesEXT",{"type":18,"value":191},{"type":13,"tag":34,"props":405,"children":407},{"className":406},[],[408],{"type":18,"value":409},"accelerationStructureCaptureReplayDescriptorDataSize",{"type":18,"value":411},"\nbytes in size",{"type":13,"tag":350,"props":413,"children":415},{"name":414},"VUID-vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT-device-08090",[416],{"type":13,"tag":14,"props":417,"children":418},{},[419,421,426,428,438,439,442],{"type":18,"value":420},"If ",{"type":13,"tag":34,"props":422,"children":424},{"className":423},[],[425],{"type":18,"value":73},{"type":18,"value":427}," was created with multiple physical devices, then the\n",{"type":13,"tag":325,"props":429,"children":431},{"href":430},"/man/VkPhysicalDeviceBufferDeviceAddressFeatures#features-bufferDeviceAddressMultiDevice",[432],{"type":13,"tag":34,"props":433,"children":435},{"className":434},[],[436],{"type":18,"value":437},"bufferDeviceAddressMultiDevice",{"type":18,"value":370},{"type":13,"tag":372,"props":440,"children":441},{"type":374},[],{"type":18,"value":377},{"type":13,"tag":345,"props":444,"children":446},{"name":445},"Valid Usage (Implicit)",[447,473,497],{"type":13,"tag":350,"props":448,"children":450},{"name":449},"VUID-vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT-device-parameter",[451],{"type":13,"tag":14,"props":452,"children":453},{},[454,459,460,463,465,471],{"type":13,"tag":34,"props":455,"children":457},{"className":456},[],[458],{"type":18,"value":73},{"type":18,"value":391},{"type":13,"tag":372,"props":461,"children":462},{"type":374},[],{"type":18,"value":464}," be a valid ",{"type":13,"tag":325,"props":466,"children":468},{"href":467},"/man/VkDevice",[469],{"type":18,"value":470},"VkDevice",{"type":18,"value":472}," handle",{"type":13,"tag":350,"props":474,"children":476},{"name":475},"VUID-vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT-pInfo-parameter",[477],{"type":13,"tag":14,"props":478,"children":479},{},[480,485,486,489,491,495],{"type":13,"tag":34,"props":481,"children":483},{"className":482},[],[484],{"type":18,"value":321},{"type":18,"value":391},{"type":13,"tag":372,"props":487,"children":488},{"type":374},[],{"type":18,"value":490}," be a valid pointer to a valid ",{"type":13,"tag":325,"props":492,"children":493},{"href":327},[494],{"type":18,"value":330},{"type":18,"value":496}," structure",{"type":13,"tag":350,"props":498,"children":500},{"name":499},"VUID-vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT-pData-parameter",[501],{"type":13,"tag":14,"props":502,"children":503},{},[504,509,510,513],{"type":13,"tag":34,"props":505,"children":507},{"className":506},[],[508],{"type":18,"value":341},{"type":18,"value":391},{"type":13,"tag":372,"props":511,"children":512},{"type":374},[],{"type":18,"value":514}," be a pointer value",{"type":13,"tag":516,"props":517,"children":518},"style",{},[519],{"type":18,"value":520},"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":61,"depth":61,"links":522},[],"markdown",1729612513072]