This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Doric/doric-Qt/example/doric/plugin/DoricShaderPlugin.h

19 lines
408 B
C
Raw Normal View History

2021-02-04 16:59:58 +08:00
#ifndef SHADERPLUGIN_H
#define SHADERPLUGIN_H
2021-05-18 16:15:28 +08:00
#include "DoricExport.h"
2021-02-05 18:12:25 +08:00
#include "DoricNativePlugin.h"
2021-05-18 16:15:28 +08:00
class DORIC_EXPORT DoricShaderPlugin : public DoricNativePlugin {
2021-02-04 16:59:58 +08:00
Q_OBJECT
public:
2021-02-05 18:12:25 +08:00
using DoricNativePlugin::DoricNativePlugin;
2021-02-04 16:59:58 +08:00
2021-04-06 17:58:23 +08:00
Q_INVOKABLE void render(QString jsValueString, QString callbackId);
2021-06-01 10:50:39 +08:00
Q_INVOKABLE void command(QString jsValueString, QString callbackId);
2021-02-04 16:59:58 +08:00
};
#endif // SHADERPLUGIN_H