starry / backend /libs /three /textures /FramebufferTexture.js
k-l-lambda's picture
feat: add Python ML services (CPU mode) with model download
2b7aae2
import { Texture } from './Texture.js';
import { NearestFilter } from '../constants.js';
class FramebufferTexture extends Texture {
constructor(width, height, format) {
super({ width, height });
this.format = format;
this.magFilter = NearestFilter;
this.minFilter = NearestFilter;
this.generateMipmaps = false;
this.needsUpdate = true;
}
}
FramebufferTexture.prototype.isFramebufferTexture = true;
export { FramebufferTexture };