最新代码
This commit is contained in:
18
public/sdk/three/jsm/renderers/common/Sampler.js
Normal file
18
public/sdk/three/jsm/renderers/common/Sampler.js
Normal file
@ -0,0 +1,18 @@
|
||||
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;
|
Reference in New Issue
Block a user