@luma.gl/core 8.5.7 → 8.6.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2 @@
1
+ declare const moduleExports: any;
2
+ //# sourceMappingURL=bundle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundle.d.ts","sourceRoot":"","sources":["../src/bundle.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,aAAa,KAAqB,CAAC"}
package/dist/bundle.js ADDED
@@ -0,0 +1,5 @@
1
+ const moduleExports = require('./index');
2
+
3
+ globalThis.luma = globalThis.luma || {};
4
+ module.exports = Object.assign(globalThis.luma, moduleExports);
5
+ //# sourceMappingURL=bundle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/bundle.ts"],"names":["moduleExports","require","globalThis","luma","module","exports","Object","assign"],"mappings":"AACA,MAAMA,aAAa,GAAGC,OAAO,CAAC,SAAD,CAA7B;;AACAC,UAAU,CAACC,IAAX,GAAkBD,UAAU,CAACC,IAAX,IAAmB,EAArC;AACAC,MAAM,CAACC,OAAP,GAAiBC,MAAM,CAACC,MAAP,CAAcL,UAAU,CAACC,IAAzB,EAA+BH,aAA/B,CAAjB","sourcesContent":["// @ts-nocheck\nconst moduleExports = require('./index');\nglobalThis.luma = globalThis.luma || {};\nmodule.exports = Object.assign(globalThis.luma, moduleExports);\n"],"file":"bundle.js"}
@@ -0,0 +1,6 @@
1
+ export { createGLContext, instrumentGLContext, isWebGL, isWebGL2, getParameters, setParameters, withParameters, resetParameters, cssToDeviceRatio, cssToDevicePixels } from '@luma.gl/gltools';
2
+ export { lumaStats, FEATURES, hasFeature, hasFeatures, Buffer, Program, Framebuffer, Renderbuffer, Texture2D, TextureCube, clear, readPixelsToArray, readPixelsToBuffer, cloneTextureFrom, copyToTexture, Texture3D, TransformFeedback } from '@luma.gl/webgl';
3
+ export { AnimationLoop, Model, Transform, ProgramManager, Timeline, Geometry, ClipSpace, ConeGeometry, CubeGeometry, CylinderGeometry, IcoSphereGeometry, PlaneGeometry, SphereGeometry, TruncatedConeGeometry } from '@luma.gl/engine';
4
+ export { normalizeShaderModule, fp32, fp64, project, dirlight, picking, gouraudLighting, phongLighting, pbr } from '@luma.gl/shadertools';
5
+ export { log, assert, uid } from '@luma.gl/webgl';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,OAAO,EACP,QAAQ,EACR,aAAa,EACb,aAAa,EACb,cAAc,EACd,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EACL,SAAS,EACT,QAAQ,EACR,UAAU,EACV,WAAW,EACX,MAAM,EACN,OAAO,EACP,WAAW,EACX,YAAY,EACZ,SAAS,EACT,WAAW,EACX,KAAK,EAEL,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EAEb,SAAS,EACT,iBAAiB,EAClB,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EACL,aAAa,EACb,KAAK,EACL,SAAS,EACT,cAAc,EACd,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,YAAY,EACZ,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,EACjB,aAAa,EACb,cAAc,EACd,qBAAqB,EACtB,MAAM,iBAAiB,CAAC;AAKzB,OAAO,EAEL,qBAAqB,EAErB,IAAI,EACJ,IAAI,EACJ,OAAO,EACP,QAAQ,EACR,OAAO,EACP,eAAe,EACf,aAAa,EACb,GAAG,EACJ,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAC,MAAM,gBAAgB,CAAC"}
File without changes
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/index.ts"],"names":["createGLContext","instrumentGLContext","isWebGL","isWebGL2","getParameters","setParameters","withParameters","resetParameters","cssToDeviceRatio","cssToDevicePixels","lumaStats","FEATURES","hasFeature","hasFeatures","Buffer","Program","Framebuffer","Renderbuffer","Texture2D","TextureCube","clear","readPixelsToArray","readPixelsToBuffer","cloneTextureFrom","copyToTexture","Texture3D","TransformFeedback","AnimationLoop","Model","Transform","ProgramManager","Timeline","Geometry","ClipSpace","ConeGeometry","CubeGeometry","CylinderGeometry","IcoSphereGeometry","PlaneGeometry","SphereGeometry","TruncatedConeGeometry","normalizeShaderModule","fp32","fp64","project","dirlight","picking","gouraudLighting","phongLighting","pbr","log","assert","uid"],"mappings":"AAGA,SACEA,eADF,EAEEC,mBAFF,EAGEC,OAHF,EAIEC,QAJF,EAKEC,aALF,EAMEC,aANF,EAOEC,cAPF,EAQEC,eARF,EASEC,gBATF,EAUEC,iBAVF,QAWO,kBAXP;AAcA,SACEC,SADF,EAEEC,QAFF,EAGEC,UAHF,EAIEC,WAJF,EAKEC,MALF,EAMEC,OANF,EAOEC,WAPF,EAQEC,YARF,EASEC,SATF,EAUEC,WAVF,EAWEC,KAXF,EAaEC,iBAbF,EAcEC,kBAdF,EAeEC,gBAfF,EAgBEC,aAhBF,EAkBEC,SAlBF,EAmBEC,iBAnBF,QAoBO,gBApBP;AAuBA,SACEC,aADF,EAEEC,KAFF,EAGEC,SAHF,EAIEC,cAJF,EAKEC,QALF,EAMEC,QANF,EAOEC,SAPF,EAQEC,YARF,EASEC,YATF,EAUEC,gBAVF,EAWEC,iBAXF,EAYEC,aAZF,EAaEC,cAbF,EAcEC,qBAdF,QAeO,iBAfP;AAoBA,SAEEC,qBAFF,EAIEC,IAJF,EAKEC,IALF,EAMEC,OANF,EAOEC,QAPF,EAQEC,OARF,EASEC,eATF,EAUEC,aAVF,EAWEC,GAXF,QAYO,sBAZP;AAeA,SAAQC,GAAR,EAAaC,MAAb,EAAqBC,GAArB,QAA+B,gBAA/B","sourcesContent":["// CORE MODULE EXPORTS FOR LUMA.GL\n\n// GLTOOLS\nexport {\n createGLContext,\n instrumentGLContext,\n isWebGL,\n isWebGL2,\n getParameters,\n setParameters,\n withParameters,\n resetParameters,\n cssToDeviceRatio,\n cssToDevicePixels\n} from '@luma.gl/gltools';\n\n// WEBGL\nexport {\n lumaStats,\n FEATURES,\n hasFeature,\n hasFeatures,\n Buffer,\n Program,\n Framebuffer,\n Renderbuffer,\n Texture2D,\n TextureCube,\n clear,\n // Copy and Blit\n readPixelsToArray,\n readPixelsToBuffer,\n cloneTextureFrom,\n copyToTexture,\n // WebGL2 classes & Extensions\n Texture3D,\n TransformFeedback\n} from '@luma.gl/webgl';\n\n// ENGINE\nexport {\n AnimationLoop,\n Model,\n Transform,\n ProgramManager,\n Timeline,\n Geometry,\n ClipSpace,\n ConeGeometry,\n CubeGeometry,\n CylinderGeometry,\n IcoSphereGeometry,\n PlaneGeometry,\n SphereGeometry,\n TruncatedConeGeometry\n} from '@luma.gl/engine';\n\n// TODO/CLEAN UP FOR V7\n// We should have a minimal set of forwarding exports from shadertools (ideally none)\n// Analyze risk of breaking apps\nexport {\n // HELPERS\n normalizeShaderModule,\n // SHADER MODULES\n fp32,\n fp64,\n project,\n dirlight,\n picking,\n gouraudLighting,\n phongLighting,\n pbr\n} from '@luma.gl/shadertools';\n\n// UTILS: undocumented API for other luma.gl modules\nexport {log, assert, uid} from '@luma.gl/webgl';\n"],"file":"index.js"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luma.gl/core",
3
- "version": "8.5.7",
3
+ "version": "8.6.0-alpha.1",
4
4
  "description": "WebGL2 Components for High Performance Rendering and Computation",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -16,8 +16,9 @@
16
16
  "animation",
17
17
  "3d"
18
18
  ],
19
- "main": "dist/es5/index.js",
20
- "module": "dist/esm/index.js",
19
+ "types": "src/index.ts",
20
+ "main": "dist/index.js",
21
+ "module": "dist/index.js",
21
22
  "files": [
22
23
  "src",
23
24
  "dist",
@@ -25,16 +26,16 @@
25
26
  ],
26
27
  "sideEffects": false,
27
28
  "scripts": {
28
- "pre-build": "npm run build-bundle && npm run build-bundle -- --env.dev",
29
+ "pre-build": "npm run build-bundle",
29
30
  "build-bundle": "webpack --display=minimal --config ../../scripts/bundle.config.js"
30
31
  },
31
32
  "dependencies": {
32
33
  "@babel/runtime": "^7.0.0",
33
- "@luma.gl/constants": "8.5.7",
34
- "@luma.gl/engine": "8.5.7",
35
- "@luma.gl/gltools": "8.5.7",
36
- "@luma.gl/shadertools": "8.5.7",
37
- "@luma.gl/webgl": "8.5.7"
34
+ "@luma.gl/constants": "8.6.0-alpha.1",
35
+ "@luma.gl/engine": "8.6.0-alpha.1",
36
+ "@luma.gl/gltools": "8.6.0-alpha.1",
37
+ "@luma.gl/shadertools": "8.6.0-alpha.1",
38
+ "@luma.gl/webgl": "8.6.0-alpha.1"
38
39
  },
39
- "gitHead": "c97d3ae06b77c35fd3a40ca980028c31d09c149e"
40
+ "gitHead": "e3895ce8a6dd376394c6662bb8cf0e1ad1f233f3"
40
41
  }
package/src/bundle.ts ADDED
@@ -0,0 +1,4 @@
1
+ // @ts-nocheck
2
+ const moduleExports = require('./index');
3
+ globalThis.luma = globalThis.luma || {};
4
+ module.exports = Object.assign(globalThis.luma, moduleExports);
File without changes