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
2019-12-21 21:55:53 +08:00

19 lines
324 B
C++

#ifndef SHADER_PLUGIN_H
#define SHADER_PLUGIN_H
#include <QDebug>
#include <QJSValue>
#include "context_holder.h"
class ShaderPlugin : public ContextHolder {
Q_OBJECT
public:
ShaderPlugin(Context *context) : ContextHolder(context) {}
Q_INVOKABLE void render(QJSValue jsValue);
};
#endif // SHADER_PLUGIN_H