初始提交: UE5.3项目基础框架
This commit is contained in:
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/AccessorReader.h
vendored
Normal file
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/AccessorReader.h
vendored
Normal file
@ -0,0 +1,72 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/Accessor.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct Accessor;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::Accessor "Accessor" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API AccessorReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
AccessorReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of Accessor from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::Accessor>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of Accessor from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::Accessor>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of Accessor from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<std::vector<CesiumGltf::Accessor>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
75
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/AccessorSparseIndicesReader.h
vendored
Normal file
75
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/AccessorSparseIndicesReader.h
vendored
Normal file
@ -0,0 +1,75 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/AccessorSparseIndices.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct AccessorSparseIndices;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::AccessorSparseIndices "AccessorSparseIndices"
|
||||
* instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API AccessorSparseIndicesReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
AccessorSparseIndicesReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of AccessorSparseIndices from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::AccessorSparseIndices>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of AccessorSparseIndices from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::AccessorSparseIndices>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of AccessorSparseIndices from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
std::vector<CesiumGltf::AccessorSparseIndices>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
74
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/AccessorSparseReader.h
vendored
Normal file
74
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/AccessorSparseReader.h
vendored
Normal file
@ -0,0 +1,74 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/AccessorSparse.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct AccessorSparse;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::AccessorSparse "AccessorSparse" instances from
|
||||
* JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API AccessorSparseReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
AccessorSparseReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of AccessorSparse from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::AccessorSparse>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of AccessorSparse from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::AccessorSparse>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of AccessorSparse from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<std::vector<CesiumGltf::AccessorSparse>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
75
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/AccessorSparseValuesReader.h
vendored
Normal file
75
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/AccessorSparseValuesReader.h
vendored
Normal file
@ -0,0 +1,75 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/AccessorSparseValues.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct AccessorSparseValues;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::AccessorSparseValues "AccessorSparseValues"
|
||||
* instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API AccessorSparseValuesReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
AccessorSparseValuesReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of AccessorSparseValues from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::AccessorSparseValues>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of AccessorSparseValues from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::AccessorSparseValues>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of AccessorSparseValues from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
std::vector<CesiumGltf::AccessorSparseValues>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
74
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/AnimationChannelReader.h
vendored
Normal file
74
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/AnimationChannelReader.h
vendored
Normal file
@ -0,0 +1,74 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/AnimationChannel.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct AnimationChannel;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::AnimationChannel "AnimationChannel" instances
|
||||
* from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API AnimationChannelReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
AnimationChannelReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of AnimationChannel from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::AnimationChannel>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of AnimationChannel from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::AnimationChannel>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of AnimationChannel from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<std::vector<CesiumGltf::AnimationChannel>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
@ -0,0 +1,75 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/AnimationChannelTarget.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct AnimationChannelTarget;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::AnimationChannelTarget "AnimationChannelTarget"
|
||||
* instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API AnimationChannelTargetReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
AnimationChannelTargetReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of AnimationChannelTarget from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::AnimationChannelTarget>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of AnimationChannelTarget from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::AnimationChannelTarget>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of AnimationChannelTarget from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
std::vector<CesiumGltf::AnimationChannelTarget>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/AnimationReader.h
vendored
Normal file
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/AnimationReader.h
vendored
Normal file
@ -0,0 +1,72 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/Animation.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct Animation;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::Animation "Animation" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API AnimationReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
AnimationReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of Animation from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::Animation>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of Animation from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::Animation>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of Animation from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<std::vector<CesiumGltf::Animation>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
74
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/AnimationSamplerReader.h
vendored
Normal file
74
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/AnimationSamplerReader.h
vendored
Normal file
@ -0,0 +1,74 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/AnimationSampler.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct AnimationSampler;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::AnimationSampler "AnimationSampler" instances
|
||||
* from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API AnimationSamplerReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
AnimationSamplerReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of AnimationSampler from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::AnimationSampler>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of AnimationSampler from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::AnimationSampler>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of AnimationSampler from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<std::vector<CesiumGltf::AnimationSampler>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/AssetReader.h
vendored
Normal file
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/AssetReader.h
vendored
Normal file
@ -0,0 +1,72 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/Asset.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct Asset;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::Asset "Asset" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API AssetReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
AssetReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of Asset from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::Asset>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of Asset from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::Asset>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of Asset from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<std::vector<CesiumGltf::Asset>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/BufferReader.h
vendored
Normal file
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/BufferReader.h
vendored
Normal file
@ -0,0 +1,72 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/Buffer.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct Buffer;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::Buffer "Buffer" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API BufferReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
BufferReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of Buffer from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::Buffer>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of Buffer from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::Buffer>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of Buffer from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<std::vector<CesiumGltf::Buffer>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/BufferViewReader.h
vendored
Normal file
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/BufferViewReader.h
vendored
Normal file
@ -0,0 +1,72 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/BufferView.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct BufferView;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::BufferView "BufferView" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API BufferViewReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
BufferViewReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of BufferView from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::BufferView>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of BufferView from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::BufferView>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of BufferView from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<std::vector<CesiumGltf::BufferView>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
74
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/CameraOrthographicReader.h
vendored
Normal file
74
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/CameraOrthographicReader.h
vendored
Normal file
@ -0,0 +1,74 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/CameraOrthographic.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct CameraOrthographic;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::CameraOrthographic "CameraOrthographic"
|
||||
* instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API CameraOrthographicReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
CameraOrthographicReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of CameraOrthographic from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::CameraOrthographic>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of CameraOrthographic from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::CameraOrthographic>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of CameraOrthographic from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<std::vector<CesiumGltf::CameraOrthographic>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
74
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/CameraPerspectiveReader.h
vendored
Normal file
74
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/CameraPerspectiveReader.h
vendored
Normal file
@ -0,0 +1,74 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/CameraPerspective.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct CameraPerspective;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::CameraPerspective "CameraPerspective" instances
|
||||
* from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API CameraPerspectiveReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
CameraPerspectiveReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of CameraPerspective from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::CameraPerspective>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of CameraPerspective from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::CameraPerspective>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of CameraPerspective from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<std::vector<CesiumGltf::CameraPerspective>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/CameraReader.h
vendored
Normal file
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/CameraReader.h
vendored
Normal file
@ -0,0 +1,72 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/Camera.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct Camera;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::Camera "Camera" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API CameraReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
CameraReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of Camera from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::Camera>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of Camera from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::Camera>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of Camera from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<std::vector<CesiumGltf::Camera>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
74
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/ClassPropertyReader.h
vendored
Normal file
74
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/ClassPropertyReader.h
vendored
Normal file
@ -0,0 +1,74 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/ClassProperty.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct ClassProperty;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::ClassProperty "ClassProperty" instances from
|
||||
* JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API ClassPropertyReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
ClassPropertyReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ClassProperty from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::ClassProperty>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ClassProperty from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::ClassProperty>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of ClassProperty from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<std::vector<CesiumGltf::ClassProperty>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/ClassReader.h
vendored
Normal file
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/ClassReader.h
vendored
Normal file
@ -0,0 +1,72 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/Class.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct Class;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::Class "Class" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API ClassReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
ClassReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of Class from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::Class>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of Class from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::Class>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of Class from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<std::vector<CesiumGltf::Class>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/EnumReader.h
vendored
Normal file
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/EnumReader.h
vendored
Normal file
@ -0,0 +1,72 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/Enum.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct Enum;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::Enum "Enum" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API EnumReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
EnumReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of Enum from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::Enum>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of Enum from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::Enum>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of Enum from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<std::vector<CesiumGltf::Enum>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/EnumValueReader.h
vendored
Normal file
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/EnumValueReader.h
vendored
Normal file
@ -0,0 +1,72 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/EnumValue.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct EnumValue;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::EnumValue "EnumValue" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API EnumValueReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
EnumValueReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of EnumValue from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::EnumValue>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of EnumValue from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::EnumValue>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of EnumValue from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<std::vector<CesiumGltf::EnumValue>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
@ -0,0 +1,79 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/ExtensionBufferExtMeshoptCompression.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct ExtensionBufferExtMeshoptCompression;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::ExtensionBufferExtMeshoptCompression
|
||||
* "ExtensionBufferExtMeshoptCompression" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API ExtensionBufferExtMeshoptCompressionReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
ExtensionBufferExtMeshoptCompressionReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionBufferExtMeshoptCompression from a
|
||||
* byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
CesiumGltf::ExtensionBufferExtMeshoptCompression>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionBufferExtMeshoptCompression from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
CesiumGltf::ExtensionBufferExtMeshoptCompression>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of ExtensionBufferExtMeshoptCompression
|
||||
* from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
std::vector<CesiumGltf::ExtensionBufferExtMeshoptCompression>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
@ -0,0 +1,79 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/ExtensionBufferViewExtMeshoptCompression.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct ExtensionBufferViewExtMeshoptCompression;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::ExtensionBufferViewExtMeshoptCompression
|
||||
* "ExtensionBufferViewExtMeshoptCompression" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API ExtensionBufferViewExtMeshoptCompressionReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
ExtensionBufferViewExtMeshoptCompressionReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionBufferViewExtMeshoptCompression from a
|
||||
* byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
CesiumGltf::ExtensionBufferViewExtMeshoptCompression>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionBufferViewExtMeshoptCompression from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
CesiumGltf::ExtensionBufferViewExtMeshoptCompression>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of
|
||||
* ExtensionBufferViewExtMeshoptCompression from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
std::vector<CesiumGltf::ExtensionBufferViewExtMeshoptCompression>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
@ -0,0 +1,77 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/ExtensionCesiumPrimitiveOutline.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct ExtensionCesiumPrimitiveOutline;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::ExtensionCesiumPrimitiveOutline
|
||||
* "ExtensionCesiumPrimitiveOutline" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API ExtensionCesiumPrimitiveOutlineReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
ExtensionCesiumPrimitiveOutlineReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionCesiumPrimitiveOutline from a byte
|
||||
* buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::ExtensionCesiumPrimitiveOutline>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionCesiumPrimitiveOutline from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::ExtensionCesiumPrimitiveOutline>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of ExtensionCesiumPrimitiveOutline from
|
||||
* a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
std::vector<CesiumGltf::ExtensionCesiumPrimitiveOutline>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
74
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/ExtensionCesiumRTCReader.h
vendored
Normal file
74
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/ExtensionCesiumRTCReader.h
vendored
Normal file
@ -0,0 +1,74 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/ExtensionCesiumRTC.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct ExtensionCesiumRTC;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::ExtensionCesiumRTC "ExtensionCesiumRTC"
|
||||
* instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API ExtensionCesiumRTCReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
ExtensionCesiumRTCReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionCesiumRTC from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::ExtensionCesiumRTC>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionCesiumRTC from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::ExtensionCesiumRTC>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of ExtensionCesiumRTC from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<std::vector<CesiumGltf::ExtensionCesiumRTC>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
@ -0,0 +1,76 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/ExtensionCesiumTileEdges.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct ExtensionCesiumTileEdges;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::ExtensionCesiumTileEdges
|
||||
* "ExtensionCesiumTileEdges" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API ExtensionCesiumTileEdgesReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
ExtensionCesiumTileEdgesReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionCesiumTileEdges from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::ExtensionCesiumTileEdges>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionCesiumTileEdges from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::ExtensionCesiumTileEdges>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of ExtensionCesiumTileEdges from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
std::vector<CesiumGltf::ExtensionCesiumTileEdges>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
@ -0,0 +1,79 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/ExtensionExtInstanceFeaturesFeatureId.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct ExtensionExtInstanceFeaturesFeatureId;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::ExtensionExtInstanceFeaturesFeatureId
|
||||
* "ExtensionExtInstanceFeaturesFeatureId" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API ExtensionExtInstanceFeaturesFeatureIdReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
ExtensionExtInstanceFeaturesFeatureIdReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionExtInstanceFeaturesFeatureId from a
|
||||
* byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
CesiumGltf::ExtensionExtInstanceFeaturesFeatureId>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionExtInstanceFeaturesFeatureId from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
CesiumGltf::ExtensionExtInstanceFeaturesFeatureId>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of ExtensionExtInstanceFeaturesFeatureId
|
||||
* from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
std::vector<CesiumGltf::ExtensionExtInstanceFeaturesFeatureId>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
@ -0,0 +1,77 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/ExtensionExtInstanceFeatures.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct ExtensionExtInstanceFeatures;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::ExtensionExtInstanceFeatures
|
||||
* "ExtensionExtInstanceFeatures" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API ExtensionExtInstanceFeaturesReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
ExtensionExtInstanceFeaturesReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionExtInstanceFeatures from a byte
|
||||
* buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::ExtensionExtInstanceFeatures>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionExtInstanceFeatures from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::ExtensionExtInstanceFeatures>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of ExtensionExtInstanceFeatures from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
std::vector<CesiumGltf::ExtensionExtInstanceFeatures>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
@ -0,0 +1,76 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/ExtensionExtMeshFeatures.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct ExtensionExtMeshFeatures;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::ExtensionExtMeshFeatures
|
||||
* "ExtensionExtMeshFeatures" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API ExtensionExtMeshFeaturesReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
ExtensionExtMeshFeaturesReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionExtMeshFeatures from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::ExtensionExtMeshFeatures>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionExtMeshFeatures from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::ExtensionExtMeshFeatures>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of ExtensionExtMeshFeatures from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
std::vector<CesiumGltf::ExtensionExtMeshFeatures>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
@ -0,0 +1,77 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/ExtensionExtMeshGpuInstancing.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct ExtensionExtMeshGpuInstancing;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::ExtensionExtMeshGpuInstancing
|
||||
* "ExtensionExtMeshGpuInstancing" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API ExtensionExtMeshGpuInstancingReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
ExtensionExtMeshGpuInstancingReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionExtMeshGpuInstancing from a byte
|
||||
* buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::ExtensionExtMeshGpuInstancing>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionExtMeshGpuInstancing from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::ExtensionExtMeshGpuInstancing>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of ExtensionExtMeshGpuInstancing from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
std::vector<CesiumGltf::ExtensionExtMeshGpuInstancing>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
@ -0,0 +1,77 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/ExtensionExtStructuralMetadata.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct ExtensionExtStructuralMetadata;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::ExtensionExtStructuralMetadata
|
||||
* "ExtensionExtStructuralMetadata" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API ExtensionExtStructuralMetadataReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
ExtensionExtStructuralMetadataReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionExtStructuralMetadata from a byte
|
||||
* buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::ExtensionExtStructuralMetadata>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionExtStructuralMetadata from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::ExtensionExtStructuralMetadata>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of ExtensionExtStructuralMetadata from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
std::vector<CesiumGltf::ExtensionExtStructuralMetadata>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
@ -0,0 +1,77 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/ExtensionKhrDracoMeshCompression.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct ExtensionKhrDracoMeshCompression;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::ExtensionKhrDracoMeshCompression
|
||||
* "ExtensionKhrDracoMeshCompression" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API ExtensionKhrDracoMeshCompressionReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
ExtensionKhrDracoMeshCompressionReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionKhrDracoMeshCompression from a byte
|
||||
* buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::ExtensionKhrDracoMeshCompression>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionKhrDracoMeshCompression from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::ExtensionKhrDracoMeshCompression>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of ExtensionKhrDracoMeshCompression from
|
||||
* a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
std::vector<CesiumGltf::ExtensionKhrDracoMeshCompression>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
@ -0,0 +1,76 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/ExtensionKhrMaterialsUnlit.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct ExtensionKhrMaterialsUnlit;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::ExtensionKhrMaterialsUnlit
|
||||
* "ExtensionKhrMaterialsUnlit" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API ExtensionKhrMaterialsUnlitReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
ExtensionKhrMaterialsUnlitReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionKhrMaterialsUnlit from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::ExtensionKhrMaterialsUnlit>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionKhrMaterialsUnlit from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::ExtensionKhrMaterialsUnlit>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of ExtensionKhrMaterialsUnlit from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
std::vector<CesiumGltf::ExtensionKhrMaterialsUnlit>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
@ -0,0 +1,76 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/ExtensionKhrTextureBasisu.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct ExtensionKhrTextureBasisu;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::ExtensionKhrTextureBasisu
|
||||
* "ExtensionKhrTextureBasisu" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API ExtensionKhrTextureBasisuReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
ExtensionKhrTextureBasisuReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionKhrTextureBasisu from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::ExtensionKhrTextureBasisu>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionKhrTextureBasisu from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::ExtensionKhrTextureBasisu>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of ExtensionKhrTextureBasisu from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
std::vector<CesiumGltf::ExtensionKhrTextureBasisu>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
@ -0,0 +1,77 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/ExtensionKhrTextureTransform.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct ExtensionKhrTextureTransform;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::ExtensionKhrTextureTransform
|
||||
* "ExtensionKhrTextureTransform" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API ExtensionKhrTextureTransformReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
ExtensionKhrTextureTransformReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionKhrTextureTransform from a byte
|
||||
* buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::ExtensionKhrTextureTransform>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionKhrTextureTransform from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::ExtensionKhrTextureTransform>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of ExtensionKhrTextureTransform from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
std::vector<CesiumGltf::ExtensionKhrTextureTransform>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
@ -0,0 +1,79 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/ExtensionMeshPrimitiveExtStructuralMetadata.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct ExtensionMeshPrimitiveExtStructuralMetadata;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::ExtensionMeshPrimitiveExtStructuralMetadata
|
||||
* "ExtensionMeshPrimitiveExtStructuralMetadata" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API ExtensionMeshPrimitiveExtStructuralMetadataReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
ExtensionMeshPrimitiveExtStructuralMetadataReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionMeshPrimitiveExtStructuralMetadata
|
||||
* from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
CesiumGltf::ExtensionMeshPrimitiveExtStructuralMetadata>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionMeshPrimitiveExtStructuralMetadata
|
||||
* from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
CesiumGltf::ExtensionMeshPrimitiveExtStructuralMetadata>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of
|
||||
* ExtensionMeshPrimitiveExtStructuralMetadata from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
std::vector<CesiumGltf::ExtensionMeshPrimitiveExtStructuralMetadata>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
@ -0,0 +1,84 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/ExtensionMeshPrimitiveKhrMaterialsVariantsMappingsValue.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct ExtensionMeshPrimitiveKhrMaterialsVariantsMappingsValue;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref
|
||||
* CesiumGltf::ExtensionMeshPrimitiveKhrMaterialsVariantsMappingsValue
|
||||
* "ExtensionMeshPrimitiveKhrMaterialsVariantsMappingsValue" instances from
|
||||
* JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API
|
||||
ExtensionMeshPrimitiveKhrMaterialsVariantsMappingsValueReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
ExtensionMeshPrimitiveKhrMaterialsVariantsMappingsValueReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of
|
||||
* ExtensionMeshPrimitiveKhrMaterialsVariantsMappingsValue from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
CesiumGltf::ExtensionMeshPrimitiveKhrMaterialsVariantsMappingsValue>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of
|
||||
* ExtensionMeshPrimitiveKhrMaterialsVariantsMappingsValue from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
CesiumGltf::ExtensionMeshPrimitiveKhrMaterialsVariantsMappingsValue>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of
|
||||
* ExtensionMeshPrimitiveKhrMaterialsVariantsMappingsValue from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<std::vector<
|
||||
CesiumGltf::ExtensionMeshPrimitiveKhrMaterialsVariantsMappingsValue>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
@ -0,0 +1,79 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/ExtensionMeshPrimitiveKhrMaterialsVariants.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct ExtensionMeshPrimitiveKhrMaterialsVariants;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::ExtensionMeshPrimitiveKhrMaterialsVariants
|
||||
* "ExtensionMeshPrimitiveKhrMaterialsVariants" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API ExtensionMeshPrimitiveKhrMaterialsVariantsReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
ExtensionMeshPrimitiveKhrMaterialsVariantsReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionMeshPrimitiveKhrMaterialsVariants from
|
||||
* a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
CesiumGltf::ExtensionMeshPrimitiveKhrMaterialsVariants>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionMeshPrimitiveKhrMaterialsVariants from
|
||||
* a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
CesiumGltf::ExtensionMeshPrimitiveKhrMaterialsVariants>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of
|
||||
* ExtensionMeshPrimitiveKhrMaterialsVariants from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
std::vector<CesiumGltf::ExtensionMeshPrimitiveKhrMaterialsVariants>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
@ -0,0 +1,79 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/ExtensionModelExtStructuralMetadata.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct ExtensionModelExtStructuralMetadata;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::ExtensionModelExtStructuralMetadata
|
||||
* "ExtensionModelExtStructuralMetadata" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API ExtensionModelExtStructuralMetadataReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
ExtensionModelExtStructuralMetadataReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionModelExtStructuralMetadata from a byte
|
||||
* buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
CesiumGltf::ExtensionModelExtStructuralMetadata>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionModelExtStructuralMetadata from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
CesiumGltf::ExtensionModelExtStructuralMetadata>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of ExtensionModelExtStructuralMetadata
|
||||
* from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
std::vector<CesiumGltf::ExtensionModelExtStructuralMetadata>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
@ -0,0 +1,79 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/ExtensionModelKhrMaterialsVariants.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct ExtensionModelKhrMaterialsVariants;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::ExtensionModelKhrMaterialsVariants
|
||||
* "ExtensionModelKhrMaterialsVariants" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API ExtensionModelKhrMaterialsVariantsReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
ExtensionModelKhrMaterialsVariantsReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionModelKhrMaterialsVariants from a byte
|
||||
* buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
CesiumGltf::ExtensionModelKhrMaterialsVariants>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionModelKhrMaterialsVariants from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
CesiumGltf::ExtensionModelKhrMaterialsVariants>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of ExtensionModelKhrMaterialsVariants
|
||||
* from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
std::vector<CesiumGltf::ExtensionModelKhrMaterialsVariants>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
@ -0,0 +1,79 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/ExtensionModelKhrMaterialsVariantsValue.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct ExtensionModelKhrMaterialsVariantsValue;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::ExtensionModelKhrMaterialsVariantsValue
|
||||
* "ExtensionModelKhrMaterialsVariantsValue" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API ExtensionModelKhrMaterialsVariantsValueReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
ExtensionModelKhrMaterialsVariantsValueReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionModelKhrMaterialsVariantsValue from a
|
||||
* byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
CesiumGltf::ExtensionModelKhrMaterialsVariantsValue>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionModelKhrMaterialsVariantsValue from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
CesiumGltf::ExtensionModelKhrMaterialsVariantsValue>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of
|
||||
* ExtensionModelKhrMaterialsVariantsValue from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
std::vector<CesiumGltf::ExtensionModelKhrMaterialsVariantsValue>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
@ -0,0 +1,77 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/ExtensionModelMaxarMeshVariants.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct ExtensionModelMaxarMeshVariants;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::ExtensionModelMaxarMeshVariants
|
||||
* "ExtensionModelMaxarMeshVariants" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API ExtensionModelMaxarMeshVariantsReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
ExtensionModelMaxarMeshVariantsReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionModelMaxarMeshVariants from a byte
|
||||
* buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::ExtensionModelMaxarMeshVariants>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionModelMaxarMeshVariants from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::ExtensionModelMaxarMeshVariants>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of ExtensionModelMaxarMeshVariants from
|
||||
* a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
std::vector<CesiumGltf::ExtensionModelMaxarMeshVariants>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
@ -0,0 +1,79 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/ExtensionModelMaxarMeshVariantsValue.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct ExtensionModelMaxarMeshVariantsValue;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::ExtensionModelMaxarMeshVariantsValue
|
||||
* "ExtensionModelMaxarMeshVariantsValue" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API ExtensionModelMaxarMeshVariantsValueReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
ExtensionModelMaxarMeshVariantsValueReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionModelMaxarMeshVariantsValue from a
|
||||
* byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
CesiumGltf::ExtensionModelMaxarMeshVariantsValue>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionModelMaxarMeshVariantsValue from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
CesiumGltf::ExtensionModelMaxarMeshVariantsValue>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of ExtensionModelMaxarMeshVariantsValue
|
||||
* from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
std::vector<CesiumGltf::ExtensionModelMaxarMeshVariantsValue>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
@ -0,0 +1,79 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/ExtensionNodeMaxarMeshVariantsMappingsValue.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct ExtensionNodeMaxarMeshVariantsMappingsValue;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::ExtensionNodeMaxarMeshVariantsMappingsValue
|
||||
* "ExtensionNodeMaxarMeshVariantsMappingsValue" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API ExtensionNodeMaxarMeshVariantsMappingsValueReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
ExtensionNodeMaxarMeshVariantsMappingsValueReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionNodeMaxarMeshVariantsMappingsValue
|
||||
* from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
CesiumGltf::ExtensionNodeMaxarMeshVariantsMappingsValue>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionNodeMaxarMeshVariantsMappingsValue
|
||||
* from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
CesiumGltf::ExtensionNodeMaxarMeshVariantsMappingsValue>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of
|
||||
* ExtensionNodeMaxarMeshVariantsMappingsValue from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
std::vector<CesiumGltf::ExtensionNodeMaxarMeshVariantsMappingsValue>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
@ -0,0 +1,77 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/ExtensionNodeMaxarMeshVariants.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct ExtensionNodeMaxarMeshVariants;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::ExtensionNodeMaxarMeshVariants
|
||||
* "ExtensionNodeMaxarMeshVariants" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API ExtensionNodeMaxarMeshVariantsReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
ExtensionNodeMaxarMeshVariantsReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionNodeMaxarMeshVariants from a byte
|
||||
* buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::ExtensionNodeMaxarMeshVariants>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionNodeMaxarMeshVariants from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::ExtensionNodeMaxarMeshVariants>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of ExtensionNodeMaxarMeshVariants from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
std::vector<CesiumGltf::ExtensionNodeMaxarMeshVariants>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
75
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/ExtensionTextureWebpReader.h
vendored
Normal file
75
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/ExtensionTextureWebpReader.h
vendored
Normal file
@ -0,0 +1,75 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/ExtensionTextureWebp.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct ExtensionTextureWebp;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::ExtensionTextureWebp "ExtensionTextureWebp"
|
||||
* instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API ExtensionTextureWebpReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
ExtensionTextureWebpReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionTextureWebp from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::ExtensionTextureWebp>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of ExtensionTextureWebp from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::ExtensionTextureWebp>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of ExtensionTextureWebp from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
std::vector<CesiumGltf::ExtensionTextureWebp>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/FeatureIdReader.h
vendored
Normal file
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/FeatureIdReader.h
vendored
Normal file
@ -0,0 +1,72 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/FeatureId.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct FeatureId;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::FeatureId "FeatureId" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API FeatureIdReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
FeatureIdReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of FeatureId from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::FeatureId>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of FeatureId from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::FeatureId>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of FeatureId from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<std::vector<CesiumGltf::FeatureId>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
74
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/FeatureIdTextureReader.h
vendored
Normal file
74
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/FeatureIdTextureReader.h
vendored
Normal file
@ -0,0 +1,74 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/FeatureIdTexture.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct FeatureIdTexture;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::FeatureIdTexture "FeatureIdTexture" instances
|
||||
* from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API FeatureIdTextureReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
FeatureIdTextureReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of FeatureIdTexture from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::FeatureIdTexture>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of FeatureIdTexture from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::FeatureIdTexture>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of FeatureIdTexture from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<std::vector<CesiumGltf::FeatureIdTexture>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
227
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/GltfReader.h
vendored
Normal file
227
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/GltfReader.h
vendored
Normal file
@ -0,0 +1,227 @@
|
||||
#pragma once
|
||||
|
||||
#include "CesiumGltfReader/ImageDecoder.h"
|
||||
#include "CesiumGltfReader/Library.h"
|
||||
|
||||
#include <CesiumAsync/AsyncSystem.h>
|
||||
#include <CesiumAsync/Future.h>
|
||||
#include <CesiumAsync/HttpHeaders.h>
|
||||
#include <CesiumAsync/IAssetAccessor.h>
|
||||
#include <CesiumGltf/ImageAsset.h>
|
||||
#include <CesiumGltf/Ktx2TranscodeTargets.h>
|
||||
#include <CesiumGltf/Model.h>
|
||||
#include <CesiumGltfReader/GltfSharedAssetSystem.h>
|
||||
#include <CesiumJsonReader/IExtensionJsonHandler.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
#include <span>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief The result of reading a glTF model with
|
||||
* {@link GltfReader::readGltf}.
|
||||
*/
|
||||
struct CESIUMGLTFREADER_API GltfReaderResult {
|
||||
/**
|
||||
* @brief The read model, or std::nullopt if the model could not be read.
|
||||
*/
|
||||
std::optional<CesiumGltf::Model> model;
|
||||
|
||||
/**
|
||||
* @brief Errors, if any, that occurred during the load process.
|
||||
*/
|
||||
std::vector<std::string> errors;
|
||||
|
||||
/**
|
||||
* @brief Warnings, if any, that occurred during the load process.
|
||||
*/
|
||||
std::vector<std::string> warnings;
|
||||
};
|
||||
|
||||
/**
|
||||
* @brief Options for how to read a glTF.
|
||||
*/
|
||||
struct CESIUMGLTFREADER_API GltfReaderOptions {
|
||||
/**
|
||||
* @brief Whether data URLs in buffers and images should be automatically
|
||||
* decoded as part of the load process.
|
||||
*/
|
||||
bool decodeDataUrls = true;
|
||||
|
||||
/**
|
||||
* @brief Whether data URLs should be cleared after they are successfully
|
||||
* decoded.
|
||||
*
|
||||
* This reduces the memory usage of the model.
|
||||
*/
|
||||
bool clearDecodedDataUrls = true;
|
||||
|
||||
/**
|
||||
* @brief Whether embedded images in {@link CesiumGltf::Model::buffers} should be
|
||||
* automatically decoded as part of the load process.
|
||||
*
|
||||
* The {@link CesiumGltf::ImageSpec::mimeType} property is ignored, and instead the
|
||||
* [stb_image](https://github.com/nothings/stb) library is used to decode
|
||||
* images in `JPG`, `PNG`, `TGA`, `BMP`, `PSD`, `GIF`, `HDR`, or `PIC` format.
|
||||
*/
|
||||
bool decodeEmbeddedImages = true;
|
||||
|
||||
/**
|
||||
* @brief Whether external images should be resolved.
|
||||
*/
|
||||
bool resolveExternalImages = true;
|
||||
|
||||
/**
|
||||
* @brief Whether geometry compressed using the `KHR_draco_mesh_compression`
|
||||
* extension should be automatically decoded as part of the load process.
|
||||
*/
|
||||
bool decodeDraco = true;
|
||||
|
||||
/**
|
||||
* @brief Whether the mesh data are decompressed as part of the load process,
|
||||
* or left in the compressed format according to the EXT_meshopt_compression
|
||||
* extension
|
||||
*/
|
||||
bool decodeMeshOptData = true;
|
||||
|
||||
/**
|
||||
* @brief Whether the quantized mesh data are dequantized and converted to
|
||||
* floating-point values when loading, according to the KHR_mesh_quantization
|
||||
* extension.
|
||||
*/
|
||||
bool dequantizeMeshData = true;
|
||||
|
||||
/**
|
||||
* @brief Whether the texture coordinates of a texture are transformed or
|
||||
* not, according to the KHR_texture_transform extension
|
||||
*/
|
||||
bool applyTextureTransform = true;
|
||||
|
||||
/**
|
||||
* @brief For each possible input transmission format, this struct names
|
||||
* the ideal target gpu-compressed pixel format to transcode to.
|
||||
*/
|
||||
CesiumGltf::Ktx2TranscodeTargets ktx2TranscodeTargets;
|
||||
|
||||
/**
|
||||
* The shared asset system that will be used to store all of the shared assets
|
||||
* that might appear in this glTF.
|
||||
*/
|
||||
CesiumUtility::IntrusivePointer<GltfSharedAssetSystem> pSharedAssetSystem =
|
||||
GltfSharedAssetSystem::getDefault();
|
||||
|
||||
/**
|
||||
* @brief Whether the `schemaUri` property of `EXT_structural_metadata` will
|
||||
* be properly resolved. If false, any external schemas will be ignored.
|
||||
*/
|
||||
bool resolveExternalStructuralMetadata = true;
|
||||
};
|
||||
|
||||
/**
|
||||
* @brief Reads glTF models and images.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API GltfReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
GltfReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getExtensions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads a glTF or binary glTF (GLB) from a buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the glTF.
|
||||
* @param options Options for how to read the glTF.
|
||||
* @return The result of reading the glTF.
|
||||
*/
|
||||
GltfReaderResult readGltf(
|
||||
const std::span<const std::byte>& data,
|
||||
const GltfReaderOptions& options = GltfReaderOptions()) const;
|
||||
|
||||
/**
|
||||
* @brief Reads a glTF or binary glTF file from a URL and resolves external
|
||||
* buffers and images.
|
||||
*
|
||||
* @param asyncSystem The async system to use for resolving external data.
|
||||
* @param url The url for reading the file.
|
||||
* @param headers http headers needed to make the request.
|
||||
* @param pAssetAccessor The asset accessor to use to make the necessary
|
||||
* requests.
|
||||
* @param options Options for how to read the glTF.
|
||||
*/
|
||||
CesiumAsync::Future<GltfReaderResult> loadGltf(
|
||||
const CesiumAsync::AsyncSystem& asyncSystem,
|
||||
const std::string& url,
|
||||
const std::vector<CesiumAsync::IAssetAccessor::THeader>& headers,
|
||||
const std::shared_ptr<CesiumAsync::IAssetAccessor>& pAssetAccessor,
|
||||
const GltfReaderOptions& options = GltfReaderOptions()) const;
|
||||
|
||||
/**
|
||||
* @brief Performs post-load processing on a glTF. The specific operations
|
||||
* performed are controlled by the provided `options`.
|
||||
*
|
||||
* @param readGltf The result of reading the glTF.
|
||||
* @param options The options to use in post-processing.
|
||||
*/
|
||||
void
|
||||
postprocessGltf(GltfReaderResult& readGltf, const GltfReaderOptions& options);
|
||||
|
||||
/**
|
||||
* @brief Accepts the result of {@link readGltf} and resolves any remaining
|
||||
* external buffers and images.
|
||||
*
|
||||
* @param asyncSystem The async system to use for resolving external data.
|
||||
* @param baseUrl The base url that all the external uris are relative to.
|
||||
* @param headers The http headers needed to make any external data requests.
|
||||
* @param pAssetAccessor The asset accessor to use to request the external
|
||||
* buffers and images.
|
||||
* @param options Options for how to read the glTF.
|
||||
* @param result The result of the synchronous readGltf invocation.
|
||||
*/
|
||||
static CesiumAsync::Future<GltfReaderResult> resolveExternalData(
|
||||
const CesiumAsync::AsyncSystem& asyncSystem,
|
||||
const std::string& baseUrl,
|
||||
const CesiumAsync::HttpHeaders& headers,
|
||||
const std::shared_ptr<CesiumAsync::IAssetAccessor>& pAssetAccessor,
|
||||
const GltfReaderOptions& options,
|
||||
GltfReaderResult&& result);
|
||||
|
||||
/**
|
||||
* @brief Reads an Image from a buffer.
|
||||
* @deprecated Use {@link ImageDecoder::readImage} instead.
|
||||
*/
|
||||
[[deprecated(
|
||||
"Use ImageDecoder::readImage instead.")]] static ImageReaderResult
|
||||
readImage(
|
||||
const std::span<const std::byte>& data,
|
||||
const CesiumGltf::Ktx2TranscodeTargets& ktx2TranscodeTargets);
|
||||
|
||||
/**
|
||||
* @brief Generate mipmaps for this image.
|
||||
* @deprecated Use {@link ImageDecoder::generateMipMaps} instead.
|
||||
*/
|
||||
[[deprecated("Use ImageDecoder::generateMipMaps instead.")]] static std::
|
||||
optional<std::string>
|
||||
generateMipMaps(CesiumGltf::ImageAsset& image);
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _context;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
57
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/GltfSharedAssetSystem.h
vendored
Normal file
57
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/GltfSharedAssetSystem.h
vendored
Normal file
@ -0,0 +1,57 @@
|
||||
#pragma once
|
||||
|
||||
#include <CesiumAsync/SharedAssetDepot.h>
|
||||
#include <CesiumGltfReader/NetworkImageAssetDescriptor.h>
|
||||
#include <CesiumGltfReader/NetworkSchemaAssetDescriptor.h>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct Schema;
|
||||
}
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Contains assets that are potentially shared across multiple glTF
|
||||
* models.
|
||||
*/
|
||||
class GltfSharedAssetSystem
|
||||
: public CesiumUtility::ReferenceCountedThreadSafe<GltfSharedAssetSystem> {
|
||||
public:
|
||||
/**
|
||||
* @brief Obtains an `IntrusivePointer` to the `GltfSharedAssetSystem`
|
||||
* singleton.
|
||||
*/
|
||||
static CesiumUtility::IntrusivePointer<GltfSharedAssetSystem> getDefault();
|
||||
|
||||
virtual ~GltfSharedAssetSystem() = default;
|
||||
|
||||
/**
|
||||
* @brief A depot containing images loaded from glTFs.
|
||||
*
|
||||
* See \ref CesiumGltf::ImageAsset "ImageAsset" and \ref
|
||||
* NetworkImageAssetDescriptor.
|
||||
*/
|
||||
using ImageDepot = CesiumAsync::
|
||||
SharedAssetDepot<CesiumGltf::ImageAsset, NetworkImageAssetDescriptor>;
|
||||
|
||||
/**
|
||||
* @brief The asset depot for images.
|
||||
*/
|
||||
CesiumUtility::IntrusivePointer<ImageDepot> pImage;
|
||||
|
||||
/**
|
||||
* @brief A depot containing schemas loaded from URIs contained in the glTF
|
||||
* EXT_structural_metadata extension.
|
||||
*
|
||||
* See \ref CesiumGltf::Schema "Schema" and \ref NetworkSchemaAssetDescriptor.
|
||||
*/
|
||||
using SchemaDepot = CesiumAsync::
|
||||
SharedAssetDepot<CesiumGltf::Schema, NetworkSchemaAssetDescriptor>;
|
||||
|
||||
/**
|
||||
* @brief The asset depot for schemas.
|
||||
*/
|
||||
CesiumUtility::IntrusivePointer<SchemaDepot> pExternalMetadataSchema;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
99
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/ImageDecoder.h
vendored
Normal file
99
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/ImageDecoder.h
vendored
Normal file
@ -0,0 +1,99 @@
|
||||
#pragma once
|
||||
|
||||
#include "CesiumGltf/ImageAsset.h"
|
||||
#include "CesiumGltfReader/Library.h"
|
||||
|
||||
#include <CesiumUtility/IntrusivePointer.h>
|
||||
|
||||
#include <optional>
|
||||
#include <span>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief The result of reading an image with {@link ImageDecoder::readImage}.
|
||||
*/
|
||||
struct CESIUMGLTFREADER_API ImageReaderResult {
|
||||
|
||||
/**
|
||||
* @brief The {@link CesiumGltf::ImageAsset} that was read.
|
||||
*
|
||||
* This will be `std::nullopt` if the image could not be read.
|
||||
*/
|
||||
CesiumUtility::IntrusivePointer<CesiumGltf::ImageAsset> pImage;
|
||||
|
||||
/**
|
||||
* @brief Error messages that occurred while trying to read the image.
|
||||
*/
|
||||
std::vector<std::string> errors;
|
||||
|
||||
/**
|
||||
* @brief Warning messages that occurred while reading the image.
|
||||
*/
|
||||
std::vector<std::string> warnings;
|
||||
};
|
||||
|
||||
/**
|
||||
* @brief Contains methods for reading and manipulating images.
|
||||
*/
|
||||
class ImageDecoder {
|
||||
public:
|
||||
/**
|
||||
* @brief Reads an image from a buffer.
|
||||
*
|
||||
* The [stb_image](https://github.com/nothings/stb) library is used to decode
|
||||
* images in `JPG`, `PNG`, `TGA`, `BMP`, `PSD`, `GIF`, `HDR`, or `PIC` format.
|
||||
*
|
||||
* @param data The buffer from which to read the image.
|
||||
* @param ktx2TranscodeTargets The compression format to transcode
|
||||
* KTX v2 textures into. If this is std::nullopt, KTX v2 textures will be
|
||||
* fully decompressed into raw pixels.
|
||||
* @return The result of reading the image.
|
||||
*/
|
||||
static ImageReaderResult readImage(
|
||||
const std::span<const std::byte>& data,
|
||||
const CesiumGltf::Ktx2TranscodeTargets& ktx2TranscodeTargets);
|
||||
|
||||
/**
|
||||
* @brief Generate mipmaps for this image.
|
||||
*
|
||||
* Does nothing if mipmaps already exist or the compressedPixelFormat is not
|
||||
* GpuCompressedPixelFormat::NONE.
|
||||
*
|
||||
* @param image The image to generate mipmaps for. *
|
||||
* @return A string describing the error, if unable to generate mipmaps.
|
||||
*/
|
||||
static std::optional<std::string>
|
||||
generateMipMaps(CesiumGltf::ImageAsset& image);
|
||||
|
||||
/**
|
||||
* @brief Resize an image, without validating the provided pointers or ranges.
|
||||
*
|
||||
* @param pInputPixels The input image.
|
||||
* @param inputWidth The width of the input image, in pixels.
|
||||
* @param inputHeight The height of the input image, in pixels.
|
||||
* @param inputStrideBytes The stride of the input image, in bytes. Stride is
|
||||
* the number of bytes between successive rows.
|
||||
* @param pOutputPixels The buffer into which to write the output image.
|
||||
* @param outputWidth The width of the output image, in pixels.
|
||||
* @param outputHeight The height of the otuput image, in pixels.
|
||||
* @param outputStrideBytes The stride of the output image, in bytes. Stride
|
||||
* is the number of bytes between successive rows.
|
||||
* @param channels The number of channels in both the input and output images.
|
||||
* @return True if the resize succeeded, false if it failed.
|
||||
*/
|
||||
static bool unsafeResize(
|
||||
const std::byte* pInputPixels,
|
||||
int32_t inputWidth,
|
||||
int32_t inputHeight,
|
||||
int32_t inputStrideBytes,
|
||||
std::byte* pOutputPixels,
|
||||
int32_t outputWidth,
|
||||
int32_t outputHeight,
|
||||
int32_t outputStrideBytes,
|
||||
int32_t channels);
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/ImageReader.h
vendored
Normal file
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/ImageReader.h
vendored
Normal file
@ -0,0 +1,72 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/Image.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct Image;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::Image "Image" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API ImageReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
ImageReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of Image from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::Image>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of Image from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::Image>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of Image from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<std::vector<CesiumGltf::Image>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
18
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/Library.h
vendored
Normal file
18
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/Library.h
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
/**
|
||||
* @brief Classes for reading [glTF](https://www.khronos.org/gltf/) models.
|
||||
*
|
||||
* @mermaid-interactive{dependencies/CesiumGltfReader}
|
||||
*/
|
||||
namespace CesiumGltfReader {}
|
||||
|
||||
#if defined(_WIN32) && defined(CESIUM_SHARED)
|
||||
#ifdef CESIUMGLTFREADER_BUILDING
|
||||
#define CESIUMGLTFREADER_API __declspec(dllexport)
|
||||
#else
|
||||
#define CESIUMGLTFREADER_API __declspec(dllimport)
|
||||
#endif
|
||||
#else
|
||||
#define CESIUMGLTFREADER_API
|
||||
#endif
|
||||
@ -0,0 +1,76 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/MaterialNormalTextureInfo.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct MaterialNormalTextureInfo;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::MaterialNormalTextureInfo
|
||||
* "MaterialNormalTextureInfo" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API MaterialNormalTextureInfoReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
MaterialNormalTextureInfoReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of MaterialNormalTextureInfo from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::MaterialNormalTextureInfo>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of MaterialNormalTextureInfo from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::MaterialNormalTextureInfo>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of MaterialNormalTextureInfo from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
std::vector<CesiumGltf::MaterialNormalTextureInfo>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
@ -0,0 +1,77 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/MaterialOcclusionTextureInfo.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct MaterialOcclusionTextureInfo;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::MaterialOcclusionTextureInfo
|
||||
* "MaterialOcclusionTextureInfo" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API MaterialOcclusionTextureInfoReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
MaterialOcclusionTextureInfoReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of MaterialOcclusionTextureInfo from a byte
|
||||
* buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::MaterialOcclusionTextureInfo>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of MaterialOcclusionTextureInfo from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::MaterialOcclusionTextureInfo>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of MaterialOcclusionTextureInfo from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
std::vector<CesiumGltf::MaterialOcclusionTextureInfo>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
@ -0,0 +1,77 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/MaterialPBRMetallicRoughness.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct MaterialPBRMetallicRoughness;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::MaterialPBRMetallicRoughness
|
||||
* "MaterialPBRMetallicRoughness" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API MaterialPBRMetallicRoughnessReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
MaterialPBRMetallicRoughnessReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of MaterialPBRMetallicRoughness from a byte
|
||||
* buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::MaterialPBRMetallicRoughness>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of MaterialPBRMetallicRoughness from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::MaterialPBRMetallicRoughness>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of MaterialPBRMetallicRoughness from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
std::vector<CesiumGltf::MaterialPBRMetallicRoughness>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/MaterialReader.h
vendored
Normal file
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/MaterialReader.h
vendored
Normal file
@ -0,0 +1,72 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/Material.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct Material;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::Material "Material" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API MaterialReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
MaterialReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of Material from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::Material>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of Material from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::Material>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of Material from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<std::vector<CesiumGltf::Material>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
74
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/MeshPrimitiveReader.h
vendored
Normal file
74
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/MeshPrimitiveReader.h
vendored
Normal file
@ -0,0 +1,74 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/MeshPrimitive.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct MeshPrimitive;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::MeshPrimitive "MeshPrimitive" instances from
|
||||
* JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API MeshPrimitiveReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
MeshPrimitiveReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of MeshPrimitive from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::MeshPrimitive>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of MeshPrimitive from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::MeshPrimitive>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of MeshPrimitive from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<std::vector<CesiumGltf::MeshPrimitive>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/MeshReader.h
vendored
Normal file
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/MeshReader.h
vendored
Normal file
@ -0,0 +1,72 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/Mesh.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct Mesh;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::Mesh "Mesh" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API MeshReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
MeshReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of Mesh from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::Mesh>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of Mesh from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::Mesh>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of Mesh from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<std::vector<CesiumGltf::Mesh>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/ModelReader.h
vendored
Normal file
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/ModelReader.h
vendored
Normal file
@ -0,0 +1,72 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/Model.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct Model;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::Model "Model" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API ModelReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
ModelReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of Model from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::Model>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of Model from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::Model>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of Model from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<std::vector<CesiumGltf::Model>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
60
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/NetworkImageAssetDescriptor.h
vendored
Normal file
60
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/NetworkImageAssetDescriptor.h
vendored
Normal file
@ -0,0 +1,60 @@
|
||||
#pragma once
|
||||
|
||||
#include <CesiumAsync/Future.h>
|
||||
#include <CesiumAsync/NetworkAssetDescriptor.h>
|
||||
#include <CesiumGltf/ImageAsset.h>
|
||||
#include <CesiumGltf/Ktx2TranscodeTargets.h>
|
||||
#include <CesiumUtility/IntrusivePointer.h>
|
||||
#include <CesiumUtility/Result.h>
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace CesiumAsync {
|
||||
class AsyncSystem;
|
||||
}
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief A description of an image asset that can be loaded from the network
|
||||
* using an {@link CesiumAsync::IAssetAccessor}. This includes a URL, any headers to be
|
||||
* included in the request, and the set of supported GPU texture formats for
|
||||
* KTX2 decoding.
|
||||
*/
|
||||
struct NetworkImageAssetDescriptor
|
||||
: public CesiumAsync::NetworkAssetDescriptor {
|
||||
/**
|
||||
* @brief The supported GPU texture formats used for KTX2 decoding.
|
||||
*/
|
||||
CesiumGltf::Ktx2TranscodeTargets ktx2TranscodeTargets{};
|
||||
|
||||
/**
|
||||
* @brief Determines if this descriptor is identical to another one.
|
||||
*/
|
||||
bool operator==(const NetworkImageAssetDescriptor& rhs) const noexcept;
|
||||
|
||||
/**
|
||||
* @brief Request this asset from the network using the provided asset
|
||||
* accessor and return the loaded {@link CesiumGltf::ImageAsset}.
|
||||
*
|
||||
* @param asyncSystem The async system.
|
||||
* @param pAssetAccessor The asset accessor.
|
||||
* @return A future that resolves to the image asset once the request is
|
||||
* complete.
|
||||
*/
|
||||
CesiumAsync::Future<CesiumUtility::ResultPointer<CesiumGltf::ImageAsset>>
|
||||
load(
|
||||
const CesiumAsync::AsyncSystem& asyncSystem,
|
||||
const std::shared_ptr<CesiumAsync::IAssetAccessor>& pAssetAccessor) const;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
|
||||
/** @brief Hash implementation for \ref
|
||||
* CesiumGltfReader::NetworkImageAssetDescriptor. */
|
||||
template <> struct std::hash<CesiumGltfReader::NetworkImageAssetDescriptor> {
|
||||
/** @brief Returns a `size_t` hash of the provided \ref
|
||||
* CesiumGltfReader::NetworkImageAssetDescriptor. */
|
||||
std::size_t operator()(
|
||||
const CesiumGltfReader::NetworkImageAssetDescriptor& key) const noexcept;
|
||||
};
|
||||
@ -0,0 +1,52 @@
|
||||
#pragma once
|
||||
|
||||
#include <CesiumAsync/Future.h>
|
||||
#include <CesiumAsync/NetworkAssetDescriptor.h>
|
||||
#include <CesiumGltf/Schema.h>
|
||||
#include <CesiumUtility/IntrusivePointer.h>
|
||||
#include <CesiumUtility/Result.h>
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace CesiumAsync {
|
||||
class AsyncSystem;
|
||||
}
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief A description of a schema asset that can be loaded from the network
|
||||
* using an {@link CesiumAsync::IAssetAccessor}. This includes a URL and any headers to be
|
||||
* included in the request.
|
||||
*/
|
||||
struct NetworkSchemaAssetDescriptor
|
||||
: public CesiumAsync::NetworkAssetDescriptor {
|
||||
/**
|
||||
* @brief Determines if this descriptor is identical to another one.
|
||||
*/
|
||||
bool operator==(const NetworkSchemaAssetDescriptor& rhs) const noexcept;
|
||||
|
||||
/**
|
||||
* @brief Request this asset from the network using the provided asset
|
||||
* accessor and return the loaded {@link CesiumGltf::Schema}.
|
||||
*
|
||||
* @param asyncSystem The async system.
|
||||
* @param pAssetAccessor The asset accessor.
|
||||
* @return A future that resolves to the schema asset once the request is
|
||||
* complete.
|
||||
*/
|
||||
CesiumAsync::Future<CesiumUtility::ResultPointer<CesiumGltf::Schema>> load(
|
||||
const CesiumAsync::AsyncSystem& asyncSystem,
|
||||
const std::shared_ptr<CesiumAsync::IAssetAccessor>& pAssetAccessor) const;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
|
||||
/** @brief Hash implementation for \ref
|
||||
* CesiumGltfReader::NetworkSchemaAssetDescriptor. */
|
||||
template <> struct std::hash<CesiumGltfReader::NetworkSchemaAssetDescriptor> {
|
||||
/** @brief Returns a `size_t` hash of the provided \ref
|
||||
* CesiumGltfReader::NetworkSchemaAssetDescriptor. */
|
||||
std::size_t operator()(
|
||||
const CesiumGltfReader::NetworkSchemaAssetDescriptor& key) const noexcept;
|
||||
};
|
||||
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/NodeReader.h
vendored
Normal file
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/NodeReader.h
vendored
Normal file
@ -0,0 +1,72 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/Node.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct Node;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::Node "Node" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API NodeReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
NodeReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of Node from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::Node>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of Node from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::Node>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of Node from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<std::vector<CesiumGltf::Node>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
@ -0,0 +1,76 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/PropertyAttributeProperty.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct PropertyAttributeProperty;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::PropertyAttributeProperty
|
||||
* "PropertyAttributeProperty" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API PropertyAttributePropertyReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
PropertyAttributePropertyReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of PropertyAttributeProperty from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::PropertyAttributeProperty>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of PropertyAttributeProperty from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::PropertyAttributeProperty>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of PropertyAttributeProperty from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
std::vector<CesiumGltf::PropertyAttributeProperty>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
74
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/PropertyAttributeReader.h
vendored
Normal file
74
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/PropertyAttributeReader.h
vendored
Normal file
@ -0,0 +1,74 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/PropertyAttribute.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct PropertyAttribute;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::PropertyAttribute "PropertyAttribute" instances
|
||||
* from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API PropertyAttributeReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
PropertyAttributeReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of PropertyAttribute from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::PropertyAttribute>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of PropertyAttribute from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::PropertyAttribute>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of PropertyAttribute from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<std::vector<CesiumGltf::PropertyAttribute>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
75
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/PropertyTablePropertyReader.h
vendored
Normal file
75
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/PropertyTablePropertyReader.h
vendored
Normal file
@ -0,0 +1,75 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/PropertyTableProperty.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct PropertyTableProperty;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::PropertyTableProperty "PropertyTableProperty"
|
||||
* instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API PropertyTablePropertyReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
PropertyTablePropertyReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of PropertyTableProperty from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::PropertyTableProperty>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of PropertyTableProperty from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::PropertyTableProperty>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of PropertyTableProperty from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
std::vector<CesiumGltf::PropertyTableProperty>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
74
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/PropertyTableReader.h
vendored
Normal file
74
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/PropertyTableReader.h
vendored
Normal file
@ -0,0 +1,74 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/PropertyTable.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct PropertyTable;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::PropertyTable "PropertyTable" instances from
|
||||
* JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API PropertyTableReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
PropertyTableReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of PropertyTable from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::PropertyTable>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of PropertyTable from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::PropertyTable>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of PropertyTable from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<std::vector<CesiumGltf::PropertyTable>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
@ -0,0 +1,76 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/PropertyTextureProperty.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct PropertyTextureProperty;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::PropertyTextureProperty
|
||||
* "PropertyTextureProperty" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API PropertyTexturePropertyReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
PropertyTexturePropertyReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of PropertyTextureProperty from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::PropertyTextureProperty>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of PropertyTextureProperty from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::PropertyTextureProperty>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of PropertyTextureProperty from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<
|
||||
std::vector<CesiumGltf::PropertyTextureProperty>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
74
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/PropertyTextureReader.h
vendored
Normal file
74
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/PropertyTextureReader.h
vendored
Normal file
@ -0,0 +1,74 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/PropertyTexture.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct PropertyTexture;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::PropertyTexture "PropertyTexture" instances
|
||||
* from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API PropertyTextureReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
PropertyTextureReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of PropertyTexture from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::PropertyTexture>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of PropertyTexture from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::PropertyTexture>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of PropertyTexture from a
|
||||
* rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<std::vector<CesiumGltf::PropertyTexture>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/SamplerReader.h
vendored
Normal file
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/SamplerReader.h
vendored
Normal file
@ -0,0 +1,72 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/Sampler.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct Sampler;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::Sampler "Sampler" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API SamplerReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
SamplerReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of Sampler from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::Sampler>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of Sampler from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::Sampler>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of Sampler from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<std::vector<CesiumGltf::Sampler>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/SceneReader.h
vendored
Normal file
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/SceneReader.h
vendored
Normal file
@ -0,0 +1,72 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/Scene.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct Scene;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::Scene "Scene" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API SceneReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
SceneReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of Scene from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::Scene>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of Scene from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::Scene>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of Scene from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<std::vector<CesiumGltf::Scene>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/SchemaReader.h
vendored
Normal file
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/SchemaReader.h
vendored
Normal file
@ -0,0 +1,72 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/Schema.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct Schema;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::Schema "Schema" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API SchemaReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
SchemaReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of Schema from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::Schema>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of Schema from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::Schema>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of Schema from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<std::vector<CesiumGltf::Schema>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/SkinReader.h
vendored
Normal file
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/SkinReader.h
vendored
Normal file
@ -0,0 +1,72 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/Skin.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct Skin;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::Skin "Skin" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API SkinReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
SkinReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of Skin from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::Skin>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of Skin from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::Skin>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of Skin from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<std::vector<CesiumGltf::Skin>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/TextureInfoReader.h
vendored
Normal file
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/TextureInfoReader.h
vendored
Normal file
@ -0,0 +1,72 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/TextureInfo.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct TextureInfo;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::TextureInfo "TextureInfo" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API TextureInfoReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
TextureInfoReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of TextureInfo from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::TextureInfo>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of TextureInfo from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::TextureInfo>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of TextureInfo from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<std::vector<CesiumGltf::TextureInfo>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/TextureReader.h
vendored
Normal file
72
Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltfReader/TextureReader.h
vendored
Normal file
@ -0,0 +1,72 @@
|
||||
// This file was generated by generate-classes.
|
||||
// DO NOT EDIT THIS FILE!
|
||||
#pragma once
|
||||
|
||||
#include <CesiumGltf/Texture.h>
|
||||
#include <CesiumGltfReader/Library.h>
|
||||
#include <CesiumJsonReader/JsonReader.h>
|
||||
#include <CesiumJsonReader/JsonReaderOptions.h>
|
||||
|
||||
#include <rapidjson/fwd.h>
|
||||
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumGltf {
|
||||
struct Texture;
|
||||
} // namespace CesiumGltf
|
||||
|
||||
namespace CesiumGltfReader {
|
||||
|
||||
/**
|
||||
* @brief Reads \ref CesiumGltf::Texture "Texture" instances from JSON.
|
||||
*/
|
||||
class CESIUMGLTFREADER_API TextureReader {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs a new instance.
|
||||
*/
|
||||
TextureReader();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
CesiumJsonReader::JsonReaderOptions& getOptions();
|
||||
|
||||
/**
|
||||
* @brief Gets the options controlling how the JSON is read.
|
||||
*/
|
||||
const CesiumJsonReader::JsonReaderOptions& getOptions() const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of Texture from a byte buffer.
|
||||
*
|
||||
* @param data The buffer from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::Texture>
|
||||
readFromJson(const std::span<const std::byte>& data) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an instance of Texture from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the instance.
|
||||
* @return The result of reading the instance.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<CesiumGltf::Texture>
|
||||
readFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
/**
|
||||
* @brief Reads an array of instances of Texture from a rapidJson::Value.
|
||||
*
|
||||
* @param value The value from which to read the array of instances.
|
||||
* @return The result of reading the array of instances.
|
||||
*/
|
||||
CesiumJsonReader::ReadJsonResult<std::vector<CesiumGltf::Texture>>
|
||||
readArrayFromJson(const rapidjson::Value& value) const;
|
||||
|
||||
private:
|
||||
CesiumJsonReader::JsonReaderOptions _options;
|
||||
};
|
||||
|
||||
} // namespace CesiumGltfReader
|
||||
Reference in New Issue
Block a user