This commit is contained in:
pengfei.zhou
2019-12-21 23:37:21 +08:00
parent 20ea0841bc
commit d0f1320656
27 changed files with 175 additions and 395 deletions

View File

@@ -0,0 +1,9 @@
import { DoricPlugin } from "../DoricPlugin";
import { DVModel } from "../shader/DoricViewNode";
export class ShaderPlugin extends DoricPlugin {
render(ret: DVModel) {
this.context.rootNode.viewId = ret.id
this.context.rootNode.blend(ret.props)
}
}