This commit is contained in:
pengfei.zhou
2019-12-20 21:26:10 +08:00
parent 0fe55fdec4
commit ef88d9c092
5 changed files with 89 additions and 104 deletions

View File

@@ -3,6 +3,7 @@ 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)
this.context.rootNode.layout()
}