Files
4.0/static/sdk/three/jsm/renderers/common/nodes/NodeSampler.js

16 lines
240 B
JavaScript

import Sampler from '../Sampler.js';
class NodeSampler extends Sampler {
constructor( name, textureNode ) {
super( name, textureNode ? textureNode.value : null );
this.textureNode = textureNode;
}
}
export default NodeSampler;