[{"data":1,"prerenderedAt":473},["ShallowReactive",2],{"zPhi4RNeFl":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":472,"_id":4},"vkGetDeviceAccelerationStructureCompatibilityKHR","Check if a serialized acceleration structure is compatible with the current device","VK_KHR_acceleration_structure","protos",[],{"type":10,"children":11,"toc":470},"root",[12,20,291,344,385,464],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","To check if a serialized acceleration structure is compatible with the\ncurrent device call:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,132],{"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","void vkGetDeviceAccelerationStructureCompatibilityKHR(\n VkDevice device,\n const VkAccelerationStructureVersionInfoKHR* pVersionInfo,\n VkAccelerationStructureCompatibilityKHR* pCompatibility);\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,61,81,109],{"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},"void",{"type":13,"tag":38,"props":50,"children":52},{"style":51},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[53],{"type":18,"value":54}," vkGetDeviceAccelerationStructureCompatibilityKHR",{"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}," VkAccelerationStructureVersionInfoKHR",{"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}," pVersionInfo",{"type":13,"tag":38,"props":106,"children":107},{"style":57},[108],{"type":18,"value":80},{"type":13,"tag":38,"props":110,"children":112},{"class":40,"line":111},4,[113,118,122,127],{"type":13,"tag":38,"props":114,"children":115},{"style":57},[116],{"type":18,"value":117}," VkAccelerationStructureCompatibilityKHR",{"type":13,"tag":38,"props":119,"children":120},{"style":45},[121],{"type":18,"value":99},{"type":13,"tag":38,"props":123,"children":124},{"style":72},[125],{"type":18,"value":126}," pCompatibility",{"type":13,"tag":38,"props":128,"children":129},{"style":57},[130],{"type":18,"value":131},");\n",{"type":13,"tag":25,"props":133,"children":138},{"className":134,"code":135,"filename":136,"language":137,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn get_device_acceleration_structure_compatibility_khr(\n device: crate :: vk :: vk::Device,\n p_version_info: *const vk::AccelerationStructureVersionInfoKHR,\n p_compatibility: *mut vk::AccelerationStructureCompatibilityKHR,\n);\n","Rust","rs",[139],{"type":13,"tag":34,"props":140,"children":141},{"__ignoreMap":31},[142,164,215,249,283],{"type":13,"tag":38,"props":143,"children":144},{"class":40,"line":41},[145,150,155,160],{"type":13,"tag":38,"props":146,"children":147},{"style":45},[148],{"type":18,"value":149},"pub",{"type":13,"tag":38,"props":151,"children":152},{"style":45},[153],{"type":18,"value":154}," fn",{"type":13,"tag":38,"props":156,"children":157},{"style":51},[158],{"type":18,"value":159}," get_device_acceleration_structure_compatibility_khr",{"type":13,"tag":38,"props":161,"children":162},{"style":57},[163],{"type":18,"value":60},{"type":13,"tag":38,"props":165,"children":166},{"class":40,"line":63},[167,172,177,182,187,192,197,202,206,211],{"type":13,"tag":38,"props":168,"children":169},{"style":57},[170],{"type":18,"value":171}," device",{"type":13,"tag":38,"props":173,"children":174},{"style":45},[175],{"type":18,"value":176},":",{"type":13,"tag":38,"props":178,"children":179},{"style":45},[180],{"type":18,"value":181}," crate",{"type":13,"tag":38,"props":183,"children":184},{"style":45},[185],{"type":18,"value":186}," ::",{"type":13,"tag":38,"props":188,"children":189},{"style":57},[190],{"type":18,"value":191}," vk ",{"type":13,"tag":38,"props":193,"children":194},{"style":45},[195],{"type":18,"value":196},"::",{"type":13,"tag":38,"props":198,"children":199},{"style":72},[200],{"type":18,"value":201}," vk",{"type":13,"tag":38,"props":203,"children":204},{"style":45},[205],{"type":18,"value":196},{"type":13,"tag":38,"props":207,"children":208},{"style":72},[209],{"type":18,"value":210},"Device",{"type":13,"tag":38,"props":212,"children":213},{"style":57},[214],{"type":18,"value":80},{"type":13,"tag":38,"props":216,"children":217},{"class":40,"line":83},[218,223,227,232,236,240,245],{"type":13,"tag":38,"props":219,"children":220},{"style":57},[221],{"type":18,"value":222}," p_version_info",{"type":13,"tag":38,"props":224,"children":225},{"style":45},[226],{"type":18,"value":176},{"type":13,"tag":38,"props":228,"children":229},{"style":45},[230],{"type":18,"value":231}," *const",{"type":13,"tag":38,"props":233,"children":234},{"style":72},[235],{"type":18,"value":201},{"type":13,"tag":38,"props":237,"children":238},{"style":45},[239],{"type":18,"value":196},{"type":13,"tag":38,"props":241,"children":242},{"style":72},[243],{"type":18,"value":244},"AccelerationStructureVersionInfoKHR",{"type":13,"tag":38,"props":246,"children":247},{"style":57},[248],{"type":18,"value":80},{"type":13,"tag":38,"props":250,"children":251},{"class":40,"line":111},[252,257,261,266,270,274,279],{"type":13,"tag":38,"props":253,"children":254},{"style":57},[255],{"type":18,"value":256}," p_compatibility",{"type":13,"tag":38,"props":258,"children":259},{"style":45},[260],{"type":18,"value":176},{"type":13,"tag":38,"props":262,"children":263},{"style":45},[264],{"type":18,"value":265}," *mut",{"type":13,"tag":38,"props":267,"children":268},{"style":72},[269],{"type":18,"value":201},{"type":13,"tag":38,"props":271,"children":272},{"style":45},[273],{"type":18,"value":196},{"type":13,"tag":38,"props":275,"children":276},{"style":72},[277],{"type":18,"value":278},"AccelerationStructureCompatibilityKHR",{"type":13,"tag":38,"props":280,"children":281},{"style":57},[282],{"type":18,"value":80},{"type":13,"tag":38,"props":284,"children":286},{"class":40,"line":285},5,[287],{"type":13,"tag":38,"props":288,"children":289},{"style":57},[290],{"type":18,"value":131},{"type":13,"tag":292,"props":293,"children":294},"ul",{},[295,306,326],{"type":13,"tag":296,"props":297,"children":298},"li",{},[299,304],{"type":13,"tag":34,"props":300,"children":302},{"className":301},[],[303],{"type":18,"value":75},{"type":18,"value":305}," is the device to check the version against.",{"type":13,"tag":296,"props":307,"children":308},{},[309,315,317,324],{"type":13,"tag":34,"props":310,"children":312},{"className":311},[],[313],{"type":18,"value":314},"pVersionInfo",{"type":18,"value":316}," is a pointer to a\n",{"type":13,"tag":318,"props":319,"children":321},"a",{"href":320},"/man/VkAccelerationStructureVersionInfoKHR",[322],{"type":18,"value":323},"VkAccelerationStructureVersionInfoKHR",{"type":18,"value":325}," structure specifying version\ninformation to check against the device.",{"type":13,"tag":296,"props":327,"children":328},{},[329,335,336,342],{"type":13,"tag":34,"props":330,"children":332},{"className":331},[],[333],{"type":18,"value":334},"pCompatibility",{"type":18,"value":316},{"type":13,"tag":318,"props":337,"children":339},{"href":338},"/man/VkAccelerationStructureCompatibilityKHR",[340],{"type":18,"value":341},"VkAccelerationStructureCompatibilityKHR",{"type":18,"value":343}," value in which\ncompatibility information is returned.",{"type":13,"tag":345,"props":346,"children":348},"validity-group",{"name":347},"Valid Usage",[349],{"type":13,"tag":350,"props":351,"children":353},"validity-field",{"name":352},"VUID-vkGetDeviceAccelerationStructureCompatibilityKHR-accelerationStructure-08928",[354],{"type":13,"tag":14,"props":355,"children":356},{},[357,359,376,378,383],{"type":18,"value":358},"The ",{"type":13,"tag":318,"props":360,"children":362},{"href":361},"/man/VkPhysicalDeviceAccelerationStructureFeaturesKHR#features-accelerationStructure",[363,369,370],{"type":13,"tag":34,"props":364,"children":366},{"className":365},[],[367],{"type":18,"value":368},"VkPhysicalDeviceAccelerationStructureFeaturesKHR",{"type":18,"value":196},{"type":13,"tag":34,"props":371,"children":373},{"className":372},[],[374],{"type":18,"value":375},"accelerationStructure",{"type":18,"value":377},"\nfeature ",{"type":13,"tag":379,"props":380,"children":382},"normative",{"type":381},"must",[],{"type":18,"value":384}," be enabled",{"type":13,"tag":345,"props":386,"children":388},{"name":387},"Valid Usage (Implicit)",[389,416,440],{"type":13,"tag":350,"props":390,"children":392},{"name":391},"VUID-vkGetDeviceAccelerationStructureCompatibilityKHR-device-parameter",[393],{"type":13,"tag":14,"props":394,"children":395},{},[396,401,403,406,408,414],{"type":13,"tag":34,"props":397,"children":399},{"className":398},[],[400],{"type":18,"value":75},{"type":18,"value":402}," ",{"type":13,"tag":379,"props":404,"children":405},{"type":381},[],{"type":18,"value":407}," be a valid ",{"type":13,"tag":318,"props":409,"children":411},{"href":410},"/man/VkDevice",[412],{"type":18,"value":413},"VkDevice",{"type":18,"value":415}," handle",{"type":13,"tag":350,"props":417,"children":419},{"name":418},"VUID-vkGetDeviceAccelerationStructureCompatibilityKHR-pVersionInfo-parameter",[420],{"type":13,"tag":14,"props":421,"children":422},{},[423,428,429,432,434,438],{"type":13,"tag":34,"props":424,"children":426},{"className":425},[],[427],{"type":18,"value":314},{"type":18,"value":402},{"type":13,"tag":379,"props":430,"children":431},{"type":381},[],{"type":18,"value":433}," be a valid pointer to a valid ",{"type":13,"tag":318,"props":435,"children":436},{"href":320},[437],{"type":18,"value":323},{"type":18,"value":439}," structure",{"type":13,"tag":350,"props":441,"children":443},{"name":442},"VUID-vkGetDeviceAccelerationStructureCompatibilityKHR-pCompatibility-parameter",[444],{"type":13,"tag":14,"props":445,"children":446},{},[447,452,453,456,458,462],{"type":13,"tag":34,"props":448,"children":450},{"className":449},[],[451],{"type":18,"value":334},{"type":18,"value":402},{"type":13,"tag":379,"props":454,"children":455},{"type":381},[],{"type":18,"value":457}," be a valid pointer to a ",{"type":13,"tag":318,"props":459,"children":460},{"href":338},[461],{"type":18,"value":341},{"type":18,"value":463}," value",{"type":13,"tag":465,"props":466,"children":467},"style",{},[468],{"type":18,"value":469},"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":471},[],"markdown",1725732617283]