@adobe/data-gpu 0.9.96 → 0.9.97

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.
@@ -432,9 +432,8 @@ export declare const pbrIblRender: {
432
432
  };
433
433
  };
434
434
  readonly resources: {} & {
435
- readonly _gltfMeshByUrl: {
436
- readonly default: Map<string, number> | null;
437
- readonly nonPersistent: true;
435
+ readonly light: {
436
+ readonly default: import("../../scene/light/public.js");
438
437
  };
439
438
  } & {
440
439
  readonly frameTime: {
@@ -454,10 +453,6 @@ export declare const pbrIblRender: {
454
453
  readonly default: GPUCommandEncoder | null;
455
454
  readonly nonPersistent: true;
456
455
  };
457
- } & {
458
- readonly light: {
459
- readonly default: import("../../scene/light/public.js");
460
- };
461
456
  } & {
462
457
  readonly renderPassEncoder: {
463
458
  readonly default: GPURenderPassEncoder | null;
@@ -496,6 +491,12 @@ export declare const pbrIblRender: {
496
491
  readonly default: GPUBuffer | null;
497
492
  readonly nonPersistent: true;
498
493
  };
494
+ } & {
495
+ readonly _gltfMeshByUrl: {
496
+ readonly default: Map<string, number> | null;
497
+ readonly nonPersistent: true;
498
+ readonly mutable: true;
499
+ };
499
500
  } & {
500
501
  readonly _iblEnvironment: {
501
502
  readonly default: GPUTexture | null;
@@ -533,7 +534,62 @@ export declare const pbrIblRender: {
533
534
  readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
534
535
  readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
535
536
  } & {} & {} & {};
536
- readonly transactions: {} & {} & {} & {
537
+ readonly transactions: {} & {} & {
538
+ readonly setLight: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
539
+ readonly light: {
540
+ readonly default: import("../../scene/light/public.js");
541
+ };
542
+ }>, {}, {}, never>, args: Partial<import("../../scene/light/public.js")>) => void;
543
+ } & {} & {} & {
544
+ readonly setCanvas: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
545
+ readonly renderPassEncoder: {
546
+ readonly default: GPURenderPassEncoder | null;
547
+ readonly nonPersistent: true;
548
+ };
549
+ readonly depthTexture: {
550
+ readonly default: GPUTexture | null;
551
+ readonly nonPersistent: true;
552
+ };
553
+ readonly clearColor: {
554
+ readonly default: import("@adobe/data/math").Vec4;
555
+ readonly nonPersistent: true;
556
+ };
557
+ readonly canvas: {
558
+ readonly default: HTMLCanvasElement | null;
559
+ readonly nonPersistent: true;
560
+ };
561
+ readonly canvasContext: {
562
+ readonly default: GPUCanvasContext | null;
563
+ readonly nonPersistent: true;
564
+ };
565
+ readonly canvasFormat: {
566
+ readonly default: GPUTextureFormat;
567
+ readonly nonPersistent: true;
568
+ };
569
+ readonly depthFormat: {
570
+ readonly default: GPUTextureFormat;
571
+ readonly nonPersistent: true;
572
+ };
573
+ } & {
574
+ readonly frameTime: {
575
+ readonly default: import("../../../core/frame-time/public.js");
576
+ readonly nonPersistent: true;
577
+ };
578
+ } & {
579
+ readonly schedulerState: {
580
+ readonly default: import("@adobe/data/ecs").SchedulerState;
581
+ };
582
+ } & {
583
+ readonly device: {
584
+ readonly default: GPUDevice | null;
585
+ readonly nonPersistent: true;
586
+ };
587
+ readonly commandEncoder: {
588
+ readonly default: GPUCommandEncoder | null;
589
+ readonly nonPersistent: true;
590
+ };
591
+ }>, {}, {}, never>, canvas: HTMLCanvasElement | null) => void;
592
+ } & {} & {} & {} & {
537
593
  readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
538
594
  readonly material: {
539
595
  readonly type: "integer";
@@ -1736,6 +1792,7 @@ export declare const pbrIblRender: {
1736
1792
  readonly _gltfMeshByUrl: {
1737
1793
  readonly default: Map<string, number> | null;
1738
1794
  readonly nonPersistent: true;
1795
+ readonly mutable: true;
1739
1796
  };
1740
1797
  } & {}>, {
1741
1798
  readonly GltfMeshPending: readonly ["gltfUrl"];
@@ -2070,6 +2127,7 @@ export declare const pbrIblRender: {
2070
2127
  readonly _gltfMeshByUrl: {
2071
2128
  readonly default: Map<string, number> | null;
2072
2129
  readonly nonPersistent: true;
2130
+ readonly mutable: true;
2073
2131
  };
2074
2132
  } & {}>, {
2075
2133
  readonly GltfMeshPending: readonly ["gltfUrl"];
@@ -2404,6 +2462,7 @@ export declare const pbrIblRender: {
2404
2462
  readonly _gltfMeshByUrl: {
2405
2463
  readonly default: Map<string, number> | null;
2406
2464
  readonly nonPersistent: true;
2465
+ readonly mutable: true;
2407
2466
  };
2408
2467
  } & {}>, {
2409
2468
  readonly GltfMeshPending: readonly ["gltfUrl"];
@@ -2742,6 +2801,7 @@ export declare const pbrIblRender: {
2742
2801
  readonly _gltfMeshByUrl: {
2743
2802
  readonly default: Map<string, number> | null;
2744
2803
  readonly nonPersistent: true;
2804
+ readonly mutable: true;
2745
2805
  };
2746
2806
  } & {}>, {
2747
2807
  readonly GltfMeshPending: readonly ["gltfUrl"];
@@ -2772,7 +2832,7 @@ export declare const pbrIblRender: {
2772
2832
  scale?: Vec3;
2773
2833
  parent?: number;
2774
2834
  }) => number;
2775
- } & {} & {} & {} & {
2835
+ } & {} & {
2776
2836
  readonly insertAnimationClip: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{} & {
2777
2837
  readonly animationClipTracks: {
2778
2838
  readonly default: import("../../animation/animation-track/public.js")[];
@@ -2927,71 +2987,6 @@ export declare const pbrIblRender: {
2927
2987
  }) => void;
2928
2988
  } & {} & {
2929
2989
  readonly insertLoadedPrimitives: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{} & {
2930
- readonly _vertexBuffer: {
2931
- readonly default: GPUBuffer | null;
2932
- readonly nonPersistent: true;
2933
- };
2934
- readonly _skinVertexBuffer: {
2935
- readonly default: GPUBuffer | null;
2936
- readonly nonPersistent: true;
2937
- };
2938
- readonly _indexBuffer: {
2939
- readonly default: GPUBuffer | null;
2940
- readonly nonPersistent: true;
2941
- };
2942
- readonly _indexCount: {
2943
- readonly default: undefined;
2944
- readonly nonPersistent: true;
2945
- readonly type: "integer";
2946
- readonly minimum: 0;
2947
- readonly maximum: 4294967295;
2948
- };
2949
- readonly _indexFormat: {
2950
- readonly default: GPUIndexFormat;
2951
- readonly nonPersistent: true;
2952
- };
2953
- readonly _materialBindGroup: {
2954
- readonly default: GPUBindGroup | null;
2955
- readonly nonPersistent: true;
2956
- };
2957
- readonly _mesh: {
2958
- readonly default: undefined;
2959
- readonly nonPersistent: true;
2960
- readonly type: "integer";
2961
- readonly minimum: -2147483648;
2962
- readonly maximum: 2147483647;
2963
- };
2964
- readonly _material: {
2965
- readonly default: undefined;
2966
- readonly nonPersistent: true;
2967
- readonly type: "integer";
2968
- readonly minimum: -2147483648;
2969
- readonly maximum: 2147483647;
2970
- };
2971
- readonly _nodeLocalMatrix: {
2972
- readonly default: undefined;
2973
- readonly nonPersistent: true;
2974
- readonly type: "array";
2975
- readonly items: {
2976
- readonly type: "number";
2977
- readonly precision: 1;
2978
- readonly default: number;
2979
- };
2980
- readonly minItems: 16;
2981
- readonly maxItems: 16;
2982
- };
2983
- readonly _skeletonModelRef: {
2984
- readonly default: undefined;
2985
- readonly nonPersistent: true;
2986
- readonly type: "integer";
2987
- readonly minimum: -2147483648;
2988
- readonly maximum: 2147483647;
2989
- };
2990
- readonly _skeletonJointMatrixBindGroup: {
2991
- readonly default: GPUBindGroup | null;
2992
- readonly nonPersistent: true;
2993
- };
2994
- } & {
2995
2990
  readonly visible: {
2996
2991
  readonly type: "boolean";
2997
2992
  readonly const: true;
@@ -3336,10 +3331,76 @@ export declare const pbrIblRender: {
3336
3331
  readonly const: true;
3337
3332
  readonly default: true;
3338
3333
  };
3334
+ } & {
3335
+ readonly _vertexBuffer: {
3336
+ readonly default: GPUBuffer | null;
3337
+ readonly nonPersistent: true;
3338
+ };
3339
+ readonly _skinVertexBuffer: {
3340
+ readonly default: GPUBuffer | null;
3341
+ readonly nonPersistent: true;
3342
+ };
3343
+ readonly _indexBuffer: {
3344
+ readonly default: GPUBuffer | null;
3345
+ readonly nonPersistent: true;
3346
+ };
3347
+ readonly _indexCount: {
3348
+ readonly default: undefined;
3349
+ readonly nonPersistent: true;
3350
+ readonly type: "integer";
3351
+ readonly minimum: 0;
3352
+ readonly maximum: 4294967295;
3353
+ };
3354
+ readonly _indexFormat: {
3355
+ readonly default: GPUIndexFormat;
3356
+ readonly nonPersistent: true;
3357
+ };
3358
+ readonly _materialBindGroup: {
3359
+ readonly default: GPUBindGroup | null;
3360
+ readonly nonPersistent: true;
3361
+ };
3362
+ readonly _mesh: {
3363
+ readonly default: undefined;
3364
+ readonly nonPersistent: true;
3365
+ readonly type: "integer";
3366
+ readonly minimum: -2147483648;
3367
+ readonly maximum: 2147483647;
3368
+ };
3369
+ readonly _material: {
3370
+ readonly default: undefined;
3371
+ readonly nonPersistent: true;
3372
+ readonly type: "integer";
3373
+ readonly minimum: -2147483648;
3374
+ readonly maximum: 2147483647;
3375
+ };
3376
+ readonly _nodeLocalMatrix: {
3377
+ readonly default: undefined;
3378
+ readonly nonPersistent: true;
3379
+ readonly type: "array";
3380
+ readonly items: {
3381
+ readonly type: "number";
3382
+ readonly precision: 1;
3383
+ readonly default: number;
3384
+ };
3385
+ readonly minItems: 16;
3386
+ readonly maxItems: 16;
3387
+ };
3388
+ readonly _skeletonModelRef: {
3389
+ readonly default: undefined;
3390
+ readonly nonPersistent: true;
3391
+ readonly type: "integer";
3392
+ readonly minimum: -2147483648;
3393
+ readonly maximum: 2147483647;
3394
+ };
3395
+ readonly _skeletonJointMatrixBindGroup: {
3396
+ readonly default: GPUBindGroup | null;
3397
+ readonly nonPersistent: true;
3398
+ };
3339
3399
  }>, import("@adobe/data/schema").FromSchemas<{} & {
3340
3400
  readonly _gltfMeshByUrl: {
3341
3401
  readonly default: Map<string, number> | null;
3342
3402
  readonly nonPersistent: true;
3403
+ readonly mutable: true;
3343
3404
  };
3344
3405
  } & {
3345
3406
  readonly frameTime: {
@@ -3360,9 +3421,6 @@ export declare const pbrIblRender: {
3360
3421
  readonly nonPersistent: true;
3361
3422
  };
3362
3423
  }>, {} & {} & {
3363
- readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
3364
- readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
3365
- } & {
3366
3424
  readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
3367
3425
  } & {} & {
3368
3426
  readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "viscosity", "thermalConductivity", "stressStrainCurve", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "irReflectance", "irEmission", "emissionMode", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
@@ -3377,7 +3435,10 @@ export declare const pbrIblRender: {
3377
3435
  readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
3378
3436
  readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
3379
3437
  readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
3380
- } & {}, {} & {} & {} & {
3438
+ } & {} & {
3439
+ readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
3440
+ readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
3441
+ }, {} & {} & {
3381
3442
  readonly nodeChildrenOf: {
3382
3443
  readonly key: "parent";
3383
3444
  readonly archetype: "Node";
@@ -3388,64 +3449,9 @@ export declare const pbrIblRender: {
3388
3449
  readonly unique: true;
3389
3450
  readonly archetype: "Material";
3390
3451
  };
3391
- } & {} & {} & {} & {}, never>, args: import("../../scene/model/model-loader-plugin.js").LoadedArgs) => void;
3392
- } & {
3393
- readonly setLight: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
3394
- readonly light: {
3395
- readonly default: import("../../scene/light/public.js");
3396
- };
3397
- }>, {}, {}, never>, args: Partial<import("../../scene/light/public.js")>) => void;
3398
- } & {
3399
- readonly setCanvas: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
3400
- readonly renderPassEncoder: {
3401
- readonly default: GPURenderPassEncoder | null;
3402
- readonly nonPersistent: true;
3403
- };
3404
- readonly depthTexture: {
3405
- readonly default: GPUTexture | null;
3406
- readonly nonPersistent: true;
3407
- };
3408
- readonly clearColor: {
3409
- readonly default: import("@adobe/data/math").Vec4;
3410
- readonly nonPersistent: true;
3411
- };
3412
- readonly canvas: {
3413
- readonly default: HTMLCanvasElement | null;
3414
- readonly nonPersistent: true;
3415
- };
3416
- readonly canvasContext: {
3417
- readonly default: GPUCanvasContext | null;
3418
- readonly nonPersistent: true;
3419
- };
3420
- readonly canvasFormat: {
3421
- readonly default: GPUTextureFormat;
3422
- readonly nonPersistent: true;
3423
- };
3424
- readonly depthFormat: {
3425
- readonly default: GPUTextureFormat;
3426
- readonly nonPersistent: true;
3427
- };
3428
- } & {
3429
- readonly frameTime: {
3430
- readonly default: import("../../../core/frame-time/public.js");
3431
- readonly nonPersistent: true;
3432
- };
3433
- } & {
3434
- readonly schedulerState: {
3435
- readonly default: import("@adobe/data/ecs").SchedulerState;
3436
- };
3437
- } & {
3438
- readonly device: {
3439
- readonly default: GPUDevice | null;
3440
- readonly nonPersistent: true;
3441
- };
3442
- readonly commandEncoder: {
3443
- readonly default: GPUCommandEncoder | null;
3444
- readonly nonPersistent: true;
3445
- };
3446
- }>, {}, {}, never>, canvas: HTMLCanvasElement | null) => void;
3447
- } & {} & {} & {};
3448
- 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">;
3452
+ } & {} & {} & {} & {} & {}, never>, args: import("../../scene/model/model-loader-plugin.js").LoadedArgs) => void;
3453
+ } & {};
3454
+ 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">;
3449
3455
  readonly actions: {};
3450
3456
  readonly services: {};
3451
3457
  readonly computed: {};
@@ -92,6 +92,34 @@ export declare const interpolation: {
92
92
  readonly additionalProperties: false;
93
93
  };
94
94
  } & {} & {
95
+ readonly _renderPosition: {
96
+ readonly default: undefined;
97
+ readonly nonPersistent: true;
98
+ readonly type: "array";
99
+ readonly items: {
100
+ readonly type: "number";
101
+ readonly precision: 1;
102
+ readonly default: number;
103
+ };
104
+ readonly minItems: 3;
105
+ readonly maxItems: 3;
106
+ };
107
+ readonly _renderRotation: {
108
+ readonly default: undefined;
109
+ readonly nonPersistent: true;
110
+ readonly type: "array";
111
+ readonly items: {
112
+ readonly type: "number";
113
+ readonly precision: 1;
114
+ readonly default: number;
115
+ };
116
+ readonly minItems: 4;
117
+ readonly maxItems: 4;
118
+ readonly interpolators: {
119
+ readonly linear: (q1: any, q2: any, t: number) => any;
120
+ };
121
+ };
122
+ } & {
95
123
  readonly material: {
96
124
  readonly type: "integer";
97
125
  readonly minimum: -2147483648;
@@ -365,34 +393,6 @@ export declare const interpolation: {
365
393
  readonly colliderMesh: {
366
394
  readonly default: import("../../physics/body/collider-mesh.js").ColliderMesh | null;
367
395
  };
368
- } & {
369
- readonly _renderPosition: {
370
- readonly default: undefined;
371
- readonly nonPersistent: true;
372
- readonly type: "array";
373
- readonly items: {
374
- readonly type: "number";
375
- readonly precision: 1;
376
- readonly default: number;
377
- };
378
- readonly minItems: 3;
379
- readonly maxItems: 3;
380
- };
381
- readonly _renderRotation: {
382
- readonly default: undefined;
383
- readonly nonPersistent: true;
384
- readonly type: "array";
385
- readonly items: {
386
- readonly type: "number";
387
- readonly precision: 1;
388
- readonly default: number;
389
- };
390
- readonly minItems: 4;
391
- readonly maxItems: 4;
392
- readonly interpolators: {
393
- readonly linear: (q1: any, q2: any, t: number) => any;
394
- };
395
- };
396
396
  };
397
397
  readonly resources: {} & {
398
398
  readonly physicsQuery: {
@@ -425,15 +425,15 @@ export declare const interpolation: {
425
425
  };
426
426
  readonly archetypes: {
427
427
  readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
428
- } & {} & {} & {
428
+ } & {} & {} & {} & {
429
429
  readonly Material: readonly ["name", "density", "restitution", "friction", "compliance", "heatCapacity", "viscosity", "thermalConductivity", "stressStrainCurve", "baseColorFactor", "emissiveFactor", "metallicFactor", "roughnessFactor", "normalScale", "occlusionStrength", "irReflectance", "irEmission", "emissionMode", "baseColorUrl", "metallicRoughnessUrl", "normalUrl", "occlusionUrl", "emissiveUrl"];
430
430
  } & {
431
431
  readonly RigidBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity"];
432
432
  readonly StaticCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation"];
433
433
  readonly ConvexBody: readonly ["bodyType", "colliderShape", "halfExtents", "material", "position", "rotation", "linearVelocity", "angularVelocity", "convexPoints"];
434
434
  readonly MeshCollider: readonly ["colliderShape", "halfExtents", "material", "position", "rotation", "colliderMesh"];
435
- } & {} & {};
436
- readonly transactions: {} & {} & {
435
+ } & {};
436
+ readonly transactions: {} & {} & {} & {
437
437
  readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
438
438
  readonly material: {
439
439
  readonly type: "integer";
@@ -1352,7 +1352,7 @@ export declare const interpolation: {
1352
1352
  readonly nonPersistent: true;
1353
1353
  };
1354
1354
  }>, {}, {}, never>, hz: number) => void;
1355
- } & {} & {};
1355
+ } & {};
1356
1356
  readonly systems: import("@adobe/data/ecs").SystemDeclarations<"transformCreateWorldMatrix" | "transformSystem" | "update" | "_frameTime" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "advancePhysicsClock" | "interpolateDisplayPose" | "interpolateWorldMatrix">;
1357
1357
  readonly actions: {
1358
1358
  readonly pickRay: (db: Database<import("@adobe/data/schema").FromSchemas<{
@@ -3750,11 +3750,11 @@ export declare const interpolation: {
3750
3750
  readonly key: "parent";
3751
3751
  readonly archetype: "Node";
3752
3752
  };
3753
- } & {} & {} & {
3753
+ } & {} & {} & {} & {
3754
3754
  readonly materialByName: {
3755
3755
  readonly key: "name";
3756
3756
  readonly unique: true;
3757
3757
  readonly archetype: "Material";
3758
3758
  };
3759
- } & {} & {} & {};
3759
+ } & {} & {};
3760
3760
  };