| 80 | } |
| 81 | |
| 82 | void AccelerationStructureKHR::Build(const VkAccelerationStructureBuildGeometryInfoKHR* pInfo, const bool is_host, |
| 83 | const VkAccelerationStructureBuildRangeInfoKHR* build_range_info) { |
| 84 | if (!GetBuildInfo().has_value()) { |
| 85 | build_geometry_info = vku::safe_VkAccelerationStructureBuildGeometryInfoKHR(); |
| 86 | } |
| 87 | build_geometry_info->initialize(pInfo, is_host, build_range_info); |
| 88 | }; |
| 89 | |
| 90 | void AccelerationStructureKHR::UpdateBuildRangeInfos(const VkAccelerationStructureBuildRangeInfoKHR* p_build_range_infos, |
| 91 | uint32_t geometry_count) { |
no test coverage detected