three
Version:
JavaScript 3D library
22 lines (12 loc) • 371 B
JavaScript
import { Texture } from '../../textures/Texture.js';
import { LinearFilter } from '../../constants.js';
class StorageTexture extends Texture {
constructor( width = 1, height = 1 ) {
super();
this.image = { width, height };
this.magFilter = LinearFilter;
this.minFilter = LinearFilter;
this.isStorageTexture = true;
}
}
export default StorageTexture;