cesium-native  0.41.0
GltfSharedAssetSystem.h
1 #pragma once
2 
3 #include <CesiumAsync/SharedAssetDepot.h>
4 #include <CesiumGltfReader/NetworkImageAssetDescriptor.h>
5 
6 namespace CesiumGltfReader {
7 
13  : public CesiumUtility::ReferenceCountedThreadSafe<GltfSharedAssetSystem> {
14 public:
16 
17  virtual ~GltfSharedAssetSystem() = default;
18 
19  using ImageDepot = CesiumAsync::
20  SharedAssetDepot<CesiumGltf::ImageAsset, NetworkImageAssetDescriptor>;
21 
26 };
27 
28 } // namespace CesiumGltfReader
A depot for SharedAsset instances, which are potentially shared between multiple objects.
Contains assets that are potentially shared across multiple glTF models.
CesiumUtility::IntrusivePointer< ImageDepot > pImage
The asset depot for images.
A smart pointer that calls addReference and releaseReference on the controlled object.
A reference-counted base class, meant to be used with IntrusivePointer.
Classes for reading glTF models.
Definition: GltfReader.h:25