// This file was generated by generate-gltf-classes.
// DO NOT EDIT THIS FILE!
#pragma once

#include "CesiumGltf/ReaderContext.h"
#include "CesiumJsonReader/DoubleJsonHandler.h"
#include "TextureInfoJsonHandler.h"

namespace CesiumGltf {
struct ReaderContext;
struct MaterialNormalTextureInfo;

class MaterialNormalTextureInfoJsonHandler : public TextureInfoJsonHandler {
public:
  using ValueType = MaterialNormalTextureInfo;

  MaterialNormalTextureInfoJsonHandler(const ReaderContext& context) noexcept;
  void reset(IJsonHandler* pParentHandler, MaterialNormalTextureInfo* pObject);

  virtual IJsonHandler* readObjectKey(const std::string_view& str) override;

protected:
  IJsonHandler* readObjectKeyMaterialNormalTextureInfo(
      const std::string& objectType,
      const std::string_view& str,
      MaterialNormalTextureInfo& o);

private:
  MaterialNormalTextureInfo* _pObject = nullptr;
  CesiumJsonReader::DoubleJsonHandler _scale;
};
} // namespace CesiumGltf
