Download node_modules/three/src/textures/FramebufferTexture.js from SimWorld-AI/industrial-harbor-viewer: direct link, hf CLI and curl.
- Browser
- Download file 403 Bytes
-
https://huggingface.co/spaces/SimWorld-AI/industrial-harbor-viewer/resolve/main/node_modules/three/src/textures/FramebufferTexture.js
- Command line
-
hf download hf://spaces/SimWorld-AI/industrial-harbor-viewer/node_modules/three/src/textures/FramebufferTexture.js
-
curl -L -o FramebufferTexture.js https://huggingface.co/spaces/SimWorld-AI/industrial-harbor-viewer/resolve/main/node_modules/three/src/textures/FramebufferTexture.js
403 Bytes
| import { Texture } from './Texture.js'; | |
| import { NearestFilter } from '../constants.js'; | |
| class FramebufferTexture extends Texture { | |
| constructor( width, height ) { | |
| super( { width, height } ); | |
| this.isFramebufferTexture = true; | |
| this.magFilter = NearestFilter; | |
| this.minFilter = NearestFilter; | |
| this.generateMipmaps = false; | |
| this.needsUpdate = true; | |
| } | |
| } | |
| export { FramebufferTexture }; | |