NodeSampler.js 240 B

123456789101112131415
  1. import Sampler from '../Sampler.js';
  2. class NodeSampler extends Sampler {
  3. constructor( name, textureNode ) {
  4. super( name, textureNode ? textureNode.value : null );
  5. this.textureNode = textureNode;
  6. }
  7. }
  8. export default NodeSampler;