@adobe/data-gpu 0.9.72 → 0.9.74

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.
@@ -20,7 +20,7 @@ import { Vec3 } from "@adobe/data/math";
20
20
  * `_PbrPrimitive` archetype.
21
21
  */
22
22
  export declare const pbrIblRender: {
23
- readonly components: {} & {
23
+ readonly components: {
24
24
  readonly visible: {
25
25
  readonly type: "boolean";
26
26
  readonly const: true;
@@ -112,7 +112,7 @@ export declare const pbrIblRender: {
112
112
  readonly max: readonly [0, 0, 0];
113
113
  };
114
114
  };
115
- } & {
115
+ } & {} & {
116
116
  readonly _vertexBuffer: {
117
117
  readonly default: GPUBuffer | null;
118
118
  };
@@ -323,9 +323,9 @@ export declare const pbrIblRender: {
323
323
  readonly nonPersistent: true;
324
324
  };
325
325
  };
326
- readonly archetypes: {} & {
326
+ readonly archetypes: {
327
327
  readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
328
- } & {} & {
328
+ } & {} & {} & {
329
329
  readonly _VisibleMaterial: readonly ["ephemeral", "_materialBindGroup", "_geometry"];
330
330
  readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
331
331
  } & {
@@ -336,62 +336,7 @@ export declare const pbrIblRender: {
336
336
  readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
337
337
  readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
338
338
  } & {} & {} & {};
339
- readonly transactions: {} & {} & {} & {} & {} & {
340
- readonly setCanvas: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
341
- readonly renderPassEncoder: {
342
- readonly default: GPURenderPassEncoder | null;
343
- readonly nonPersistent: true;
344
- };
345
- readonly depthTexture: {
346
- readonly default: GPUTexture | null;
347
- readonly nonPersistent: true;
348
- };
349
- readonly clearColor: {
350
- readonly default: readonly [number, number, number, number];
351
- readonly nonPersistent: true;
352
- };
353
- readonly canvas: {
354
- readonly default: HTMLCanvasElement | null;
355
- readonly nonPersistent: true;
356
- };
357
- readonly canvasContext: {
358
- readonly default: GPUCanvasContext | null;
359
- readonly nonPersistent: true;
360
- };
361
- readonly canvasFormat: {
362
- readonly default: GPUTextureFormat;
363
- readonly nonPersistent: true;
364
- };
365
- readonly depthFormat: {
366
- readonly default: GPUTextureFormat;
367
- readonly nonPersistent: true;
368
- };
369
- } & {
370
- readonly frameTime: {
371
- readonly default: import("../../../core/frame-time/public.js");
372
- readonly nonPersistent: true;
373
- };
374
- } & {
375
- readonly schedulerState: {
376
- readonly default: import("@adobe/data/ecs").SchedulerState;
377
- };
378
- } & {
379
- readonly device: {
380
- readonly default: GPUDevice | null;
381
- readonly nonPersistent: true;
382
- };
383
- readonly commandEncoder: {
384
- readonly default: GPUCommandEncoder | null;
385
- readonly nonPersistent: true;
386
- };
387
- }>, {}, {}>, canvas: HTMLCanvasElement | null) => void;
388
- } & {} & {
389
- readonly setLight: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
390
- readonly light: {
391
- readonly default: import("../../scene/light/public.js");
392
- };
393
- }>, {}, {}>, args: Partial<import("../../scene/light/public.js")>) => void;
394
- } & {} & {
339
+ readonly transactions: {} & {} & {} & {
395
340
  readonly insertGeometry: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
396
341
  readonly modelUrl: {
397
342
  readonly type: "string";
@@ -616,7 +561,7 @@ export declare const pbrIblRender: {
616
561
  scale?: Vec3;
617
562
  parent?: number;
618
563
  }) => number;
619
- } & {} & {
564
+ } & {} & {} & {} & {
620
565
  readonly insertAnimationClip: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{} & {
621
566
  readonly animationClipTracks: {
622
567
  readonly default: import("../../animation/animation-track/public.js")[];
@@ -1019,8 +964,63 @@ export declare const pbrIblRender: {
1019
964
  readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
1020
965
  readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
1021
966
  } & {}, {} & {} & {} & {} & {} & {} & {} & {} & {}>, args: import("../../scene/model/model-loader-plugin.js").LoadedArgs) => void;
1022
- } & {};
1023
- 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">;
967
+ } & {
968
+ readonly setCanvas: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
969
+ readonly renderPassEncoder: {
970
+ readonly default: GPURenderPassEncoder | null;
971
+ readonly nonPersistent: true;
972
+ };
973
+ readonly depthTexture: {
974
+ readonly default: GPUTexture | null;
975
+ readonly nonPersistent: true;
976
+ };
977
+ readonly clearColor: {
978
+ readonly default: readonly [number, number, number, number];
979
+ readonly nonPersistent: true;
980
+ };
981
+ readonly canvas: {
982
+ readonly default: HTMLCanvasElement | null;
983
+ readonly nonPersistent: true;
984
+ };
985
+ readonly canvasContext: {
986
+ readonly default: GPUCanvasContext | null;
987
+ readonly nonPersistent: true;
988
+ };
989
+ readonly canvasFormat: {
990
+ readonly default: GPUTextureFormat;
991
+ readonly nonPersistent: true;
992
+ };
993
+ readonly depthFormat: {
994
+ readonly default: GPUTextureFormat;
995
+ readonly nonPersistent: true;
996
+ };
997
+ } & {
998
+ readonly frameTime: {
999
+ readonly default: import("../../../core/frame-time/public.js");
1000
+ readonly nonPersistent: true;
1001
+ };
1002
+ } & {
1003
+ readonly schedulerState: {
1004
+ readonly default: import("@adobe/data/ecs").SchedulerState;
1005
+ };
1006
+ } & {
1007
+ readonly device: {
1008
+ readonly default: GPUDevice | null;
1009
+ readonly nonPersistent: true;
1010
+ };
1011
+ readonly commandEncoder: {
1012
+ readonly default: GPUCommandEncoder | null;
1013
+ readonly nonPersistent: true;
1014
+ };
1015
+ }>, {}, {}>, canvas: HTMLCanvasElement | null) => void;
1016
+ } & {} & {
1017
+ readonly setLight: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
1018
+ readonly light: {
1019
+ readonly default: import("../../scene/light/public.js");
1020
+ };
1021
+ }>, {}, {}>, args: Partial<import("../../scene/light/public.js")>) => void;
1022
+ } & {} & {};
1023
+ readonly systems: import("@adobe/data/ecs").SystemDeclarations<"transformCreateWorldMatrix" | "transformSystem" | "update" | "_frameTime" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "animationSampleSystem" | "modelLoadSystem" | "configureCanvas" | "beginRenderPass" | "endRenderPass" | "updateCameraAspect" | "sceneUniformsSystem" | "iblInitSystem" | "pbrIblRenderSystem">;
1024
1024
  readonly actions: {};
