UNPKG

three

Version:

JavaScript 3D library

19 lines (10 loc) 253 B
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;