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/doric/plugin/shader_plugin.h

19 lines
324 B
C
Raw Normal View History

2019-12-13 17:45:27 +08:00
#ifndef SHADER_PLUGIN_H
#define SHADER_PLUGIN_H
2019-12-14 18:28:04 +08:00
#include <QDebug>
2019-12-17 17:05:57 +08:00
#include <QJSValue>
2019-12-14 18:28:04 +08:00
2019-12-13 17:45:27 +08:00
#include "context_holder.h"
class ShaderPlugin : public ContextHolder {
2019-12-14 18:28:04 +08:00
Q_OBJECT
2019-12-13 17:45:27 +08:00
public:
2019-12-13 17:48:37 +08:00
ShaderPlugin(Context *context) : ContextHolder(context) {}
2019-12-14 18:28:04 +08:00
2019-12-17 17:05:57 +08:00
Q_INVOKABLE void render(QJSValue jsValue);
2019-12-13 17:45:27 +08:00
};
#endif // SHADER_PLUGIN_H