| 418 | } |
| 419 | |
| 420 | CesiumAsync::Future<GltfReaderResult> GltfReader::readGltfAndExternalData( |
| 421 | const std::span<const std::byte>& data, |
| 422 | const CesiumAsync::AsyncSystem& asyncSystem, |
| 423 | const std::vector<CesiumAsync::IAssetAccessor::THeader>& headers, |
| 424 | const std::shared_ptr<CesiumAsync::IAssetAccessor>& pAssetAccessor, |
| 425 | const std::string& baseUrl, |
| 426 | const GltfReaderOptions& options) const { |
| 427 | CesiumAsync::HttpHeaders httpHeaders(headers.begin(), headers.end()); |
| 428 | return readGltfAndExternalData( |
| 429 | data, |
| 430 | asyncSystem, |
| 431 | httpHeaders, |
| 432 | pAssetAccessor, |
| 433 | baseUrl, |
| 434 | options); |
| 435 | } |
| 436 | |
| 437 | CesiumAsync::Future<GltfReaderResult> GltfReader::readGltfAndExternalData( |
| 438 | const std::span<const std::byte>& data, |
no test coverage detected