cesium-native 0.43.0
Loading...
Searching...
No Matches
CmptToGltfConverter.h
1#pragma once
2
3#include <Cesium3DTilesContent/GltfConverterResult.h>
4#include <CesiumAsync/Future.h>
5#include <CesiumGltfReader/GltfReader.h>
6
7#include <cstddef>
8#include <span>
9
10namespace Cesium3DTilesContent {
11struct AssetFetcher;
12
30 const std::span<const std::byte>& cmptBinary,
32 const AssetFetcher& assetFetcher);
33};
34} // namespace Cesium3DTilesContent
A value that will be available in the future, as produced by AsyncSystem.
Definition Promise.h:11
Classes that support loading and converting 3D Tiles tile content.
Converts a cmpt (Composite) file into a glTF model.
static CesiumAsync::Future< GltfConverterResult > convert(const std::span< const std::byte > &cmptBinary, const CesiumGltfReader::GltfReaderOptions &options, const AssetFetcher &assetFetcher)
Converts a cmpt binary file to a glTF model.
Options for how to read a glTF.
Definition GltfReader.h:50