#ifndef MATERIALVIEWER_H
#define MATERIALVIEWER_H

#include "xmaterial.h"

#include <QWidget>
#include <QScrollArea>

namespace Ui {
class MaterialViewer;
}

class MaterialViewer : public QWidget
{
    Q_OBJECT

public:
    explicit MaterialViewer(QWidget *parent = nullptr);
    ~MaterialViewer();

    void SetMaterial(const XMaterial *aMaterial);

private:
    Ui::MaterialViewer *ui;
};

#endif // MATERIALVIEWER_H
