cesium-native 0.43.0
Loading...
Searching...
No Matches
Cesium3DTilesContent::CmptToGltfConverter Struct Reference

Converts a cmpt (Composite) file into a glTF model. More...

#include <Cesium3DTilesContent/CmptToGltfConverter.h>

Static Public Member Functions

static CesiumAsync::Future< GltfConverterResultconvert (const std::span< const std::byte > &cmptBinary, const CesiumGltfReader::GltfReaderOptions &options, const AssetFetcher &assetFetcher)
 Converts a cmpt binary file to a glTF model.
 

Detailed Description

Converts a cmpt (Composite) file into a glTF model.

For more information on the Composite format, see https://github.com/CesiumGS/3d-tiles/blob/main/specification/TileFormats/Composite/README.adoc

Definition at line 19 of file CmptToGltfConverter.h.

Member Function Documentation

◆ convert()

static CesiumAsync::Future< GltfConverterResult > Cesium3DTilesContent::CmptToGltfConverter::convert ( const std::span< const std::byte > & cmptBinary,
const CesiumGltfReader::GltfReaderOptions & options,
const AssetFetcher & assetFetcher )
static

Converts a cmpt binary file to a glTF model.

Parameters
cmptBinaryThe bytes loaded for the cmpt model.
optionsOptions for how the glTF should be loaded.
assetFetcherThe AssetFetcher containing information used by loaded assets.
Returns
A future that resolves to a GltfConverterResult.

The documentation for this struct was generated from the following file: