18 lines
332 B
C++
18 lines
332 B
C++
#ifndef SHADERPLUGIN_H
|
|
#define SHADERPLUGIN_H
|
|
|
|
#include <QJSValue>
|
|
#include <QObject>
|
|
|
|
#include "DoricNativePlugin.h"
|
|
|
|
class DoricShaderPlugin : public DoricNativePlugin {
|
|
Q_OBJECT
|
|
public:
|
|
using DoricNativePlugin::DoricNativePlugin;
|
|
|
|
Q_INVOKABLE void render(QJSValue jsValue, QString callbackId);
|
|
};
|
|
|
|
#endif // SHADERPLUGIN_H
|