@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
@@ -1,97 +1,5 @@
1
1
  export declare const interpolation: {
2
- readonly components: {
3
- readonly visible: {
4
- readonly type: "boolean";
5
- readonly const: true;
6
- readonly default: true;
7
- };
8
- readonly position: {
9
- readonly type: "array";
10
- readonly items: {
11
- readonly type: "number";
12
- readonly precision: 1;
13
- readonly default: number;
14
- };
15
- readonly minItems: 3;
16
- readonly maxItems: 3;
17
- readonly default: readonly [0, 0, 0];
18
- };
19
- readonly rotation: {
20
- readonly type: "array";
21
- readonly items: {
22
- readonly type: "number";
23
- readonly precision: 1;
24
- readonly default: number;
25
- };
26
- readonly minItems: 4;
27
- readonly maxItems: 4;
28
- readonly default: readonly [0, 0, 0, 1];
29
- readonly interpolators: {
30
- readonly linear: (q1: any, q2: any, t: number) => any;
31
- };
32
- };
33
- readonly scale: {
34
- readonly type: "array";
35
- readonly items: {
36
- readonly type: "number";
37
- readonly precision: 1;
38
- readonly default: number;
39
- };
40
- readonly minItems: 3;
41
- readonly maxItems: 3;
42
- readonly default: readonly [0, 0, 0];
43
- };
44
- readonly parent: {
45
- readonly type: "integer";
46
- readonly minimum: -2147483648;
47
- readonly maximum: 2147483647;
48
- readonly default: number;
49
- };
50
- readonly _worldMatrix: {
51
- readonly type: "array";
52
- readonly items: {
53
- readonly type: "number";
54
- readonly precision: 1;
55
- readonly default: number;
56
- };
57
- readonly minItems: 16;
58
- readonly maxItems: 16;
59
- readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
60
- };
61
- readonly _worldBounds: {
62
- readonly type: "object";
63
- readonly properties: {
64
- readonly min: {
65
- readonly type: "array";
66
- readonly items: {
67
- readonly type: "number";
68
- readonly precision: 1;
69
- readonly default: number;
70
- };
71
- readonly minItems: 3;
72
- readonly maxItems: 3;
73
- readonly default: readonly [0, 0, 0];
74
- };
75
- readonly max: {
76
- readonly type: "array";
77
- readonly items: {
78
- readonly type: "number";
79
- readonly precision: 1;
80
- readonly default: number;
81
- };
82
- readonly minItems: 3;
83
- readonly maxItems: 3;
84
- readonly default: readonly [0, 0, 0];
85
- };
86
- };
87
- readonly required: readonly ["min", "max"];
88
- readonly additionalProperties: false;
89
- readonly default: {
90
- readonly min: readonly [0, 0, 0];
91
- readonly max: readonly [0, 0, 0];
92
- };
93
- };
94
- } & {} & {
2
+ readonly components: {} & {
95
3
  readonly material: {
96
4
  readonly type: "integer";
97
5
  readonly minimum: -2147483648;
@@ -286,6 +194,98 @@ export declare const interpolation: {
286
194
  readonly colliderMesh: {
287
195
  readonly default: import("../../physics/body/collider-mesh.js").ColliderMesh | null;
288
196
  };
197
+ } & {
198
+ readonly visible: {
199
+ readonly type: "boolean";
200
+ readonly const: true;
201
+ readonly default: true;
202
+ };
203
+ readonly position: {
204
+ readonly type: "array";
205
+ readonly items: {
206
+ readonly type: "number";
207
+ readonly precision: 1;
208
+ readonly default: number;
209
+ };
210
+ readonly minItems: 3;
211
+ readonly maxItems: 3;
212
+ readonly default: readonly [0, 0, 0];
213
+ };
214
+ readonly rotation: {
215
+ readonly type: "array";
216
+ readonly items: {
217
+ readonly type: "number";
218
+ readonly precision: 1;
219
+ readonly default: number;
220
+ };
221
+ readonly minItems: 4;
222
+ readonly maxItems: 4;
223
+ readonly default: readonly [0, 0, 0, 1];
224
+ readonly interpolators: {
225
+ readonly linear: (q1: any, q2: any, t: number) => any;
226
+ };
227
+ };
228
+ readonly scale: {
229
+ readonly type: "array";
230
+ readonly items: {
231
+ readonly type: "number";
232
+ readonly precision: 1;
233
+ readonly default: number;
234
+ };
235
+ readonly minItems: 3;
236
+ readonly maxItems: 3;
237
+ readonly default: readonly [0, 0, 0];
238
+ };
239
+ readonly parent: {
240
+ readonly type: "integer";
241
+ readonly minimum: -2147483648;
242
+ readonly maximum: 2147483647;
243
+ readonly default: number;
244
+ };
245
+ readonly _worldMatrix: {
246
+ readonly type: "array";
247
+ readonly items: {
248
+ readonly type: "number";
249
+ readonly precision: 1;
250
+ readonly default: number;
251
+ };
252
+ readonly minItems: 16;
253
+ readonly maxItems: 16;
254
+ readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
255
+ };
256
+ readonly _worldBounds: {
257
+ readonly type: "object";
258
+ readonly properties: {
259
+ readonly min: {
260
+ readonly type: "array";
261
+ readonly items: {
262
+ readonly type: "number";
263
+ readonly precision: 1;
264
+ readonly default: number;
265
+ };
266
+ readonly minItems: 3;
267
+ readonly maxItems: 3;
268
+ readonly default: readonly [0, 0, 0];
269
+ };
270
+ readonly max: {
271
+ readonly type: "array";
272
+ readonly items: {
273
+ readonly type: "number";
274
+ readonly precision: 1;
275
+ readonly default: number;
276
+ };
277
+ readonly minItems: 3;
278
+ readonly maxItems: 3;
279
+ readonly default: readonly [0, 0, 0];
280
+ };
281
+ };
282
+ readonly required: readonly ["min", "max"];
283
+ readonly additionalProperties: false;
284
+ readonly default: {
285
+ readonly min: readonly [0, 0, 0];
286
+ readonly max: readonly [0, 0, 0];
287
+ };
288
+ };
289
289
  } & {
290
290
  readonly _renderPosition: {
291
291
  readonly type: "array";
@@ -313,14 +313,10 @@ export declare const interpolation: {
313
313
  };
314
314
  };
315
315
  };
316
- readonly resources: {} & {
317
- readonly materials: {
318
- readonly default: Record<string, number>;
319
- };
320
- } & {
316
+ readonly resources: {
321
317
  readonly frameTime: {
322
318
  readonly default: import("../../core/frame-time/public.js");
323
- readonly transient: true;
319
+ readonly nonPersistent: true;
324
320
  };
325
321
  } & {
326
322
  readonly schedulerState: {
@@ -329,29 +325,58 @@ export declare const interpolation: {
329
325
  } & {
330
326
  readonly device: {
331
327
  readonly default: GPUDevice | null;
332
- readonly transient: true;
328
+ readonly nonPersistent: true;
333
329
  };
334
330
  readonly commandEncoder: {
335
331
  readonly default: GPUCommandEncoder | null;
336
- readonly transient: true;
332
+ readonly nonPersistent: true;
337
333
  };
338
334
  } & {
339
335
  readonly physicsClock: {
340
336
  readonly default: import("../../physics/physics-clock-plugin.js").PhysicsClock;
341
- readonly transient: true;
337
+ readonly nonPersistent: true;
338
+ };
339
+ } & {} & {
340
+ readonly materials: {
341
+ readonly default: Record<string, number>;
342
342
  };
343
343
  };
344
- readonly archetypes: {
345
- readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
346
- } & {} & {} & {
344
+ readonly archetypes: {} & {
347
345
  readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
348
346
  } & {
349
347
  readonly RigidBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
350
348
  readonly StaticCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation"];
351
349
  readonly ConvexBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity", "convexPoints"];
352
350
  readonly MeshCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation", "colliderMesh"];
353
- } & {} & {};
351
+ } & {
352
+ readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
353
+ } & {} & {} & {};
354
354
  readonly transactions: {} & {} & {
355
+ readonly setFixedTimestep: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
356
+ readonly physicsClock: {
357
+ readonly default: import("../../physics/physics-clock-plugin.js").PhysicsClock;
358
+ readonly nonPersistent: true;
359
+ };
360
+ } & {
361
+ readonly frameTime: {
362
+ readonly default: import("../../core/frame-time/public.js");
363
+ readonly nonPersistent: true;
364
+ };
365
+ } & {
366
+ readonly schedulerState: {
367
+ readonly default: import("@adobe/data/ecs").SchedulerState;
368
+ };
369
+ } & {
370
+ readonly device: {
371
+ readonly default: GPUDevice | null;
372
+ readonly nonPersistent: true;
373
+ };
374
+ readonly commandEncoder: {
375
+ readonly default: GPUCommandEncoder | null;
376
+ readonly nonPersistent: true;
377
+ };
378
+ }>, {}, {}>, hz: number) => void;
379
+ } & {
355
380
  readonly seedStandardMaterials: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
356
381
  readonly material: {
357
382
  readonly type: "integer";
@@ -451,33 +476,8 @@ export declare const interpolation: {
451
476
  }>, {
452
477
  readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
453
478
  }, {}>) => void;
454
- } & {} & {} & {} & {
455
- readonly setFixedTimestep: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
456
- readonly physicsClock: {
457
- readonly default: import("../../physics/physics-clock-plugin.js").PhysicsClock;
458
- readonly transient: true;
459
- };
460
- } & {
461
- readonly frameTime: {
462
- readonly default: import("../../core/frame-time/public.js");
463
- readonly transient: true;
464
- };
465
- } & {
466
- readonly schedulerState: {
467
- readonly default: import("@adobe/data/ecs").SchedulerState;
468
- };
469
- } & {
470
- readonly device: {
471
- readonly default: GPUDevice | null;
472
- readonly transient: true;
473
- };
474
- readonly commandEncoder: {
475
- readonly default: GPUCommandEncoder | null;
476
- readonly transient: true;
477
- };
478
- }>, {}, {}>, hz: number) => void;
479
- } & {} & {};
480
- readonly systems: import("@adobe/data/ecs").SystemDeclarations<"transformCreateWorldMatrix" | "transformSystem" | "update" | "_frameTime" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "advancePhysicsClock" | "interpolateDisplayPose" | "interpolateWorldMatrix">;
479
+ } & {} & {} & {} & {} & {};
480
+ readonly systems: import("@adobe/data/ecs").SystemDeclarations<"_frameTime" | "update" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "advancePhysicsClock" | "transformCreateWorldMatrix" | "transformSystem" | "interpolateDisplayPose" | "interpolateWorldMatrix">;
481
481
  readonly actions: {};
482
482
  readonly services: {};
483
483
  readonly computed: {};