@adobe/data-gpu 0.9.69 → 0.9.70

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.
Files changed (59) hide show
  1. package/dist/core/core-plugin.d.ts +4 -4
  2. package/dist/core/core-plugin.js +2 -2
  3. package/dist/core/core-plugin.js.map +1 -1
  4. package/dist/core/frame-time/frame-time-plugin.d.ts +1 -1
  5. package/dist/core/frame-time/frame-time-plugin.js +1 -1
  6. package/dist/core/frame-time/frame-time-plugin.js.map +1 -1
  7. package/dist/graphics/animation/animation-plugin.d.ts +3 -3
  8. package/dist/graphics/camera/camera-plugin.d.ts +21 -21
  9. package/dist/graphics/camera/orbit/orbit-data-plugin.d.ts +51 -51
  10. package/dist/graphics/camera/orbit/orbit-plugin.d.ts +51 -51
  11. package/dist/graphics/camera/orbit/orbit-system-plugin.d.ts +51 -51
  12. package/dist/graphics/graphics-plugin.d.ts +21 -21
  13. package/dist/graphics/graphics-plugin.js +7 -7
  14. package/dist/graphics/graphics-plugin.js.map +1 -1
  15. package/dist/graphics/picking/picking-plugin.d.ts +622 -622
  16. package/dist/graphics/rendering/bone-collider-plugin.d.ts +260 -260
  17. package/dist/graphics/rendering/ibl-render/ibl-render-plugin.d.ts +103 -103
  18. package/dist/graphics/rendering/ibl-render/ibl-render-plugin.js +4 -4
  19. package/dist/graphics/rendering/ibl-render/ibl-render-plugin.js.map +1 -1
  20. package/dist/graphics/rendering/interpolation-plugin.d.ts +133 -133
  21. package/dist/graphics/rendering/jolt-ragdoll-plugin.d.ts +208 -208
  22. package/dist/graphics/rendering/material-gpu/material-gpu-plugin.d.ts +7 -7
  23. package/dist/graphics/rendering/material-gpu/material-gpu-plugin.js +3 -3
  24. package/dist/graphics/rendering/material-gpu/material-gpu-plugin.js.map +1 -1
  25. package/dist/graphics/rendering/model-collider-plugin.d.ts +126 -126
  26. package/dist/graphics/rendering/pbr-render/pbr-render-plugin.d.ts +106 -106
  27. package/dist/graphics/rendering/pbr-render/physics-bridge-plugin.d.ts +261 -261
  28. package/dist/graphics/rendering/ragdoll-trigger-plugin.d.ts +2 -2
  29. package/dist/graphics/rendering/ragdoll-trigger-plugin.js +1 -1
  30. package/dist/graphics/rendering/ragdoll-trigger-plugin.js.map +1 -1
  31. package/dist/graphics/rendering/skinning/skinning-plugin.d.ts +156 -156
  32. package/dist/graphics/scene/model/model-loader-plugin.d.ts +126 -126
  33. package/dist/graphics/scene/model/shape/shape-geometry-plugin.d.ts +125 -125
  34. package/dist/graphics/scene/model/shape/shape-geometry-plugin.js +1 -1
  35. package/dist/graphics/scene/model/shape/shape-geometry-plugin.js.map +1 -1
  36. package/dist/graphics/scene/model/world-bounds-plugin.d.ts +121 -121
  37. package/dist/graphics/scene/scene-plugin.d.ts +36 -36
  38. package/dist/graphics/scene/scene-uniforms/scene-uniforms-plugin.d.ts +34 -34
  39. package/dist/graphics/scene/scene-uniforms/scene-uniforms-plugin.js +1 -1
  40. package/dist/graphics/scene/scene-uniforms/scene-uniforms-plugin.js.map +1 -1
  41. package/dist/physics/physics-clock-plugin.d.ts +9 -9
  42. package/dist/physics/physics-clock-plugin.js +1 -1
  43. package/dist/physics/physics-clock-plugin.js.map +1 -1
  44. package/dist/physics/solvers/jolt-solver-plugin.d.ts +38 -38
  45. package/dist/physics/solvers/jolt-solver-plugin.js +1 -1
  46. package/dist/physics/solvers/jolt-solver-plugin.js.map +1 -1
  47. package/dist/physics/solvers/rapier-solver-plugin.d.ts +37 -37
  48. package/package.json +2 -2
  49. package/src/core/core-plugin.ts +2 -2
  50. package/src/core/frame-time/frame-time-plugin.ts +1 -1
  51. package/src/graphics/graphics-plugin.ts +7 -7
  52. package/src/graphics/rendering/ibl-render/ibl-render-plugin.ts +4 -4
  53. package/src/graphics/rendering/material-gpu/material-gpu-plugin.ts +3 -3
  54. package/src/graphics/rendering/ragdoll-trigger-plugin.ts +1 -1
  55. package/src/graphics/scene/model/shape/shape-geometry-plugin.ts +1 -1
  56. package/src/graphics/scene/scene-uniforms/scene-uniforms-plugin.ts +1 -1
  57. package/src/physics/physics-clock-plugin.ts +1 -1
  58. package/src/physics/solvers/jolt-solver-plugin.ts +1 -1
  59. package/tsconfig.tsbuildinfo +1 -1
