cesium-native 0.44.2
Loading...
Searching...
No Matches
PntsToGltfConverter.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>& pntsBinary,
33 const AssetFetcher& assetFetcher);
34};
35} // namespace Cesium3DTilesContent
A value that will be available in the future, as produced by AsyncSystem.
Definition Promise.h:12
Classes that support loading and converting 3D Tiles tile content.
Converts a pnts (Point Cloud) file to a glTF model.
static CesiumAsync::Future< GltfConverterResult > convert(const std::span< const std::byte > &pntsBinary, const CesiumGltfReader::GltfReaderOptions &options, const AssetFetcher &assetFetcher)
Converts an pnts binary file to a glTF model.
Options for how to read a glTF.
Definition GltfReader.h:49