You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
253 B
19 lines
253 B
6 months ago
|
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;
|