3 #include <CesiumAsync/Future.h>
4 #include <CesiumAsync/NetworkAssetDescriptor.h>
5 #include <CesiumGltf/ImageAsset.h>
6 #include <CesiumGltf/Ktx2TranscodeTargets.h>
7 #include <CesiumUtility/IntrusivePointer.h>
8 #include <CesiumUtility/Result.h>
48 const std::shared_ptr<CesiumAsync::IAssetAccessor>& pAssetAccessor)
const;
54 std::size_t operator()(
A system for managing asynchronous requests and tasks.
A value that will be available in the future, as produced by AsyncSystem.
Classes that support asynchronous operations.
Classes for reading glTF models.
A description of an asset that can be loaded from the network using an IAssetAccessor....
A description of an image asset that can be loaded from the network using an IAssetAccessor....
CesiumAsync::Future< CesiumUtility::ResultPointer< CesiumGltf::ImageAsset > > load(const CesiumAsync::AsyncSystem &asyncSystem, const std::shared_ptr< CesiumAsync::IAssetAccessor > &pAssetAccessor) const
Request this asset from the network using the provided asset accessor and return the loaded ImageAsse...
CesiumGltf::Ktx2TranscodeTargets ktx2TranscodeTargets
The supported GPU texture formats used for KTX2 decoding.
bool operator==(const NetworkImageAssetDescriptor &rhs) const noexcept
Determines if this descriptor is identical to another one.
For each possible input transmission format, this struct names the ideal target gpu-compressed pixel ...