1025
1025
  readonly services: {};
1026
1026
  readonly computed: {};
@@ -3,7 +3,7 @@ import { Quat } from "@adobe/data/math";
3
3
  import { type JoltContext } from "../../physics/solvers/jolt-solver-plugin.js";
4
4
  import type { JointTemplate } from "../scene/model/gltf/parse-skin.js";
5
5
  export declare const joltRagdoll: {
6
- readonly components: {} & {
6
+ readonly components: {
7
7
  readonly visible: {
8
8
  readonly type: "boolean";
9
9
  readonly const: true;
@@ -95,7 +95,7 @@ export declare const joltRagdoll: {
95
95
  readonly max: readonly [0, 0, 0];
96
96
  };
97
97
  };
98
- } & {
98
+ } & {} & {
99
99
  readonly _vertexBuffer: {
100
100
  readonly default: GPUBuffer | null;
101
101
  };
@@ -538,24 +538,24 @@ export declare const joltRagdoll: {
538
538
  readonly default: boolean;
539
539
  readonly nonPersistent: true;
540
540
  };
541
+ } & {
542
+ readonly materials: {
543
+ readonly default: Record<string, Entity>;
544
+ };
541
545
  } & {
542
546
  readonly physicsClock: {
543
547
  readonly default: import("../../index.js").PhysicsClock;
544
548
  readonly nonPersistent: true;
545
549
  };
546
- } & {
547
- readonly materials: {
548
- readonly default: Record<string, Entity>;
549
- };
550
550
  } & {
551
551
  readonly _joltContext: {
552
552
  readonly default: JoltContext | null;
553
553
  readonly nonPersistent: true;
554
554
  };
555
555
  };
556
- readonly archetypes: {} & {
556
+ readonly archetypes: {
557
557
  readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
558
- } & {} & {
558
+ } & {} & {} & {
559
559
  readonly _VisibleMaterial: readonly ["ephemeral", "_materialBindGroup", "_geometry"];
560
560
  readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
561
561
  } & {
@@ -577,7 +577,7 @@ export declare const joltRagdoll: {
577
577
  } & {
578
578
  readonly Joint: readonly ["jointType", "jointBodyA", "jointBodyB", "jointAnchorA", "jointAnchorB", "jointAxis", "jointMinLimit", "jointMaxLimit", "jointSwingLimit"];
579
579
  } & {} & {};
580
- readonly transactions: {} & {} & {} & {} & {} & {
580
+ readonly transactions: {} & {} & {} & {
581
581
  readonly insertGeometry: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
582
582
  readonly modelUrl: {
583
583
  readonly type: "string";
@@ -802,7 +802,7 @@ export declare const joltRagdoll: {
802
802
  scale?: readonly [number, number, number];
803
803
  parent?: number;
804
804
  }) => number;
805
- } & {} & {
805
+ } & {} & {} & {} & {
806
806
  readonly insertAnimationClip: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{} & {
807
807
  readonly animationClipTracks: {
808
808
  readonly default: import("../animation/animation-track/public.js")[];
@@ -1205,13 +1205,6 @@ export declare const joltRagdoll: {
1205
1205
  readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
1206
1206
  readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
1207
1207
  } & {}, {} & {} & {} & {} & {} & {} & {} & {} & {}>, args: import("../scene/model/model-loader-plugin.js").LoadedArgs) => void;
1208
- } & {
1209
- readonly triggerRagdoll: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
1210
- readonly _ragdollTrigger: {
1211
- readonly default: boolean;
1212
- readonly nonPersistent: true;
1213
- };
1214
- }>, {}, {}>) => void;
1215
1208
  } & {
1216
1209
  readonly initSkeleton: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
1217
1210
  readonly _skeletonJoints: {
@@ -1495,30 +1488,12 @@ export declare const joltRagdoll: {
1495
1488
  clipRef: number | null;
1496
1489
  }) => void;
1497
1490
  } & {
1498
- readonly setFixedTimestep: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
1499
- readonly physicsClock: {
1500
- readonly default: import("../../index.js").PhysicsClock;
1501
- readonly nonPersistent: true;
1502
- };
1503
- } & {
1504
- readonly frameTime: {
1505
- readonly default: import("../../core/frame-time/public.js");
1506
- readonly nonPersistent: true;
1507
- };
1508
- } & {
1509
- readonly schedulerState: {
1510
- readonly default: import("@adobe/data/ecs").SchedulerState;
1511
- };
1512
- } & {
1513
- readonly device: {
1514
- readonly default: GPUDevice | null;
1515
- readonly nonPersistent: true;
1516
- };
1517
- readonly commandEncoder: {
1518
- readonly default: GPUCommandEncoder | null;
1491
+ readonly triggerRagdoll: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
1492
+ readonly _ragdollTrigger: {
1493
+ readonly default: boolean;
1519
1494
  readonly nonPersistent: true;
1520
1495
  };
1521
- }>, {}, {}>, hz: number) => void;
1496
+ }>, {}, {}>) => void;
1522
1497
  } & {
1523
1498
  readonly seedStandardMaterials: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
1524
1499
  readonly material: {
@@ -1619,8 +1594,33 @@ export declare const joltRagdoll: {
1619
1594
  }>, {
1620
1595
  readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
1621
1596
  }, {}>) => void;
1622
- } & {} & {} & {} & {};
1623
- readonly systems: import("@adobe/data/ecs").SystemDeclarations<"_frameTime" | "update" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "advancePhysicsClock" | "joltStep" | "transformCreateWorldMatrix" | "transformSystem" | "animationSampleSystem" | "modelLoadSystem" | "skinningInitSystem" | "skinningMatrixSystem" | "joltRagdollSystem">;
1597
+ } & {} & {
1598
+ readonly setFixedTimestep: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
1599
+ readonly physicsClock: {
1600
+ readonly default: import("../../index.js").PhysicsClock;
1601
+ readonly nonPersistent: true;
1602
+ };
1603
+ } & {
1604
+ readonly frameTime: {
1605
+ readonly default: import("../../core/frame-time/public.js");
1606
+ readonly nonPersistent: true;
1607
+ };
1608
+ } & {
1609
+ readonly schedulerState: {
1610
+ readonly default: import("@adobe/data/ecs").SchedulerState;
1611
+ };
1612
+ } & {
1613
+ readonly device: {
1614
+ readonly default: GPUDevice | null;
1615
+ readonly nonPersistent: true;
1616
+ };
1617
+ readonly commandEncoder: {
1618
+ readonly default: GPUCommandEncoder | null;
1619
+ readonly nonPersistent: true;
1620
+ };
1621
+ }>, {}, {}>, hz: number) => void;
1622
+ } & {} & {} & {};
1623
+ readonly systems: import("@adobe/data/ecs").SystemDeclarations<"transformCreateWorldMatrix" | "transformSystem" | "update" | "_frameTime" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "animationSampleSystem" | "modelLoadSystem" | "skinningInitSystem" | "skinningMatrixSystem" | "advancePhysicsClock" | "joltStep" | "joltRagdollSystem">;
1624
1624
  readonly actions: {};
1625
1625
  readonly services: {};
1626
1626
  readonly computed: {};