node-ejs-renderer/node_modules/three/examples/jsm/renderers/common/Sampler.js

19 lines
253 B
JavaScript
Raw Normal View History

2024-06-09 13:55:01 -04:00
import Binding from './Binding.js';
class Sampler extends Binding {
constructor( name, texture ) {
super( name );
this.texture = texture;
this.version = texture ? texture.version : 0;
this.isSampler = true;
}
}
export default Sampler;