@@ -218,6 +218,60 @@ export declare const modelCollider: {
218
218
  readonly default: ColliderMesh | null;
219
219
  };
220
220
  } & {} & {
221
+ readonly _vertexBuffer: {
222
+ readonly default: GPUBuffer | null;
223
+ };
224
+ readonly _skinVertexBuffer: {
225
+ readonly default: GPUBuffer | null;
226
+ };
227
+ readonly _indexBuffer: {
228
+ readonly default: GPUBuffer | null;
229
+ };
230
+ readonly _indexCount: {
231
+ readonly type: "integer";
232
+ readonly minimum: 0;
233
+ readonly maximum: 4294967295;
234
+ readonly default: number;
235
+ };
236
+ readonly _indexFormat: {
237
+ readonly default: GPUIndexFormat;
238
+ };
239
+ readonly _materialBindGroup: {
240
+ readonly default: GPUBindGroup | null;
241
+ };
242
+ readonly _geometry: {
243
+ readonly type: "integer";
244
+ readonly minimum: -2147483648;
245
+ readonly maximum: 2147483647;
246
+ readonly default: number;
247
+ };
248
+ readonly _material: {
249
+ readonly type: "integer";
250
+ readonly minimum: -2147483648;
251
+ readonly maximum: 2147483647;
252
+ readonly default: number;
253
+ };
254
+ readonly _nodeLocalMatrix: {
255
+ readonly type: "array";
256
+ readonly items: {
257
+ readonly type: "number";
258
+ readonly precision: 1;
259
+ readonly default: number;
260
+ };
261
+ readonly minItems: 16;
262
+ readonly maxItems: 16;
263
+ readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
264
+ };
265
+ readonly _skeletonModelRef: {
266
+ readonly type: "integer";
267
+ readonly minimum: -2147483648;
268
+ readonly maximum: 2147483647;
269
+ readonly default: number;
270
+ };
271
+ readonly _skeletonJointMatrixBindGroup: {
272
+ readonly default: GPUBindGroup | null;
273
+ };
274
+ } & {
221
275
  readonly visible: {
222
276
  readonly type: "boolean";
223
277
  readonly const: true;
@@ -358,60 +412,6 @@ export declare const modelCollider: {
358
412
  readonly const: true;
359
413
  readonly default: true;
360
414
  };
361
- } & {
362
- readonly _vertexBuffer: {
363
- readonly default: GPUBuffer | null;
364
- };
365
- readonly _skinVertexBuffer: {
366
- readonly default: GPUBuffer | null;
367
- };
368
- readonly _indexBuffer: {
369
- readonly default: GPUBuffer | null;
370
- };
371
- readonly _indexCount: {
372
- readonly type: "integer";
373
- readonly minimum: 0;
374
- readonly maximum: 4294967295;
375
- readonly default: number;
376
- };
377
- readonly _indexFormat: {
378
- readonly default: GPUIndexFormat;
379
- };
380
- readonly _materialBindGroup: {
381
- readonly default: GPUBindGroup | null;
382
- };
383
- readonly _geometry: {
384
- readonly type: "integer";
385
- readonly minimum: -2147483648;
386
- readonly maximum: 2147483647;
387
- readonly default: number;
388
- };
389
- readonly _material: {
390
- readonly type: "integer";
391
- readonly minimum: -2147483648;
392
- readonly maximum: 2147483647;
393
- readonly default: number;
394
- };
395
- readonly _nodeLocalMatrix: {
396
- readonly type: "array";
397
- readonly items: {
398
- readonly type: "number";
399
- readonly precision: 1;
400
- readonly default: number;
401
- };
402
- readonly minItems: 16;
403
- readonly maxItems: 16;
404
- readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
405
- };
406
- readonly _skeletonModelRef: {
407
- readonly type: "integer";
408
- readonly minimum: -2147483648;
409
- readonly maximum: 2147483647;
410
- readonly default: number;
411
- };
412
- readonly _skeletonJointMatrixBindGroup: {
413
- readonly default: GPUBindGroup | null;
414
- };
415
415
  } & {
416
416
  readonly _bounds: {
417
417
  readonly default: {
@@ -456,7 +456,7 @@ export declare const modelCollider: {
456
456
  } & {} & {
457
457
  readonly frameTime: {
458
458
  readonly default: import("../../core/frame-time/public.js");
459
- readonly transient: true;
459
+ readonly nonPersistent: true;
460
460
  };
461
461
  } & {
462
462
  readonly schedulerState: {
@@ -465,11 +465,11 @@ export declare const modelCollider: {
465
465
  } & {
466
466
  readonly device: {
467
467
  readonly default: GPUDevice | null;
468
- readonly transient: true;
468
+ readonly nonPersistent: true;
469
469
  };
470
470
  readonly commandEncoder: {
471
471
  readonly default: GPUCommandEncoder | null;
472
- readonly transient: true;
472
+ readonly nonPersistent: true;
473
473
  };
474
474
  };
475
475
  readonly archetypes: {
@@ -480,6 +480,9 @@ export declare const modelCollider: {
480
480
  readonly ConvexBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity", "convexPoints"];
481
481
  readonly MeshCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation", "colliderMesh"];
482
482
  } & {} & {
483
+ readonly _VisibleMaterial: readonly ["ephemeral", "_materialBindGroup", "_geometry"];
484
+ readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
485
+ } & {
483
486
  readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
484
487
  } & {} & {
485
488
  readonly Geometry: readonly ["modelUrl"];
@@ -488,10 +491,7 @@ export declare const modelCollider: {
488
491
  readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
489
492
  readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
490
493
  readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
491
- } & {} & {
492
- readonly _VisibleMaterial: readonly ["ephemeral", "_materialBindGroup", "_geometry"];
493
- readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
494
- } & {} & {
494
+ } & {} & {} & {
495
495
  readonly ModelBody: readonly ["geometry", "scale", "visible", "parent", "bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
496
496
  readonly StaticModelCollider: readonly ["geometry", "scale", "visible", "parent", "colliderShape", "halfExtents", "material", "position", "rotation"];
497
497
  };
@@ -595,7 +595,7 @@ export declare const modelCollider: {
595
595
  }>, {
596
596
  readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
597
597
  }, {}>) => void;
598
- } & {} & {} & {} & {
598
+ } & {} & {} & {} & {} & {} & {} & {
599
599
  readonly insertGeometry: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
600
600
  readonly modelUrl: {
601
601
  readonly type: "string";
@@ -820,7 +820,7 @@ export declare const modelCollider: {
820
820
  scale?: readonly [number, number, number];
821
821
  parent?: number;
822
822
  }) => number;
823
- } & {} & {} & {} & {
823
+ } & {} & {
824
824
  readonly insertAnimationClip: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{} & {
825
825
  readonly animationClipTracks: {
826
826
  readonly default: import("../animation/animation-track/public.js")[];
@@ -967,7 +967,7 @@ export declare const modelCollider: {
967
967
  dt: number;
968
968
  observable: boolean;
969
969
  }) => void;
970
- } & {} & {} & {
970
+ } & {} & {
971
971
  readonly insertLoadedPrimitives: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
972
972
  readonly _bounds: {
973
973
  readonly default: {
@@ -998,6 +998,60 @@ export declare const modelCollider: {
998
998
  } | null;
999
999
  };
1000
1000
  } & {} & {
1001
+ readonly _vertexBuffer: {
1002
+ readonly default: GPUBuffer | null;
1003
+ };
1004
+ readonly _skinVertexBuffer: {
1005
+ readonly default: GPUBuffer | null;
1006
+ };
1007
+ readonly _indexBuffer: {
1008
+ readonly default: GPUBuffer | null;
1009
+ };
1010
+ readonly _indexCount: {
1011
+ readonly type: "integer";
1012
+ readonly minimum: 0;
1013
+ readonly maximum: 4294967295;
1014
+ readonly default: number;
1015
+ };
1016
+ readonly _indexFormat: {
1017
+ readonly default: GPUIndexFormat;
1018
+ };
1019
+ readonly _materialBindGroup: {
1020
+ readonly default: GPUBindGroup | null;
1021
+ };
1022
+ readonly _geometry: {
1023
+ readonly type: "integer";
1024
+ readonly minimum: -2147483648;
1025
+ readonly maximum: 2147483647;
1026
+ readonly default: number;
1027
+ };
1028
+ readonly _material: {
1029
+ readonly type: "integer";
1030
+ readonly minimum: -2147483648;
1031
+ readonly maximum: 2147483647;
1032
+ readonly default: number;
1033
+ };
1034
+ readonly _nodeLocalMatrix: {
1035
+ readonly type: "array";
1036
+ readonly items: {
1037
+ readonly type: "number";
1038
+ readonly precision: 1;
1039
+ readonly default: number;
1040
+ };
1041
+ readonly minItems: 16;
1042
+ readonly maxItems: 16;
1043
+ readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
1044
+ };
1045
+ readonly _skeletonModelRef: {
1046
+ readonly type: "integer";
1047
+ readonly minimum: -2147483648;
1048
+ readonly maximum: 2147483647;
1049
+ readonly default: number;
1050
+ };
1051
+ readonly _skeletonJointMatrixBindGroup: {
1052
+ readonly default: GPUBindGroup | null;
1053
+ };
1054
+ } & {
1001
1055
  readonly visible: {
1002
1056
  readonly type: "boolean";
1003
1057
  readonly const: true;
@@ -1138,64 +1192,10 @@ export declare const modelCollider: {
1138
1192
  readonly const: true;
1139
1193
  readonly default: true;
1140
1194
  };
1141
- } & {
1142
- readonly _vertexBuffer: {
1143
- readonly default: GPUBuffer | null;
1144
- };
1145
- readonly _skinVertexBuffer: {
1146
- readonly default: GPUBuffer | null;
1147
- };
1148
- readonly _indexBuffer: {
1149
- readonly default: GPUBuffer | null;
1150
- };
1151
- readonly _indexCount: {
1152
- readonly type: "integer";
1153
- readonly minimum: 0;
1154
- readonly maximum: 4294967295;
1155
- readonly default: number;
1156
- };
1157
- readonly _indexFormat: {
1158
- readonly default: GPUIndexFormat;
1159
- };
1160
- readonly _materialBindGroup: {
1161
- readonly default: GPUBindGroup | null;
1162
- };
1163
- readonly _geometry: {
1164
- readonly type: "integer";
1165
- readonly minimum: -2147483648;
1166
- readonly maximum: 2147483647;
1167
- readonly default: number;
1168
- };
1169
- readonly _material: {
1170
- readonly type: "integer";
1171
- readonly minimum: -2147483648;
1172
- readonly maximum: 2147483647;
1173
- readonly default: number;
1174
- };
1175
- readonly _nodeLocalMatrix: {
1176
- readonly type: "array";
1177
- readonly items: {
1178
- readonly type: "number";
1179
- readonly precision: 1;
1180
- readonly default: number;
1181
- };
1182
- readonly minItems: 16;
1183
- readonly maxItems: 16;
1184
- readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
1185
- };
1186
- readonly _skeletonModelRef: {
1187
- readonly type: "integer";
1188
- readonly minimum: -2147483648;
1189
- readonly maximum: 2147483647;
1190
- readonly default: number;
1191
- };
1192
- readonly _skeletonJointMatrixBindGroup: {
1193
- readonly default: GPUBindGroup | null;
1194
- };
1195
1195
  }>, import("@adobe/data/schema").FromSchemas<{} & {
1196
1196
  readonly frameTime: {
1197
1197
  readonly default: import("../../core/frame-time/public.js");
1198
- readonly transient: true;
1198
+ readonly nonPersistent: true;
1199
1199
  };
1200
1200
  } & {
1201
1201
  readonly schedulerState: {
@@ -1204,13 +1204,16 @@ export declare const modelCollider: {
1204
1204
  } & {
1205
1205
  readonly device: {
1206
1206
  readonly default: GPUDevice | null;
1207
- readonly transient: true;
1207
+ readonly nonPersistent: true;
1208
1208
  };
1209
1209
  readonly commandEncoder: {
1210
1210
  readonly default: GPUCommandEncoder | null;
1211
- readonly transient: true;
1211
+ readonly nonPersistent: true;
1212
1212
  };
1213
1213
  }>, {} & {} & {
1214
+ readonly _VisibleMaterial: readonly ["ephemeral", "_materialBindGroup", "_geometry"];
1215
+ readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
1216
+ } & {
1214
1217
  readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
1215
1218
  } & {} & {
1216
1219
  readonly Geometry: readonly ["modelUrl"];
@@ -1219,12 +1222,9 @@ export declare const modelCollider: {
1219
1222
  readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
1220
1223
  readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
1221
1224
  readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
1222
- } & {} & {
1223
- readonly _VisibleMaterial: readonly ["ephemeral", "_materialBindGroup", "_geometry"];
1224
- readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
1225
- }, {} & {} & {} & {} & {} & {} & {} & {} & {}>, args: import("../scene/model/model-loader-plugin.js").LoadedArgs) => void;
1225
+ } & {}, {} & {} & {} & {} & {} & {} & {} & {} & {}>, args: import("../scene/model/model-loader-plugin.js").LoadedArgs) => void;
1226
1226
  } & {};
1227
- readonly systems: import("@adobe/data/ecs").SystemDeclarations<"transformCreateWorldMatrix" | "transformSystem" | "update" | "_frameTime" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "animationSampleSystem" | "modelLoadSystem" | "generateModelColliders">;
1227
+ readonly systems: import("@adobe/data/ecs").SystemDeclarations<"_frameTime" | "update" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "transformCreateWorldMatrix" | "transformSystem" | "animationSampleSystem" | "modelLoadSystem" | "generateModelColliders">;
1228
1228
  readonly actions: {};
1229
1229
  readonly services: {};
1230
1230
  readonly computed: {};