cesium-native 0.43.0
Loading...
Searching...
No Matches
I3dmToGltfConverter.h
1#pragma once
2
3#include <Cesium3DTilesContent/GltfConverterResult.h>
4#include <CesiumAsync/Future.h>
5#include <CesiumGltf/Model.h>
6#include <CesiumGltfReader/GltfReader.h>
7
8#include <optional>
9#include <span>
10
11namespace Cesium3DTilesContent {
12struct AssetFetcher;
13
31 const std::span<const std::byte>& instancesBinary,
33 const AssetFetcher& assetFetcher);
34};
35} // 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 an i3dm (Instanced 3D Model) file to a glTF model.
static CesiumAsync::Future< GltfConverterResult > convert(const std::span< const std::byte > &instancesBinary, const CesiumGltfReader::GltfReaderOptions &options, const AssetFetcher &assetFetcher)
Converts an i3dm binary file to a glTF model.
Options for how to read a glTF.
Definition GltfReader.h:50