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/DoricShaderPlugin.cpp

14 lines
348 B
C++
Raw Normal View History

2021-02-04 16:59:58 +08:00
#include "DoricShaderPlugin.h"
#include <QDebug>
void DoricShaderPlugin::render(QJSValue jsValue, QString callbackId) {
2021-02-05 18:12:25 +08:00
qDebug() << getContext();
2021-02-09 10:38:27 +08:00
getContext()->getDriver()->asyncCall(
[this, jsValue] {
QString viewId = jsValue.property("id").toString();
getContext()->getDriver();
},
DoricThreadMode::UI);
2021-02-04 16:59:58 +08:00
}