Files
td_official/public/sdk/three/jsm/renderers/common/Sampler.js

19 lines
253 B
JavaScript
Raw Normal View History

2025-07-29 11:22:30 +08: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;