move dir
This commit is contained in:
9
doric-h5/src/plugins/ShaderPlugin.ts
Normal file
9
doric-h5/src/plugins/ShaderPlugin.ts
Normal 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)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user