@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.
@@ -231,7 +231,7 @@ export declare const picking: {
231
231
  readonly default: true;
232
232
  };
233
233
  };
234
- readonly resources: {
234
+ readonly resources: {} & {
235
235
  readonly frameTime: {
236
236
  readonly default: import("../../core/frame-time/public.js");
237
237
  readonly nonPersistent: true;
@@ -282,7 +282,7 @@ export declare const picking: {
282
282
  readonly camera: {
283
283
  readonly default: Camera;
284
284
  };
285
- } & {};
285
+ };
286
286
  readonly archetypes: {} & {
287
287
  readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
288
288
  } & {} & {
@@ -298,56 +298,7 @@ export declare const picking: {
298
298
  } & {} & {} & {} & {
299
299
  readonly PickableModel: readonly ["geometry", "position", "rotation", "scale", "visible", "parent", "pickable"];
300
300
  } & {};
301
- readonly transactions: {} & {} & {
302
- readonly setCanvas: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
303
- readonly renderPassEncoder: {
304
- readonly default: GPURenderPassEncoder | null;
305
- readonly nonPersistent: true;
306
- };
307
- readonly depthTexture: {
308
- readonly default: GPUTexture | null;
309
- readonly nonPersistent: true;
310
- };
311
- readonly clearColor: {
312
- readonly default: readonly [number, number, number, number];
313
- readonly nonPersistent: true;
314
- };
315
- readonly canvas: {
316
- readonly default: HTMLCanvasElement | null;
317
- readonly nonPersistent: true;
318
- };
319
- readonly canvasContext: {
320
- readonly default: GPUCanvasContext | null;
321
- readonly nonPersistent: true;
322
- };
323
- readonly canvasFormat: {
324
- readonly default: GPUTextureFormat;
325
- readonly nonPersistent: true;
326
- };
327
- readonly depthFormat: {
328
- readonly default: GPUTextureFormat;
329
- readonly nonPersistent: true;
330
- };
331
- } & {
332
- readonly frameTime: {
333
- readonly default: import("../../core/frame-time/public.js");
334
- readonly nonPersistent: true;
335
- };
336
- } & {
337
- readonly schedulerState: {
338
- readonly default: import("@adobe/data/ecs").SchedulerState;
339
- };
340
- } & {
341
- readonly device: {
342
- readonly default: GPUDevice | null;
343
- readonly nonPersistent: true;
344
- };
345
- readonly commandEncoder: {
346
- readonly default: GPUCommandEncoder | null;
347
- readonly nonPersistent: true;
348
- };
349
- }>, {}, {}>, canvas: HTMLCanvasElement | null) => void;
350
- } & {} & {} & {} & {} & {
301
+ readonly transactions: {} & {} & {} & {
351
302
  readonly insertGeometry: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
352
303
  readonly modelUrl: {
353
304
  readonly type: "string";
@@ -572,7 +523,7 @@ export declare const picking: {
572
523
  scale?: readonly [number, number, number];
573
524
  parent?: number;
574
525
  }) => number;
575
- } & {} & {
526
+ } & {} & {} & {} & {
576
527
  readonly insertAnimationClip: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{} & {
577
528
  readonly animationClipTracks: {
578
529
  readonly default: import("../animation/animation-track/public.js")[];
@@ -972,6 +923,55 @@ export declare const picking: {
972
923
  readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
973
924
  readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
974
925
  } & {}, {} & {} & {} & {} & {} & {} & {} & {} & {}>, args: import("../scene/model/model-loader-plugin.js").LoadedArgs) => void;
926
+ } & {} & {
927
+ readonly setCanvas: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
928
+ readonly renderPassEncoder: {
929
+ readonly default: GPURenderPassEncoder | null;
930
+ readonly nonPersistent: true;
931
+ };
932
+ readonly depthTexture: {
933
+ readonly default: GPUTexture | null;
934
+ readonly nonPersistent: true;
935
+ };
936
+ readonly clearColor: {
937
+ readonly default: readonly [number, number, number, number];
938
+ readonly nonPersistent: true;
939
+ };
940
+ readonly canvas: {
941
+ readonly default: HTMLCanvasElement | null;
942
+ readonly nonPersistent: true;
943
+ };
944
+ readonly canvasContext: {
945
+ readonly default: GPUCanvasContext | null;
946
+ readonly nonPersistent: true;
947
+ };
948
+ readonly canvasFormat: {
949
+ readonly default: GPUTextureFormat;
950
+ readonly nonPersistent: true;
951
+ };
952
+ readonly depthFormat: {
953
+ readonly default: GPUTextureFormat;
954
+ readonly nonPersistent: true;
955
+ };
956
+ } & {
957
+ readonly frameTime: {
958
+ readonly default: import("../../core/frame-time/public.js");
959
+ readonly nonPersistent: true;
960
+ };
961
+ } & {
962
+ readonly schedulerState: {
963
+ readonly default: import("@adobe/data/ecs").SchedulerState;
964
+ };
965
+ } & {
966
+ readonly device: {
967
+ readonly default: GPUDevice | null;
968
+ readonly nonPersistent: true;
969
+ };
970
+ readonly commandEncoder: {
971
+ readonly default: GPUCommandEncoder | null;
972
+ readonly nonPersistent: true;
973
+ };
974
+ }>, {}, {}>, canvas: HTMLCanvasElement | null) => void;
975
975
  } & {} & {
976
976
  readonly insertPickableModel: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
977
977
  readonly pickable: {
@@ -1273,7 +1273,7 @@ export declare const picking: {
1273
1273
  parent?: number;
1274
1274
  }) => number;
1275
1275
  } & {};
1276
- readonly systems: import("@adobe/data/ecs").SystemDeclarations<"_frameTime" | "update" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "configureCanvas" | "beginRenderPass" | "endRenderPass" | "updateCameraAspect" | "transformCreateWorldMatrix" | "transformSystem" | "animationSampleSystem" | "modelLoadSystem" | "worldBoundsCreate" | "worldBoundsSystem">;
1276
+ readonly systems: import("@adobe/data/ecs").SystemDeclarations<"transformCreateWorldMatrix" | "transformSystem" | "update" | "_frameTime" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "animationSampleSystem" | "modelLoadSystem" | "worldBoundsCreate" | "worldBoundsSystem" | "configureCanvas" | "beginRenderPass" | "endRenderPass" | "updateCameraAspect">;
1277
1277
  readonly actions: {
1278
1278
  readonly pickRay: (db: Database<import("@adobe/data/schema").FromSchemas<{} & {
1279
1279
  readonly visible: {
@@ -1567,56 +1567,7 @@ export declare const picking: {
1567
1567
  readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
1568
1568
  } & {} & {} & {} & {
1569
1569
  readonly PickableModel: readonly ["geometry", "position", "rotation", "scale", "visible", "parent", "pickable"];
1570
- }, import("@adobe/data/ecs").ToTransactionFunctions<{} & {} & {} & {
1571
- readonly setCanvas: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
1572
- readonly renderPassEncoder: {
1573
- readonly default: GPURenderPassEncoder | null;
1574
- readonly nonPersistent: true;
1575
- };
1576
- readonly depthTexture: {
1577
- readonly default: GPUTexture | null;
1578
- readonly nonPersistent: true;
1579
- };
1580
- readonly clearColor: {
1581
- readonly default: readonly [number, number, number, number];
1582
- readonly nonPersistent: true;
1583
- };
1584
- readonly canvas: {
1585
- readonly default: HTMLCanvasElement | null;
1586
- readonly nonPersistent: true;
1587
- };
1588
- readonly canvasContext: {
1589
- readonly default: GPUCanvasContext | null;
1590
- readonly nonPersistent: true;
1591
- };
1592
- readonly canvasFormat: {
1593
- readonly default: GPUTextureFormat;
1594
- readonly nonPersistent: true;
1595
- };
1596
- readonly depthFormat: {
1597
- readonly default: GPUTextureFormat;
1598
- readonly nonPersistent: true;
1599
- };
1600
- } & {
1601
- readonly frameTime: {
1602
- readonly default: import("../../core/frame-time/public.js");
1603
- readonly nonPersistent: true;
1604
- };
1605
- } & {
1606
- readonly schedulerState: {
1607
- readonly default: import("@adobe/data/ecs").SchedulerState;
1608
- };
1609
- } & {
1610
- readonly device: {
1611
- readonly default: GPUDevice | null;
1612
- readonly nonPersistent: true;
1613
- };
1614
- readonly commandEncoder: {
1615
- readonly default: GPUCommandEncoder | null;
1616
- readonly nonPersistent: true;
1617
- };
1618
- }>, {}, {}>, canvas: HTMLCanvasElement | null) => void;
1619
- } & {} & {} & {} & {} & {
1570
+ }, import("@adobe/data/ecs").ToTransactionFunctions<{} & {} & {} & {} & {
1620
1571
  readonly insertGeometry: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
1621
1572
  readonly modelUrl: {
1622
1573
  readonly type: "string";
@@ -1841,7 +1792,7 @@ export declare const picking: {
1841
1792
  scale?: readonly [number, number, number];
1842
1793
  parent?: number;
1843
1794
  }) => number;
1844
- } & {} & {
1795
+ } & {} & {} & {} & {
1845
1796
  readonly insertAnimationClip: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{} & {
1846
1797
  readonly animationClipTracks: {
1847
1798
  readonly default: import("../animation/animation-track/public.js")[];
@@ -2241,6 +2192,55 @@ export declare const picking: {
2241
2192
  readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
2242
2193
  readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
2243
2194
  } & {}, {} & {} & {} & {} & {} & {} & {} & {} & {}>, args: import("../scene/model/model-loader-plugin.js").LoadedArgs) => void;
2195
+ } & {} & {
2196
+ readonly setCanvas: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
2197
+ readonly renderPassEncoder: {
2198
+ readonly default: GPURenderPassEncoder | null;
2199
+ readonly nonPersistent: true;
2200
+ };
2201
+ readonly depthTexture: {
2202
+ readonly default: GPUTexture | null;
2203
+ readonly nonPersistent: true;
2204
+ };
2205
+ readonly clearColor: {
2206
+ readonly default: readonly [number, number, number, number];
2207
+ readonly nonPersistent: true;
2208
+ };
2209
+ readonly canvas: {
2210
+ readonly default: HTMLCanvasElement | null;
2211
+ readonly nonPersistent: true;
2212
+ };
2213
+ readonly canvasContext: {
2214
+ readonly default: GPUCanvasContext | null;
2215
+ readonly nonPersistent: true;
2216
+ };
2217
+ readonly canvasFormat: {
2218
+ readonly default: GPUTextureFormat;
2219
+ readonly nonPersistent: true;
2220
+ };
2221
+ readonly depthFormat: {
2222
+ readonly default: GPUTextureFormat;
2223
+ readonly nonPersistent: true;
2224
+ };
2225
+ } & {
2226
+ readonly frameTime: {
2227
+ readonly default: import("../../core/frame-time/public.js");
2228
+ readonly nonPersistent: true;
2229
+ };
2230
+ } & {
2231
+ readonly schedulerState: {
2232
+ readonly default: import("@adobe/data/ecs").SchedulerState;
2233
+ };
2234
+ } & {
2235
+ readonly device: {
2236
+ readonly default: GPUDevice | null;
2237
+ readonly nonPersistent: true;
2238
+ };
2239
+ readonly commandEncoder: {
2240
+ readonly default: GPUCommandEncoder | null;
2241
+ readonly nonPersistent: true;
2242
+ };
2243
+ }>, {}, {}>, canvas: HTMLCanvasElement | null) => void;
2244
2244
  } & {} & {
2245
2245
  readonly insertPickableModel: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
2246
2246
  readonly pickable: {
@@ -2541,7 +2541,7 @@ export declare const picking: {
2541
2541
  scale?: readonly [number, number, number];
2542
2542
  parent?: number;
2543
2543
  }) => number;
2544
- }>, "_frameTime" | "update" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "configureCanvas" | "beginRenderPass" | "endRenderPass" | "updateCameraAspect" | "transformCreateWorldMatrix" | "transformSystem" | "animationSampleSystem" | "modelLoadSystem" | "worldBoundsCreate" | "worldBoundsSystem", import("@adobe/data/ecs").ToActionFunctions<{}>, import("@adobe/data/ecs").FromServiceFactories<{}>, import("@adobe/data/ecs").FromComputedFactories<{}>, {} & {} & {} & {} & {} & {} & {} & {} & {} & {} & {} & {}>, ray: Line3) => PickHit | null;
2544
+ }>, "transformCreateWorldMatrix" | "transformSystem" | "update" | "_frameTime" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "animationSampleSystem" | "modelLoadSystem" | "worldBoundsCreate" | "worldBoundsSystem" | "configureCanvas" | "beginRenderPass" | "endRenderPass" | "updateCameraAspect", import("@adobe/data/ecs").ToActionFunctions<{}>, import("@adobe/data/ecs").FromServiceFactories<{}>, import("@adobe/data/ecs").FromComputedFactories<{}>, {} & {} & {} & {} & {} & {} & {} & {} & {} & {} & {} & {}>, ray: Line3) => PickHit | null;
2545
2545
  readonly pickFromScreen: (db: Database<import("@adobe/data/schema").FromSchemas<{} & {
2546
2546
  readonly visible: {
2547
2547
  readonly type: "boolean";
@@ -2834,56 +2834,7 @@ export declare const picking: {
2834
2834
  readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
2835
2835
  } & {} & {} & {} & {
2836
2836
  readonly PickableModel: readonly ["geometry", "position", "rotation", "scale", "visible", "parent", "pickable"];
2837
- }, import("@adobe/data/ecs").ToTransactionFunctions<{} & {} & {} & {
2838
- readonly setCanvas: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
2839
- readonly renderPassEncoder: {
2840
- readonly default: GPURenderPassEncoder | null;
2841
- readonly nonPersistent: true;
2842
- };
2843
- readonly depthTexture: {
2844
- readonly default: GPUTexture | null;
2845
- readonly nonPersistent: true;
2846
- };
2847
- readonly clearColor: {
2848
- readonly default: readonly [number, number, number, number];
2849
- readonly nonPersistent: true;
2850
- };
2851
- readonly canvas: {
2852
- readonly default: HTMLCanvasElement | null;
2853
- readonly nonPersistent: true;
2854
- };
2855
- readonly canvasContext: {
2856
- readonly default: GPUCanvasContext | null;
2857
- readonly nonPersistent: true;
2858
- };
2859
- readonly canvasFormat: {
2860
- readonly default: GPUTextureFormat;
2861
- readonly nonPersistent: true;
2862
- };
2863
- readonly depthFormat: {
2864
- readonly default: GPUTextureFormat;
2865
- readonly nonPersistent: true;
2866
- };
2867
- } & {
2868
- readonly frameTime: {
2869
- readonly default: import("../../core/frame-time/public.js");
2870
- readonly nonPersistent: true;
2871
- };
2872
- } & {
2873
- readonly schedulerState: {
2874
- readonly default: import("@adobe/data/ecs").SchedulerState;
2875
- };
2876
- } & {
2877
- readonly device: {
2878
- readonly default: GPUDevice | null;
2879
- readonly nonPersistent: true;
2880
- };
2881
- readonly commandEncoder: {
2882
- readonly default: GPUCommandEncoder | null;
2883
- readonly nonPersistent: true;
2884
- };
2885
- }>, {}, {}>, canvas: HTMLCanvasElement | null) => void;
2886
- } & {} & {} & {} & {} & {
2837
+ }, import("@adobe/data/ecs").ToTransactionFunctions<{} & {} & {} & {} & {
2887
2838
  readonly insertGeometry: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
2888
2839
  readonly modelUrl: {
2889
2840
  readonly type: "string";
@@ -3108,7 +3059,7 @@ export declare const picking: {
3108
3059
  scale?: readonly [number, number, number];
3109
3060
  parent?: number;
3110
3061
  }) => number;
3111
- } & {} & {
3062
+ } & {} & {} & {} & {
3112
3063
  readonly insertAnimationClip: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{} & {
3113
3064
  readonly animationClipTracks: {
3114
3065
  readonly default: import("../animation/animation-track/public.js")[];
@@ -3508,6 +3459,55 @@ export declare const picking: {
3508
3459
  readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
3509
3460
  readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
3510
3461
  } & {}, {} & {} & {} & {} & {} & {} & {} & {} & {}>, args: import("../scene/model/model-loader-plugin.js").LoadedArgs) => void;
3462
+ } & {} & {
3463
+ readonly setCanvas: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
3464
+ readonly renderPassEncoder: {
3465
+ readonly default: GPURenderPassEncoder | null;
3466
+ readonly nonPersistent: true;
3467
+ };
3468
+ readonly depthTexture: {
3469
+ readonly default: GPUTexture | null;
3470
+ readonly nonPersistent: true;
3471
+ };
3472
+ readonly clearColor: {
3473
+ readonly default: readonly [number, number, number, number];
3474
+ readonly nonPersistent: true;
3475
+ };
3476
+ readonly canvas: {
3477
+ readonly default: HTMLCanvasElement | null;
3478
+ readonly nonPersistent: true;
3479
+ };
3480
+ readonly canvasContext: {
3481
+ readonly default: GPUCanvasContext | null;
3482
+ readonly nonPersistent: true;
3483
+ };
3484
+ readonly canvasFormat: {
3485
+ readonly default: GPUTextureFormat;
3486
+ readonly nonPersistent: true;
3487
+ };
3488
+ readonly depthFormat: {
3489
+ readonly default: GPUTextureFormat;
3490
+ readonly nonPersistent: true;
3491
+ };
3492
+ } & {
3493
+ readonly frameTime: {
3494
+ readonly default: import("../../core/frame-time/public.js");
3495
+ readonly nonPersistent: true;
3496
+ };
3497
+ } & {
3498
+ readonly schedulerState: {
3499
+ readonly default: import("@adobe/data/ecs").SchedulerState;
3500
+ };
3501
+ } & {
3502
+ readonly device: {
3503
+ readonly default: GPUDevice | null;
3504
+ readonly nonPersistent: true;
3505
+ };
3506
+ readonly commandEncoder: {
3507
+ readonly default: GPUCommandEncoder | null;
3508
+ readonly nonPersistent: true;
3509
+ };
3510
+ }>, {}, {}>, canvas: HTMLCanvasElement | null) => void;
3511
3511
  } & {} & {
3512
3512
  readonly insertPickableModel: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
3513
3513
  readonly pickable: {
@@ -3808,7 +3808,7 @@ export declare const picking: {
3808
3808
  scale?: readonly [number, number, number];
3809
3809
  parent?: number;
3810
3810
  }) => number;
3811
- }>, "_frameTime" | "update" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "configureCanvas" | "beginRenderPass" | "endRenderPass" | "updateCameraAspect" | "transformCreateWorldMatrix" | "transformSystem" | "animationSampleSystem" | "modelLoadSystem" | "worldBoundsCreate" | "worldBoundsSystem", import("@adobe/data/ecs").ToActionFunctions<{}>, import("@adobe/data/ecs").FromServiceFactories<{}>, import("@adobe/data/ecs").FromComputedFactories<{}>, {} & {} & {} & {} & {} & {} & {} & {} & {} & {} & {} & {}>, args: {
3811
+ }>, "transformCreateWorldMatrix" | "transformSystem" | "update" | "_frameTime" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "animationSampleSystem" | "modelLoadSystem" | "worldBoundsCreate" | "worldBoundsSystem" | "configureCanvas" | "beginRenderPass" | "endRenderPass" | "updateCameraAspect", import("@adobe/data/ecs").ToActionFunctions<{}>, import("@adobe/data/ecs").FromServiceFactories<{}>, import("@adobe/data/ecs").FromComputedFactories<{}>, {} & {} & {} & {} & {} & {} & {} & {} & {} & {} & {} & {}>, args: {
3812
3812
  x: number;
3813
3813
  y: number;
3814
3814
  }) => PickHit | null;