| 1187 | |
| 1188 | template <vkb::BindingType bindingType> |
| 1189 | inline void VulkanSample<bindingType>::load_scene(const std::string &path) |
| 1190 | { |
| 1191 | vkb::HPPGLTFLoader loader(*device); |
| 1192 | |
| 1193 | scene = loader.read_scene_from_file(path); |
| 1194 | |
| 1195 | if (!scene) |
| 1196 | { |
| 1197 | LOGE("Cannot load scene: {}", path.c_str()); |
| 1198 | throw std::runtime_error("Cannot load scene: " + path); |
| 1199 | } |
| 1200 | } |
| 1201 | |
| 1202 | template <vkb::BindingType bindingType> |
| 1203 | inline bool VulkanSample<bindingType>::prepare(const ApplicationOptions &options) |
nothing calls this directly
no test coverage detected