bmh/FlightSimulation/Plugins/CesiumForUnreal_5.4/Source/CesiumRuntime/Private/CesiumGltfTextures.h

26 lines
568 B
C
Raw Normal View History

2025-02-07 14:52:32 +00:00
// Copyright 2020-2024 CesiumGS, Inc. and Contributors
#pragma once
#include <CesiumAsync/Future.h>
namespace CesiumAsync {
class AsyncSystem;
}
namespace CesiumGltf {
struct Model;
}
class CesiumGltfTextures {
public:
/**
* Creates all of the texture resources that are required by the given glTF,
* and adds `ExtensionImageCesiumUnreal` to each. This is intended to be
* called from a worker thread.
*/
static CesiumAsync::Future<void> createInWorkerThread(
const CesiumAsync::AsyncSystem& asyncSystem,
CesiumGltf::Model& model);
};