Buckets:
ktongue/docker_container / simsite /frontend /node_modules /three-stdlib /_polyfill /Data3DTexture.js
| import { Texture, NearestFilter, ClampToEdgeWrapping } from "three"; | |
| class Data3DTexture extends Texture { | |
| constructor(data = null, width = 1, height = 1, depth = 1) { | |
| super(null); | |
| this.isData3DTexture = true; | |
| this.image = { data, width, height, depth }; | |
| this.magFilter = NearestFilter; | |
| this.minFilter = NearestFilter; | |
| this.wrapR = ClampToEdgeWrapping; | |
| this.generateMipmaps = false; | |
| this.flipY = false; | |
| this.unpackAlignment = 1; | |
| } | |
| } | |
| export { | |
| Data3DTexture | |
| }; | |
| //# sourceMappingURL=Data3DTexture.js.map | |
Xet Storage Details
- Size:
- 543 Bytes
- Xet hash:
- f32ae087b9bbf3fe174aae9a0bc0120c416f5304aa9aa2de965b143e899f23fb
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.