@adobe/data-gpu 0.9.69 → 0.9.72

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
@@ -14,7 +14,7 @@ import { type Entity } from "@adobe/data/ecs";
14
14
  * (primitives are flat — no hierarchy), so it's independent of `transform`.
15
15
  */
16
16
  export declare const pbrRender: {
17
- readonly components: {
17
+ readonly components: {} & {
18
18
  readonly visible: {
19
19
  readonly type: "boolean";
20
20
  readonly const: true;
@@ -106,7 +106,7 @@ export declare const pbrRender: {
106
106
  readonly max: readonly [0, 0, 0];
107
107
  };
108
108
  };
109
- } & {} & {
109
+ } & {
110
110
  readonly _vertexBuffer: {
111
111
  readonly default: GPUBuffer | null;
112
112
  };
@@ -365,13 +365,9 @@ export declare const pbrRender: {
365
365
  };
366
366
  };
367
367
  readonly resources: {} & {
368
- readonly light: {
369
- readonly default: import("../../scene/light/public.js");
370
- };
371
- } & {
372
368
  readonly frameTime: {
373
369
  readonly default: import("../../../core/frame-time/public.js");
374
- readonly transient: true;
370
+ readonly nonPersistent: true;
375
371
  };
376
372
  } & {
377
373
  readonly schedulerState: {
@@ -380,66 +376,70 @@ export declare const pbrRender: {
380
376
  } & {
381
377
  readonly device: {
382
378
  readonly default: GPUDevice | null;
383
- readonly transient: true;
379
+ readonly nonPersistent: true;
384
380
  };
385
381
  readonly commandEncoder: {
386
382
  readonly default: GPUCommandEncoder | null;
387
- readonly transient: true;
383
+ readonly nonPersistent: true;
388
384
  };
389
385
  } & {
390
386
  readonly renderPassEncoder: {
391
387
  readonly default: GPURenderPassEncoder | null;
392
- readonly transient: true;
388
+ readonly nonPersistent: true;
393
389
  };
394
390
  readonly depthTexture: {
395
391
  readonly default: GPUTexture | null;
396
- readonly transient: true;
392
+ readonly nonPersistent: true;
397
393
  };
398
394
  readonly clearColor: {
399
395
  readonly default: readonly [number, number, number, number];
400
- readonly transient: true;
396
+ readonly nonPersistent: true;
401
397
  };
402
398
  readonly canvas: {
403
399
  readonly default: HTMLCanvasElement | null;
404
- readonly transient: true;
400
+ readonly nonPersistent: true;
405
401
  };
406
402
  readonly canvasContext: {
407
403
  readonly default: GPUCanvasContext | null;
408
- readonly transient: true;
404
+ readonly nonPersistent: true;
409
405
  };
410
406
  readonly canvasFormat: {
411
407
  readonly default: GPUTextureFormat;
412
- readonly transient: true;
408
+ readonly nonPersistent: true;
413
409
  };
414
410
  readonly depthFormat: {
415
411
  readonly default: GPUTextureFormat;
416
- readonly transient: true;
412
+ readonly nonPersistent: true;
417
413
  };
418
414
  } & {
419
415
  readonly camera: {
420
416
  readonly default: import("../../camera/public.js");
421
417
  };
418
+ } & {
419
+ readonly light: {
420
+ readonly default: import("../../scene/light/public.js");
421
+ };
422
422
  } & {
423
423
  readonly _sceneUniformsBuffer: {
424
424
  readonly default: GPUBuffer | null;
425
- readonly transient: true;
425
+ readonly nonPersistent: true;
426
426
  };
427
427
  } & {
428
428
  readonly _iblEnvironment: {
429
429
  readonly default: GPUTexture | null;
430
- readonly transient: true;
430
+ readonly nonPersistent: true;
431
431
  };
432
432
  readonly _iblIrradiance: {
433
433
  readonly default: GPUTexture | null;
434
- readonly transient: true;
434
+ readonly nonPersistent: true;
435
435
  };
436
436
  readonly _iblPrefiltered: {
437
437
  readonly default: GPUTexture | null;
438
- readonly transient: true;
438
+ readonly nonPersistent: true;
439
439
  };
440
440
  readonly _iblBrdfLut: {
441
441
  readonly default: GPUTexture | null;
442
- readonly transient: true;
442
+ readonly nonPersistent: true;
443
443
  };
444
444
  } & {
445
445
  readonly materials: {
@@ -448,20 +448,20 @@ export declare const pbrRender: {
448
448
  } & {
449
449
  readonly _materialArrays: {
450
450
  readonly default: import("../material-gpu/material-arrays.js").MaterialArrays | null;
451
- readonly transient: true;
451
+ readonly nonPersistent: true;
452
452
  };
453
453
  readonly _materialPalette: {
454
454
  readonly default: GPUBuffer | null;
455
- readonly transient: true;
455
+ readonly nonPersistent: true;
456
456
  };
457
457
  readonly _materialBindGroup: {
458
458
  readonly default: GPUBindGroup | null;
459
- readonly transient: true;
459
+ readonly nonPersistent: true;
460
460
  };
461
461
  };
462
- readonly archetypes: {
462
+ readonly archetypes: {} & {
463
463
  readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
464
- } & {} & {} & {
464
+ } & {} & {
465
465
  readonly _VisibleMaterial: readonly ["ephemeral", "_materialBindGroup", "_geometry"];
466
466
  readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
467
467
  } & {
@@ -474,46 +474,40 @@ export declare const pbrRender: {
474
474
  } & {} & {} & {} & {
475
475
  readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
476
476
  } & {} & {} & {};
477
- readonly transactions: {} & {} & {
478
- readonly setLight: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
479
- readonly light: {
480
- readonly default: import("../../scene/light/public.js");
481
- };
482
- }>, {}, {}>, args: Partial<import("../../scene/light/public.js")>) => void;
483
- } & {} & {} & {
477
+ readonly transactions: {} & {} & {} & {} & {} & {
484
478
  readonly setCanvas: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
485
479
  readonly renderPassEncoder: {
486
480
  readonly default: GPURenderPassEncoder | null;
487
- readonly transient: true;
481
+ readonly nonPersistent: true;
488
482
  };
489
483
  readonly depthTexture: {
490
484
  readonly default: GPUTexture | null;
491
- readonly transient: true;
485
+ readonly nonPersistent: true;
492
486
  };
493
487
  readonly clearColor: {
494
488
  readonly default: readonly [number, number, number, number];
495
- readonly transient: true;
489
+ readonly nonPersistent: true;
496
490
  };
497
491
  readonly canvas: {
498
492
  readonly default: HTMLCanvasElement | null;
499
- readonly transient: true;
493
+ readonly nonPersistent: true;
500
494
  };
501
495
  readonly canvasContext: {
502
496
  readonly default: GPUCanvasContext | null;
503
- readonly transient: true;
497
+ readonly nonPersistent: true;
504
498
  };
505
499
  readonly canvasFormat: {
506
500
  readonly default: GPUTextureFormat;
507
- readonly transient: true;
501
+ readonly nonPersistent: true;
508
502
  };
509
503
  readonly depthFormat: {
510
504
  readonly default: GPUTextureFormat;
511
- readonly transient: true;
505
+ readonly nonPersistent: true;
512
506
  };
513
507
  } & {
514
508
  readonly frameTime: {
515
509
  readonly default: import("../../../core/frame-time/public.js");
516
- readonly transient: true;
510
+ readonly nonPersistent: true;
517
511
  };
518
512
  } & {
519
513
  readonly schedulerState: {
@@ -522,14 +516,20 @@ export declare const pbrRender: {
522
516
  } & {
523
517
  readonly device: {
524
518
  readonly default: GPUDevice | null;
525
- readonly transient: true;
519
+ readonly nonPersistent: true;
526
520
  };
527
521
  readonly commandEncoder: {
528
522
  readonly default: GPUCommandEncoder | null;
529
- readonly transient: true;
523
+ readonly nonPersistent: true;
530
524
  };
531
525
  }>, {}, {}>, canvas: HTMLCanvasElement | null) => void;
532
- } & {} & {} & {} & {
526
+ } & {} & {
527
+ readonly setLight: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
528
+ readonly light: {
529
+ readonly default: import("../../scene/light/public.js");
530
+ };
531
+ }>, {}, {}>, args: Partial<import("../../scene/light/public.js")>) => void;
532
+ } & {} & {
533
533
  readonly insertGeometry: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
534
534
  readonly modelUrl: {
535
535
  readonly type: "string";
@@ -932,6 +932,60 @@ export declare const pbrRender: {
932
932
  } | null;
933
933
  };
934
934
  } & {} & {
935
+ readonly _vertexBuffer: {
936
+ readonly default: GPUBuffer | null;
937
+ };
938
+ readonly _skinVertexBuffer: {
939
+ readonly default: GPUBuffer | null;
940
+ };
941
+ readonly _indexBuffer: {
942
+ readonly default: GPUBuffer | null;
943
+ };
944
+ readonly _indexCount: {
945
+ readonly type: "integer";
946
+ readonly minimum: 0;
947
+ readonly maximum: 4294967295;
948
+ readonly default: number;
949
+ };
950
+ readonly _indexFormat: {
951
+ readonly default: GPUIndexFormat;
952
+ };
953
+ readonly _materialBindGroup: {
954
+ readonly default: GPUBindGroup | null;
955
+ };
956
+ readonly _geometry: {
957
+ readonly type: "integer";
958
+ readonly minimum: -2147483648;
959
+ readonly maximum: 2147483647;
960
+ readonly default: number;
961
+ };
962
+ readonly _material: {
963
+ readonly type: "integer";
964
+ readonly minimum: -2147483648;
965
+ readonly maximum: 2147483647;
966
+ readonly default: number;
967
+ };
968
+ readonly _nodeLocalMatrix: {
969
+ readonly type: "array";
970
+ readonly items: {
971
+ readonly type: "number";
972
+ readonly precision: 1;
973
+ readonly default: number;
974
+ };
975
+ readonly minItems: 16;
976
+ readonly maxItems: 16;
977
+ readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
978
+ };
979
+ readonly _skeletonModelRef: {
980
+ readonly type: "integer";
981
+ readonly minimum: -2147483648;
982
+ readonly maximum: 2147483647;
983
+ readonly default: number;
984
+ };
985
+ readonly _skeletonJointMatrixBindGroup: {
986
+ readonly default: GPUBindGroup | null;
987
+ };
988
+ } & {
935
989
  readonly visible: {
936
990
  readonly type: "boolean";
937
991
  readonly const: true;
@@ -1072,64 +1126,10 @@ export declare const pbrRender: {
1072
1126
  readonly const: true;
1073
1127
  readonly default: true;
1074
1128
  };
1075
- } & {
1076
- readonly _vertexBuffer: {
1077
- readonly default: GPUBuffer | null;
1078
- };
1079
- readonly _skinVertexBuffer: {
1080
- readonly default: GPUBuffer | null;
1081
- };
1082
- readonly _indexBuffer: {
1083
- readonly default: GPUBuffer | null;
1084
- };
1085
- readonly _indexCount: {
1086
- readonly type: "integer";
1087
- readonly minimum: 0;
1088
- readonly maximum: 4294967295;
1089
- readonly default: number;
1090
- };
1091
- readonly _indexFormat: {
1092
- readonly default: GPUIndexFormat;
1093
- };
1094
- readonly _materialBindGroup: {
1095
- readonly default: GPUBindGroup | null;
1096
- };
1097
- readonly _geometry: {
1098
- readonly type: "integer";
1099
- readonly minimum: -2147483648;
1100
- readonly maximum: 2147483647;
1101
- readonly default: number;
1102
- };
1103
- readonly _material: {
1104
- readonly type: "integer";
1105
- readonly minimum: -2147483648;
1106
- readonly maximum: 2147483647;
1107
- readonly default: number;
1108
- };
1109
- readonly _nodeLocalMatrix: {
1110
- readonly type: "array";
1111
- readonly items: {
1112
- readonly type: "number";
1113
- readonly precision: 1;
1114
- readonly default: number;
1115
- };
1116
- readonly minItems: 16;
1117
- readonly maxItems: 16;
1118
- readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
1119
- };
1120
- readonly _skeletonModelRef: {
1121
- readonly type: "integer";
1122
- readonly minimum: -2147483648;
1123
- readonly maximum: 2147483647;
1124
- readonly default: number;
1125
- };
1126
- readonly _skeletonJointMatrixBindGroup: {
1127
- readonly default: GPUBindGroup | null;
1128
- };
1129
1129
  }>, import("@adobe/data/schema").FromSchemas<{} & {
1130
1130
  readonly frameTime: {
1131
1131
  readonly default: import("../../../core/frame-time/public.js");
1132
- readonly transient: true;
1132
+ readonly nonPersistent: true;
1133
1133
  };
1134
1134
  } & {
1135
1135
  readonly schedulerState: {
@@ -1138,13 +1138,16 @@ export declare const pbrRender: {
1138
1138
  } & {
1139
1139
  readonly device: {
1140
1140
  readonly default: GPUDevice | null;
1141
- readonly transient: true;
1141
+ readonly nonPersistent: true;
1142
1142
  };
1143
1143
  readonly commandEncoder: {
1144
1144
  readonly default: GPUCommandEncoder | null;
1145
- readonly transient: true;
1145
+ readonly nonPersistent: true;
1146
1146
  };
1147
1147
  }>, {} & {} & {
1148
+ readonly _VisibleMaterial: readonly ["ephemeral", "_materialBindGroup", "_geometry"];
1149
+ readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
1150
+ } & {
1148
1151
  readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
1149
1152
  } & {} & {
1150
1153
  readonly Geometry: readonly ["modelUrl"];
@@ -1153,10 +1156,7 @@ export declare const pbrRender: {
1153
1156
  readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
1154
1157
  readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
1155
1158
  readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
1156
- } & {} & {
1157
- readonly _VisibleMaterial: readonly ["ephemeral", "_materialBindGroup", "_geometry"];
1158
- readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
1159
- }, {} & {} & {} & {} & {} & {} & {} & {} & {}>, args: import("../../scene/model/model-loader-plugin.js").LoadedArgs) => void;
1159
+ } & {}, {} & {} & {} & {} & {} & {} & {} & {} & {}>, args: import("../../scene/model/model-loader-plugin.js").LoadedArgs) => void;
1160
1160
  } & {} & {
1161
1161
  readonly seedStandardMaterials: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
1162
1162
  readonly material: {
@@ -1258,7 +1258,7 @@ export declare const pbrRender: {
1258
1258
  readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
1259
1259
  }, {}>) => void;
1260
1260
  } & {} & {} & {};
1261
- readonly systems: import("@adobe/data/ecs").SystemDeclarations<"transformCreateWorldMatrix" | "transformSystem" | "update" | "_frameTime" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "configureCanvas" | "beginRenderPass" | "endRenderPass" | "updateCameraAspect" | "sceneUniformsSystem" | "animationSampleSystem" | "modelLoadSystem" | "iblInitSystem" | "pbrIblRenderSystem" | "materialGpuBuilder" | "pbrPrimitiveRenderSystem">;
1261
+ readonly systems: import("@adobe/data/ecs").SystemDeclarations<"_frameTime" | "update" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "configureCanvas" | "beginRenderPass" | "endRenderPass" | "updateCameraAspect" | "sceneUniformsSystem" | "transformCreateWorldMatrix" | "transformSystem" | "animationSampleSystem" | "modelLoadSystem" | "iblInitSystem" | "pbrIblRenderSystem" | "materialGpuBuilder" | "pbrPrimitiveRenderSystem">;
1262
1262
  readonly actions: {};
1263
1263
  readonly services: {};
1264
1264
  readonly computed: {};