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

Converts a binary glTF model (glb) to a CesiumGltf::Model. More...

#include <Cesium3DTilesContent/BinaryToGltfConverter.h>

Static Public Member Functions

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

Detailed Description

Converts a binary glTF model (glb) to a CesiumGltf::Model.

Definition at line 16 of file BinaryToGltfConverter.h.

Member Function Documentation

◆ convert()

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

Converts a glb binary file to a glTF model.

Parameters
gltfBinaryThe bytes loaded for the glb 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: