at least current can control background

This commit is contained in:
pengfei.zhou
2019-12-19 21:12:41 +08:00
parent 5d2e237d9f
commit 23b482806f
8 changed files with 99 additions and 98 deletions

View File

@@ -1,7 +1,8 @@
import { DoricPlugin } from "../DoricPlugin";
import { DVModel } from "../shader/DoricViewNode";
export class ShaderPlugin extends DoricPlugin {
render(ret: any) {
console.log('render', ret)
render(ret: DVModel) {
this.context.rootNode.blend(ret.props)
}
}