UNPKG

cione-comp-lib

Version:

`$ yarn add cione-comp-lib` 或者 `$ npm i cione-comp-lib -S`

21 lines (20 loc) 411 B
import CompositorNode from "./CompositorNode.mjs"; var TextureNode = CompositorNode.extend(function() { return { texture: null, outputs: { color: {} } }; }, function() { }, { getOutput: function(renderer, name) { return this.texture; }, beforeFrame: function() { }, afterFrame: function() { } }); var CompoTextureNode = TextureNode; export { CompoTextureNode as default };