// 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 MaterialOcclusionTextureInfo;

class MaterialOcclusionTextureInfoJsonHandler : public TextureInfoJsonHandler {
public:
  using ValueType = MaterialOcclusionTextureInfo;

  MaterialOcclusionTextureInfoJsonHandler(
      const ReaderContext& context) noexcept;
  void
  reset(IJsonHandler* pParentHandler, MaterialOcclusionTextureInfo* pObject);

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

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

private:
  MaterialOcclusionTextureInfo* _pObject = nullptr;
  CesiumJsonReader::DoubleJsonHandler _strength;
};
} // namespace CesiumGltf
