cesium-native/CesiumGltfReader/generated/SkinJsonHandler.h

38 lines
1.0 KiB
C++

// This file was generated by generate-gltf-classes.
// DO NOT EDIT THIS FILE!
#pragma once
#include "CesiumGltf/ReaderContext.h"
#include "CesiumJsonReader/ArrayJsonHandler.h"
#include "CesiumJsonReader/IntegerJsonHandler.h"
#include "NamedObjectJsonHandler.h"
namespace CesiumGltf {
struct ReaderContext;
struct Skin;
class SkinJsonHandler : public NamedObjectJsonHandler {
public:
using ValueType = Skin;
SkinJsonHandler(const ReaderContext& context) noexcept;
void reset(IJsonHandler* pParentHandler, Skin* pObject);
virtual IJsonHandler* readObjectKey(const std::string_view& str) override;
protected:
IJsonHandler* readObjectKeySkin(
const std::string& objectType,
const std::string_view& str,
Skin& o);
private:
Skin* _pObject = nullptr;
CesiumJsonReader::IntegerJsonHandler<int32_t> _inverseBindMatrices;
CesiumJsonReader::IntegerJsonHandler<int32_t> _skeleton;
CesiumJsonReader::
ArrayJsonHandler<int32_t, CesiumJsonReader::IntegerJsonHandler<int32_t>>
_joints;
};
} // namespace CesiumGltf