preact
This commit is contained in:
parent
6acf267d48
commit
b7614eb3f8
4794 changed files with 1280808 additions and 1546 deletions
18
frontend/node_modules/three/examples/jsm/renderers/common/Sampler.js
generated
vendored
Normal file
18
frontend/node_modules/three/examples/jsm/renderers/common/Sampler.js
generated
vendored
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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue