gltf_path.hpp 555 B

123456789
  1. #pragma once
  2. #include <filesystem>
  3. // We need to use the __FILE__ macro so that we have access to test glTF files in this
  4. // directory. As Clang does not yet fully support std::source_location, we cannot use that.
  5. inline auto path = std::filesystem::path { __FILE__ }.parent_path() / "gltf";
  6. inline auto sampleModels = std::filesystem::path { __FILE__ }.parent_path() / "gltf" / "glTF-Sample-Models";
  7. inline auto intelSponza = std::filesystem::path { __FILE__ }.parent_path() / "gltf" / "intel_sponza";
  8. inline auto bistroPath = std::filesystem::path {};