MCPcopy Create free account
hub / github.com/CesiumGS/cesium-native / readGltfAndExternalData

Method readGltfAndExternalData

CesiumGltfReader/src/GltfReader.cpp:420–435  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

418}
419
420CesiumAsync::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
437CesiumAsync::Future<GltfReaderResult> GltfReader::readGltfAndExternalData(
438 const std::span<const std::byte>& data,

Callers 2

convertMethod · 0.80

Calls 7

isBinaryGltfFunction · 0.85
readBinaryGltfFunction · 0.85
readJsonGltfFunction · 0.85
postprocessFunction · 0.85
beginMethod · 0.45
endMethod · 0.45
thenInWorkerThreadMethod · 0.45

Tested by

no test coverage detected