UNPKG

three-stdlib

Version:

stand-alone library of threejs examples

1 lines 782 B
{"version":3,"file":"CompressedArrayTexture.cjs","sources":["../../src/_polyfill/CompressedArrayTexture.js"],"sourcesContent":["import { CompressedTexture, ClampToEdgeWrapping } from 'three'\n\nclass CompressedArrayTexture extends CompressedTexture {\n constructor(mipmaps, width, height, depth, format, type) {\n super(mipmaps, width, height, format, type)\n this.isCompressedArrayTexture = true\n this.image.depth = depth\n this.wrapR = ClampToEdgeWrapping\n }\n}\n\nexport { CompressedArrayTexture }\n"],"names":["CompressedTexture","ClampToEdgeWrapping"],"mappings":";;;AAEA,MAAM,+BAA+BA,MAAAA,kBAAkB;AAAA,EACrD,YAAY,SAAS,OAAO,QAAQ,OAAO,QAAQ,MAAM;AACvD,UAAM,SAAS,OAAO,QAAQ,QAAQ,IAAI;AAC1C,SAAK,2BAA2B;AAChC,SAAK,MAAM,QAAQ;AACnB,SAAK,QAAQC,MAAmB;AAAA,EACjC;AACH;;"}