cesium-native 0.43.0
Loading...
Searching...
No Matches
PntsToGltfConverter.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
12namespace Cesium3DTilesContent {
13struct AssetFetcher;
14
32 const std::span<const std::byte>& pntsBinary,
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 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:50