cesium-native 0.43.0
Loading...
Searching...
No Matches
B3dmToGltfConverter.h
1#pragma once
2
3#include "GltfConverterResult.h"
4
5#include <CesiumAsync/Future.h>
6#include <CesiumGltf/Model.h>
7#include <CesiumGltfReader/GltfReader.h>
8
9#include <optional>
10#include <span>
11
13struct AssetFetcher;
14
32 const std::span<const std::byte>& b3dmBinary,
34 const AssetFetcher& assetFetcher);
35};
36} // 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 b3dm (Batched 3D Model) file to a glTF.
static CesiumAsync::Future< GltfConverterResult > convert(const std::span< const std::byte > &b3dmBinary, const CesiumGltfReader::GltfReaderOptions &options, const AssetFetcher &assetFetcher)
Converts a b3dm binary file to a glTF model.
Options for how to read a glTF.
Definition GltfReader.h:50