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
2021-05-20 18:27:45 +08:00

14 lines
348 B
C++

#include "DoricShaderPlugin.h"
#include <QDebug>
void DoricShaderPlugin::render(QJSValue jsValue, QString callbackId) {
qDebug() << getContext();
getContext()->getDriver()->asyncCall(
[this, jsValue] {
QString viewId = jsValue.property("id").toString();
getContext()->getDriver();
},
DoricThreadMode::UI);
}