@adobe/data-gpu 0.10.7 → 0.10.9
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.
- package/dist/core/core-plugin.d.ts +1 -1
- package/dist/graphics/animation/animation-data-plugin.d.ts +4 -0
- package/dist/graphics/animation/animation-plugin.d.ts +6 -2
- package/dist/graphics/animation/animation-track/interpolate.d.ts +2 -1
- package/dist/graphics/animation/animation-track/interpolate.js +9 -3
- package/dist/graphics/animation/animation-track/interpolate.js.map +1 -1
- package/dist/graphics/animation/animation-track/interpolate.test.d.ts +1 -0
- package/dist/graphics/animation/animation-track/interpolate.test.js +23 -0
- package/dist/graphics/animation/animation-track/interpolate.test.js.map +1 -0
- package/dist/graphics/animation/animation-track/interpolator-registry.d.ts +8 -0
- package/dist/graphics/animation/animation-track/interpolator-registry.js +11 -0
- package/dist/graphics/animation/animation-track/interpolator-registry.js.map +1 -0
- package/dist/graphics/camera/camera-plugin.d.ts +1 -1
- package/dist/graphics/camera/orbit/orbit-data-plugin.d.ts +1 -1
- package/dist/graphics/camera/orbit/orbit-plugin.d.ts +1 -1
- package/dist/graphics/camera/orbit/orbit-system-plugin.d.ts +1 -1
- package/dist/graphics/graphics-plugin.d.ts +1 -1
- package/dist/graphics/picking/picking-plugin.d.ts +147 -24
- package/dist/graphics/rendering/bone-collider-plugin.d.ts +79 -21
- package/dist/graphics/rendering/display-transform-plugin.d.ts +1 -1
- package/dist/graphics/rendering/ibl-render/ibl-render-plugin.d.ts +47 -13
- package/dist/graphics/rendering/interpolation-plugin.d.ts +34 -15
- package/dist/graphics/rendering/jolt-ragdoll-plugin.d.ts +77 -20
- package/dist/graphics/rendering/material-palette-gpu/material-palette-gpu-plugin.d.ts +13 -7
- package/dist/graphics/rendering/model-collider-plugin.d.ts +60 -13
- package/dist/graphics/rendering/pbr-core-plugin.d.ts +3 -0
- package/dist/graphics/rendering/pbr-render/pbr-factor-render-plugin.d.ts +48 -14
- package/dist/graphics/rendering/pbr-render/physics-bridge-plugin.d.ts +24 -6
- package/dist/graphics/rendering/skinning/skinning-plugin.d.ts +51 -8
- package/dist/graphics/scene/model/mesh-plugin.d.ts +50 -10
- package/dist/graphics/scene/model/model-loader-plugin.d.ts +41 -7
- package/dist/graphics/scene/model/shape/shape-geometry-plugin.d.ts +8 -2
- package/dist/graphics/scene/model/world-bounds-plugin.d.ts +41 -7
- package/dist/graphics/scene/node/node-data-plugin.d.ts +2 -1
- package/dist/graphics/scene/node/node-plugin.d.ts +2 -1
- package/dist/graphics/scene/node/transform-plugin.d.ts +2 -1
- package/dist/graphics/scene/scene-plugin.d.ts +31 -11
- package/dist/graphics/scene/scene-uniforms/scene-uniforms-plugin.d.ts +1 -1
- package/dist/material/material-plugin.d.ts +6 -0
- package/dist/physics/joint/joint-plugin.d.ts +2 -0
- package/dist/physics/physics-clock-plugin.d.ts +1 -1
- package/dist/physics/physics-data-plugin.d.ts +24 -6
- package/dist/physics/solvers/jolt-solver-plugin.d.ts +27 -7
- package/dist/physics/solvers/rapier-solver-plugin.d.ts +27 -7
- package/package.json +2 -2
- package/src/graphics/animation/animation-track/interpolate.test.ts +27 -0
- package/src/graphics/animation/animation-track/interpolate.ts +9 -3
- package/src/graphics/animation/animation-track/interpolator-registry.ts +14 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -15,12 +15,14 @@ export declare const jointData: {
|
|
|
15
15
|
readonly enum: readonly ["fixed", "point", "hinge", "cone"];
|
|
16
16
|
};
|
|
17
17
|
readonly jointBodyA: {
|
|
18
|
+
readonly entity: true;
|
|
18
19
|
readonly type: "integer";
|
|
19
20
|
readonly minimum: -2147483648;
|
|
20
21
|
readonly maximum: 2147483647;
|
|
21
22
|
readonly default: number;
|
|
22
23
|
};
|
|
23
24
|
readonly jointBodyB: {
|
|
25
|
+
readonly entity: true;
|
|
24
26
|
readonly type: "integer";
|
|
25
27
|
readonly minimum: -2147483648;
|
|
26
28
|
readonly maximum: 2147483647;
|
|
@@ -58,7 +58,7 @@ export declare const physicsClock: {
|
|
|
58
58
|
};
|
|
59
59
|
}>, {}, {}, never>, hz: number) => void;
|
|
60
60
|
};
|
|
61
|
-
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"
|
|
61
|
+
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"_frameTime" | "update" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "advancePhysicsClock">;
|
|
62
62
|
readonly actions: {};
|
|
63
63
|
readonly services: {};
|
|
64
64
|
readonly computed: {};
|
|
@@ -42,6 +42,7 @@ import type { PhysicsHit } from "./physics-hit.js";
|
|
|
42
42
|
export declare const physicsData: {
|
|
43
43
|
readonly components: {
|
|
44
44
|
readonly material: {
|
|
45
|
+
readonly entity: true;
|
|
45
46
|
readonly type: "integer";
|
|
46
47
|
readonly minimum: -2147483648;
|
|
47
48
|
readonly maximum: 2147483647;
|
|
@@ -251,7 +252,7 @@ export declare const physicsData: {
|
|
|
251
252
|
readonly maxItems: 4;
|
|
252
253
|
readonly default: readonly [0, 0, 0, 1];
|
|
253
254
|
readonly interpolators: {
|
|
254
|
-
readonly linear:
|
|
255
|
+
readonly linear: "slerp";
|
|
255
256
|
};
|
|
256
257
|
};
|
|
257
258
|
readonly linearVelocity: {
|
|
@@ -300,7 +301,7 @@ export declare const physicsData: {
|
|
|
300
301
|
readonly minItems: 4;
|
|
301
302
|
readonly maxItems: 4;
|
|
302
303
|
readonly interpolators: {
|
|
303
|
-
readonly linear:
|
|
304
|
+
readonly linear: "slerp";
|
|
304
305
|
};
|
|
305
306
|
};
|
|
306
307
|
readonly collisionGroup: {
|
|
@@ -332,6 +333,7 @@ export declare const physicsData: {
|
|
|
332
333
|
readonly transactions: {
|
|
333
334
|
readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
334
335
|
readonly material: {
|
|
336
|
+
readonly entity: true;
|
|
335
337
|
readonly type: "integer";
|
|
336
338
|
readonly minimum: -2147483648;
|
|
337
339
|
readonly maximum: 2147483647;
|
|
@@ -510,6 +512,7 @@ export declare const physicsData: {
|
|
|
510
512
|
}, never>, row: Material) => number;
|
|
511
513
|
readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
512
514
|
readonly material: {
|
|
515
|
+
readonly entity: true;
|
|
513
516
|
readonly type: "integer";
|
|
514
517
|
readonly minimum: -2147483648;
|
|
515
518
|
readonly maximum: 2147483647;
|
|
@@ -691,6 +694,7 @@ export declare const physicsData: {
|
|
|
691
694
|
}) => number;
|
|
692
695
|
readonly insertMaterialDefinitions: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
693
696
|
readonly material: {
|
|
697
|
+
readonly entity: true;
|
|
694
698
|
readonly type: "integer";
|
|
695
699
|
readonly minimum: -2147483648;
|
|
696
700
|
readonly maximum: 2147483647;
|
|
@@ -869,6 +873,7 @@ export declare const physicsData: {
|
|
|
869
873
|
}, never>, defs: Readonly<Record<string, import("../material/material-definition.js").MaterialDefinition>>) => void;
|
|
870
874
|
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
871
875
|
readonly material: {
|
|
876
|
+
readonly entity: true;
|
|
872
877
|
readonly type: "integer";
|
|
873
878
|
readonly minimum: -2147483648;
|
|
874
879
|
readonly maximum: 2147483647;
|
|
@@ -1047,6 +1052,7 @@ export declare const physicsData: {
|
|
|
1047
1052
|
}, never>) => void;
|
|
1048
1053
|
readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1049
1054
|
readonly material: {
|
|
1055
|
+
readonly entity: true;
|
|
1050
1056
|
readonly type: "integer";
|
|
1051
1057
|
readonly minimum: -2147483648;
|
|
1052
1058
|
readonly maximum: 2147483647;
|
|
@@ -1268,7 +1274,7 @@ export declare const physicsData: {
|
|
|
1268
1274
|
readonly maxItems: 4;
|
|
1269
1275
|
readonly default: readonly [0, 0, 0, 1];
|
|
1270
1276
|
readonly interpolators: {
|
|
1271
|
-
readonly linear:
|
|
1277
|
+
readonly linear: "slerp";
|
|
1272
1278
|
};
|
|
1273
1279
|
};
|
|
1274
1280
|
readonly linearVelocity: {
|
|
@@ -1317,7 +1323,7 @@ export declare const physicsData: {
|
|
|
1317
1323
|
readonly minItems: 4;
|
|
1318
1324
|
readonly maxItems: 4;
|
|
1319
1325
|
readonly interpolators: {
|
|
1320
|
-
readonly linear:
|
|
1326
|
+
readonly linear: "slerp";
|
|
1321
1327
|
};
|
|
1322
1328
|
};
|
|
1323
1329
|
readonly collisionGroup: {
|
|
@@ -1333,6 +1339,7 @@ export declare const physicsData: {
|
|
|
1333
1339
|
};
|
|
1334
1340
|
} & {
|
|
1335
1341
|
readonly material: {
|
|
1342
|
+
readonly entity: true;
|
|
1336
1343
|
readonly type: "integer";
|
|
1337
1344
|
readonly minimum: -2147483648;
|
|
1338
1345
|
readonly maximum: 2147483647;
|
|
@@ -1515,6 +1522,7 @@ export declare const physicsData: {
|
|
|
1515
1522
|
}, import("@adobe/data/ecs").ToTransactionFunctions<{} & {
|
|
1516
1523
|
readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1517
1524
|
readonly material: {
|
|
1525
|
+
readonly entity: true;
|
|
1518
1526
|
readonly type: "integer";
|
|
1519
1527
|
readonly minimum: -2147483648;
|
|
1520
1528
|
readonly maximum: 2147483647;
|
|
@@ -1693,6 +1701,7 @@ export declare const physicsData: {
|
|
|
1693
1701
|
}, never>, row: Material) => number;
|
|
1694
1702
|
readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1695
1703
|
readonly material: {
|
|
1704
|
+
readonly entity: true;
|
|
1696
1705
|
readonly type: "integer";
|
|
1697
1706
|
readonly minimum: -2147483648;
|
|
1698
1707
|
readonly maximum: 2147483647;
|
|
@@ -1874,6 +1883,7 @@ export declare const physicsData: {
|
|
|
1874
1883
|
}) => number;
|
|
1875
1884
|
readonly insertMaterialDefinitions: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1876
1885
|
readonly material: {
|
|
1886
|
+
readonly entity: true;
|
|
1877
1887
|
readonly type: "integer";
|
|
1878
1888
|
readonly minimum: -2147483648;
|
|
1879
1889
|
readonly maximum: 2147483647;
|
|
@@ -2052,6 +2062,7 @@ export declare const physicsData: {
|
|
|
2052
2062
|
}, never>, defs: Readonly<Record<string, import("../material/material-definition.js").MaterialDefinition>>) => void;
|
|
2053
2063
|
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
2054
2064
|
readonly material: {
|
|
2065
|
+
readonly entity: true;
|
|
2055
2066
|
readonly type: "integer";
|
|
2056
2067
|
readonly minimum: -2147483648;
|
|
2057
2068
|
readonly maximum: 2147483647;
|
|
@@ -2230,6 +2241,7 @@ export declare const physicsData: {
|
|
|
2230
2241
|
}, never>) => void;
|
|
2231
2242
|
readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
2232
2243
|
readonly material: {
|
|
2244
|
+
readonly entity: true;
|
|
2233
2245
|
readonly type: "integer";
|
|
2234
2246
|
readonly minimum: -2147483648;
|
|
2235
2247
|
readonly maximum: 2147483647;
|
|
@@ -2458,7 +2470,7 @@ export declare const physicsData: {
|
|
|
2458
2470
|
readonly maxItems: 4;
|
|
2459
2471
|
readonly default: readonly [0, 0, 0, 1];
|
|
2460
2472
|
readonly interpolators: {
|
|
2461
|
-
readonly linear:
|
|
2473
|
+
readonly linear: "slerp";
|
|
2462
2474
|
};
|
|
2463
2475
|
};
|
|
2464
2476
|
readonly linearVelocity: {
|
|
@@ -2507,7 +2519,7 @@ export declare const physicsData: {
|
|
|
2507
2519
|
readonly minItems: 4;
|
|
2508
2520
|
readonly maxItems: 4;
|
|
2509
2521
|
readonly interpolators: {
|
|
2510
|
-
readonly linear:
|
|
2522
|
+
readonly linear: "slerp";
|
|
2511
2523
|
};
|
|
2512
2524
|
};
|
|
2513
2525
|
readonly collisionGroup: {
|
|
@@ -2523,6 +2535,7 @@ export declare const physicsData: {
|
|
|
2523
2535
|
};
|
|
2524
2536
|
} & {
|
|
2525
2537
|
readonly material: {
|
|
2538
|
+
readonly entity: true;
|
|
2526
2539
|
readonly type: "integer";
|
|
2527
2540
|
readonly minimum: -2147483648;
|
|
2528
2541
|
readonly maximum: 2147483647;
|
|
@@ -2705,6 +2718,7 @@ export declare const physicsData: {
|
|
|
2705
2718
|
}, import("@adobe/data/ecs").ToTransactionFunctions<{} & {
|
|
2706
2719
|
readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
2707
2720
|
readonly material: {
|
|
2721
|
+
readonly entity: true;
|
|
2708
2722
|
readonly type: "integer";
|
|
2709
2723
|
readonly minimum: -2147483648;
|
|
2710
2724
|
readonly maximum: 2147483647;
|
|
@@ -2883,6 +2897,7 @@ export declare const physicsData: {
|
|
|
2883
2897
|
}, never>, row: Material) => number;
|
|
2884
2898
|
readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
2885
2899
|
readonly material: {
|
|
2900
|
+
readonly entity: true;
|
|
2886
2901
|
readonly type: "integer";
|
|
2887
2902
|
readonly minimum: -2147483648;
|
|
2888
2903
|
readonly maximum: 2147483647;
|
|
@@ -3064,6 +3079,7 @@ export declare const physicsData: {
|
|
|
3064
3079
|
}) => number;
|
|
3065
3080
|
readonly insertMaterialDefinitions: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
3066
3081
|
readonly material: {
|
|
3082
|
+
readonly entity: true;
|
|
3067
3083
|
readonly type: "integer";
|
|
3068
3084
|
readonly minimum: -2147483648;
|
|
3069
3085
|
readonly maximum: 2147483647;
|
|
@@ -3242,6 +3258,7 @@ export declare const physicsData: {
|
|
|
3242
3258
|
}, never>, defs: Readonly<Record<string, import("../material/material-definition.js").MaterialDefinition>>) => void;
|
|
3243
3259
|
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
3244
3260
|
readonly material: {
|
|
3261
|
+
readonly entity: true;
|
|
3245
3262
|
readonly type: "integer";
|
|
3246
3263
|
readonly minimum: -2147483648;
|
|
3247
3264
|
readonly maximum: 2147483647;
|
|
@@ -3420,6 +3437,7 @@ export declare const physicsData: {
|
|
|
3420
3437
|
}, never>) => void;
|
|
3421
3438
|
readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
3422
3439
|
readonly material: {
|
|
3440
|
+
readonly entity: true;
|
|
3423
3441
|
readonly type: "integer";
|
|
3424
3442
|
readonly minimum: -2147483648;
|
|
3425
3443
|
readonly maximum: 2147483647;
|
|
@@ -20,6 +20,7 @@ export interface JoltContext {
|
|
|
20
20
|
export declare const joltSolver: {
|
|
21
21
|
readonly components: {} & {
|
|
22
22
|
readonly material: {
|
|
23
|
+
readonly entity: true;
|
|
23
24
|
readonly type: "integer";
|
|
24
25
|
readonly minimum: -2147483648;
|
|
25
26
|
readonly maximum: 2147483647;
|
|
@@ -229,7 +230,7 @@ export declare const joltSolver: {
|
|
|
229
230
|
readonly maxItems: 4;
|
|
230
231
|
readonly default: readonly [0, 0, 0, 1];
|
|
231
232
|
readonly interpolators: {
|
|
232
|
-
readonly linear:
|
|
233
|
+
readonly linear: "slerp";
|
|
233
234
|
};
|
|
234
235
|
};
|
|
235
236
|
readonly linearVelocity: {
|
|
@@ -278,7 +279,7 @@ export declare const joltSolver: {
|
|
|
278
279
|
readonly minItems: 4;
|
|
279
280
|
readonly maxItems: 4;
|
|
280
281
|
readonly interpolators: {
|
|
281
|
-
readonly linear:
|
|
282
|
+
readonly linear: "slerp";
|
|
282
283
|
};
|
|
283
284
|
};
|
|
284
285
|
readonly collisionGroup: {
|
|
@@ -298,12 +299,14 @@ export declare const joltSolver: {
|
|
|
298
299
|
readonly enum: readonly ["fixed", "point", "hinge", "cone"];
|
|
299
300
|
};
|
|
300
301
|
readonly jointBodyA: {
|
|
302
|
+
readonly entity: true;
|
|
301
303
|
readonly type: "integer";
|
|
302
304
|
readonly minimum: -2147483648;
|
|
303
305
|
readonly maximum: 2147483647;
|
|
304
306
|
readonly default: number;
|
|
305
307
|
};
|
|
306
308
|
readonly jointBodyB: {
|
|
309
|
+
readonly entity: true;
|
|
307
310
|
readonly type: "integer";
|
|
308
311
|
readonly minimum: -2147483648;
|
|
309
312
|
readonly maximum: 2147483647;
|
|
@@ -418,6 +421,7 @@ export declare const joltSolver: {
|
|
|
418
421
|
readonly transactions: {
|
|
419
422
|
readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
420
423
|
readonly material: {
|
|
424
|
+
readonly entity: true;
|
|
421
425
|
readonly type: "integer";
|
|
422
426
|
readonly minimum: -2147483648;
|
|
423
427
|
readonly maximum: 2147483647;
|
|
@@ -596,6 +600,7 @@ export declare const joltSolver: {
|
|
|
596
600
|
}, never>, row: import("../../material/public.js")) => Entity;
|
|
597
601
|
readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
598
602
|
readonly material: {
|
|
603
|
+
readonly entity: true;
|
|
599
604
|
readonly type: "integer";
|
|
600
605
|
readonly minimum: -2147483648;
|
|
601
606
|
readonly maximum: 2147483647;
|
|
@@ -777,6 +782,7 @@ export declare const joltSolver: {
|
|
|
777
782
|
}) => Entity;
|
|
778
783
|
readonly insertMaterialDefinitions: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
779
784
|
readonly material: {
|
|
785
|
+
readonly entity: true;
|
|
780
786
|
readonly type: "integer";
|
|
781
787
|
readonly minimum: -2147483648;
|
|
782
788
|
readonly maximum: 2147483647;
|
|
@@ -955,6 +961,7 @@ export declare const joltSolver: {
|
|
|
955
961
|
}, never>, defs: Readonly<Record<string, import("../../material/material-definition.js").MaterialDefinition>>) => void;
|
|
956
962
|
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
957
963
|
readonly material: {
|
|
964
|
+
readonly entity: true;
|
|
958
965
|
readonly type: "integer";
|
|
959
966
|
readonly minimum: -2147483648;
|
|
960
967
|
readonly maximum: 2147483647;
|
|
@@ -1133,6 +1140,7 @@ export declare const joltSolver: {
|
|
|
1133
1140
|
}, never>) => void;
|
|
1134
1141
|
readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1135
1142
|
readonly material: {
|
|
1143
|
+
readonly entity: true;
|
|
1136
1144
|
readonly type: "integer";
|
|
1137
1145
|
readonly minimum: -2147483648;
|
|
1138
1146
|
readonly maximum: 2147483647;
|
|
@@ -1335,7 +1343,7 @@ export declare const joltSolver: {
|
|
|
1335
1343
|
};
|
|
1336
1344
|
}>, {}, {}, never>, hz: number) => void;
|
|
1337
1345
|
} & {} & {};
|
|
1338
|
-
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"
|
|
1346
|
+
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"_frameTime" | "update" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "advancePhysicsClock" | "joltStep">;
|
|
1339
1347
|
readonly actions: {
|
|
1340
1348
|
readonly pickRay: (db: Database<import("@adobe/data/schema").FromSchemas<{
|
|
1341
1349
|
readonly bodyType: {
|
|
@@ -1379,7 +1387,7 @@ export declare const joltSolver: {
|
|
|
1379
1387
|
readonly maxItems: 4;
|
|
1380
1388
|
readonly default: readonly [0, 0, 0, 1];
|
|
1381
1389
|
readonly interpolators: {
|
|
1382
|
-
readonly linear:
|
|
1390
|
+
readonly linear: "slerp";
|
|
1383
1391
|
};
|
|
1384
1392
|
};
|
|
1385
1393
|
readonly linearVelocity: {
|
|
@@ -1428,7 +1436,7 @@ export declare const joltSolver: {
|
|
|
1428
1436
|
readonly minItems: 4;
|
|
1429
1437
|
readonly maxItems: 4;
|
|
1430
1438
|
readonly interpolators: {
|
|
1431
|
-
readonly linear:
|
|
1439
|
+
readonly linear: "slerp";
|
|
1432
1440
|
};
|
|
1433
1441
|
};
|
|
1434
1442
|
readonly collisionGroup: {
|
|
@@ -1444,6 +1452,7 @@ export declare const joltSolver: {
|
|
|
1444
1452
|
};
|
|
1445
1453
|
} & {
|
|
1446
1454
|
readonly material: {
|
|
1455
|
+
readonly entity: true;
|
|
1447
1456
|
readonly type: "integer";
|
|
1448
1457
|
readonly minimum: -2147483648;
|
|
1449
1458
|
readonly maximum: 2147483647;
|
|
@@ -1626,6 +1635,7 @@ export declare const joltSolver: {
|
|
|
1626
1635
|
}, import("@adobe/data/ecs").ToTransactionFunctions<{} & {
|
|
1627
1636
|
readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1628
1637
|
readonly material: {
|
|
1638
|
+
readonly entity: true;
|
|
1629
1639
|
readonly type: "integer";
|
|
1630
1640
|
readonly minimum: -2147483648;
|
|
1631
1641
|
readonly maximum: 2147483647;
|
|
@@ -1804,6 +1814,7 @@ export declare const joltSolver: {
|
|
|
1804
1814
|
}, never>, row: import("../../material/public.js")) => Entity;
|
|
1805
1815
|
readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1806
1816
|
readonly material: {
|
|
1817
|
+
readonly entity: true;
|
|
1807
1818
|
readonly type: "integer";
|
|
1808
1819
|
readonly minimum: -2147483648;
|
|
1809
1820
|
readonly maximum: 2147483647;
|
|
@@ -1985,6 +1996,7 @@ export declare const joltSolver: {
|
|
|
1985
1996
|
}) => Entity;
|
|
1986
1997
|
readonly insertMaterialDefinitions: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1987
1998
|
readonly material: {
|
|
1999
|
+
readonly entity: true;
|
|
1988
2000
|
readonly type: "integer";
|
|
1989
2001
|
readonly minimum: -2147483648;
|
|
1990
2002
|
readonly maximum: 2147483647;
|
|
@@ -2163,6 +2175,7 @@ export declare const joltSolver: {
|
|
|
2163
2175
|
}, never>, defs: Readonly<Record<string, import("../../material/material-definition.js").MaterialDefinition>>) => void;
|
|
2164
2176
|
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
2165
2177
|
readonly material: {
|
|
2178
|
+
readonly entity: true;
|
|
2166
2179
|
readonly type: "integer";
|
|
2167
2180
|
readonly minimum: -2147483648;
|
|
2168
2181
|
readonly maximum: 2147483647;
|
|
@@ -2341,6 +2354,7 @@ export declare const joltSolver: {
|
|
|
2341
2354
|
}, never>) => void;
|
|
2342
2355
|
readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
2343
2356
|
readonly material: {
|
|
2357
|
+
readonly entity: true;
|
|
2344
2358
|
readonly type: "integer";
|
|
2345
2359
|
readonly minimum: -2147483648;
|
|
2346
2360
|
readonly maximum: 2147483647;
|
|
@@ -2569,7 +2583,7 @@ export declare const joltSolver: {
|
|
|
2569
2583
|
readonly maxItems: 4;
|
|
2570
2584
|
readonly default: readonly [0, 0, 0, 1];
|
|
2571
2585
|
readonly interpolators: {
|
|
2572
|
-
readonly linear:
|
|
2586
|
+
readonly linear: "slerp";
|
|
2573
2587
|
};
|
|
2574
2588
|
};
|
|
2575
2589
|
readonly linearVelocity: {
|
|
@@ -2618,7 +2632,7 @@ export declare const joltSolver: {
|
|
|
2618
2632
|
readonly minItems: 4;
|
|
2619
2633
|
readonly maxItems: 4;
|
|
2620
2634
|
readonly interpolators: {
|
|
2621
|
-
readonly linear:
|
|
2635
|
+
readonly linear: "slerp";
|
|
2622
2636
|
};
|
|
2623
2637
|
};
|
|
2624
2638
|
readonly collisionGroup: {
|
|
@@ -2634,6 +2648,7 @@ export declare const joltSolver: {
|
|
|
2634
2648
|
};
|
|
2635
2649
|
} & {
|
|
2636
2650
|
readonly material: {
|
|
2651
|
+
readonly entity: true;
|
|
2637
2652
|
readonly type: "integer";
|
|
2638
2653
|
readonly minimum: -2147483648;
|
|
2639
2654
|
readonly maximum: 2147483647;
|
|
@@ -2816,6 +2831,7 @@ export declare const joltSolver: {
|
|
|
2816
2831
|
}, import("@adobe/data/ecs").ToTransactionFunctions<{} & {
|
|
2817
2832
|
readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
2818
2833
|
readonly material: {
|
|
2834
|
+
readonly entity: true;
|
|
2819
2835
|
readonly type: "integer";
|
|
2820
2836
|
readonly minimum: -2147483648;
|
|
2821
2837
|
readonly maximum: 2147483647;
|
|
@@ -2994,6 +3010,7 @@ export declare const joltSolver: {
|
|
|
2994
3010
|
}, never>, row: import("../../material/public.js")) => Entity;
|
|
2995
3011
|
readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
2996
3012
|
readonly material: {
|
|
3013
|
+
readonly entity: true;
|
|
2997
3014
|
readonly type: "integer";
|
|
2998
3015
|
readonly minimum: -2147483648;
|
|
2999
3016
|
readonly maximum: 2147483647;
|
|
@@ -3175,6 +3192,7 @@ export declare const joltSolver: {
|
|
|
3175
3192
|
}) => Entity;
|
|
3176
3193
|
readonly insertMaterialDefinitions: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
3177
3194
|
readonly material: {
|
|
3195
|
+
readonly entity: true;
|
|
3178
3196
|
readonly type: "integer";
|
|
3179
3197
|
readonly minimum: -2147483648;
|
|
3180
3198
|
readonly maximum: 2147483647;
|
|
@@ -3353,6 +3371,7 @@ export declare const joltSolver: {
|
|
|
3353
3371
|
}, never>, defs: Readonly<Record<string, import("../../material/material-definition.js").MaterialDefinition>>) => void;
|
|
3354
3372
|
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
3355
3373
|
readonly material: {
|
|
3374
|
+
readonly entity: true;
|
|
3356
3375
|
readonly type: "integer";
|
|
3357
3376
|
readonly minimum: -2147483648;
|
|
3358
3377
|
readonly maximum: 2147483647;
|
|
@@ -3531,6 +3550,7 @@ export declare const joltSolver: {
|
|
|
3531
3550
|
}, never>) => void;
|
|
3532
3551
|
readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
3533
3552
|
readonly material: {
|
|
3553
|
+
readonly entity: true;
|
|
3534
3554
|
readonly type: "integer";
|
|
3535
3555
|
readonly minimum: -2147483648;
|
|
3536
3556
|
readonly maximum: 2147483647;
|
|
@@ -5,6 +5,7 @@ import type { PhysicsHit } from "../physics-hit.js";
|
|
|
5
5
|
export declare const rapierSolver: {
|
|
6
6
|
readonly components: {} & {
|
|
7
7
|
readonly material: {
|
|
8
|
+
readonly entity: true;
|
|
8
9
|
readonly type: "integer";
|
|
9
10
|
readonly minimum: -2147483648;
|
|
10
11
|
readonly maximum: 2147483647;
|
|
@@ -214,7 +215,7 @@ export declare const rapierSolver: {
|
|
|
214
215
|
readonly maxItems: 4;
|
|
215
216
|
readonly default: readonly [0, 0, 0, 1];
|
|
216
217
|
readonly interpolators: {
|
|
217
|
-
readonly linear:
|
|
218
|
+
readonly linear: "slerp";
|
|
218
219
|
};
|
|
219
220
|
};
|
|
220
221
|
readonly linearVelocity: {
|
|
@@ -263,7 +264,7 @@ export declare const rapierSolver: {
|
|
|
263
264
|
readonly minItems: 4;
|
|
264
265
|
readonly maxItems: 4;
|
|
265
266
|
readonly interpolators: {
|
|
266
|
-
readonly linear:
|
|
267
|
+
readonly linear: "slerp";
|
|
267
268
|
};
|
|
268
269
|
};
|
|
269
270
|
readonly collisionGroup: {
|
|
@@ -283,12 +284,14 @@ export declare const rapierSolver: {
|
|
|
283
284
|
readonly enum: readonly ["fixed", "point", "hinge", "cone"];
|
|
284
285
|
};
|
|
285
286
|
readonly jointBodyA: {
|
|
287
|
+
readonly entity: true;
|
|
286
288
|
readonly type: "integer";
|
|
287
289
|
readonly minimum: -2147483648;
|
|
288
290
|
readonly maximum: 2147483647;
|
|
289
291
|
readonly default: number;
|
|
290
292
|
};
|
|
291
293
|
readonly jointBodyB: {
|
|
294
|
+
readonly entity: true;
|
|
292
295
|
readonly type: "integer";
|
|
293
296
|
readonly minimum: -2147483648;
|
|
294
297
|
readonly maximum: 2147483647;
|
|
@@ -398,6 +401,7 @@ export declare const rapierSolver: {
|
|
|
398
401
|
readonly transactions: {
|
|
399
402
|
readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
400
403
|
readonly material: {
|
|
404
|
+
readonly entity: true;
|
|
401
405
|
readonly type: "integer";
|
|
402
406
|
readonly minimum: -2147483648;
|
|
403
407
|
readonly maximum: 2147483647;
|
|
@@ -576,6 +580,7 @@ export declare const rapierSolver: {
|
|
|
576
580
|
}, never>, row: import("../../material/public.js")) => Entity;
|
|
577
581
|
readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
578
582
|
readonly material: {
|
|
583
|
+
readonly entity: true;
|
|
579
584
|
readonly type: "integer";
|
|
580
585
|
readonly minimum: -2147483648;
|
|
581
586
|
readonly maximum: 2147483647;
|
|
@@ -757,6 +762,7 @@ export declare const rapierSolver: {
|
|
|
757
762
|
}) => Entity;
|
|
758
763
|
readonly insertMaterialDefinitions: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
759
764
|
readonly material: {
|
|
765
|
+
readonly entity: true;
|
|
760
766
|
readonly type: "integer";
|
|
761
767
|
readonly minimum: -2147483648;
|
|
762
768
|
readonly maximum: 2147483647;
|
|
@@ -935,6 +941,7 @@ export declare const rapierSolver: {
|
|
|
935
941
|
}, never>, defs: Readonly<Record<string, import("../../material/material-definition.js").MaterialDefinition>>) => void;
|
|
936
942
|
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
937
943
|
readonly material: {
|
|
944
|
+
readonly entity: true;
|
|
938
945
|
readonly type: "integer";
|
|
939
946
|
readonly minimum: -2147483648;
|
|
940
947
|
readonly maximum: 2147483647;
|
|
@@ -1113,6 +1120,7 @@ export declare const rapierSolver: {
|
|
|
1113
1120
|
}, never>) => void;
|
|
1114
1121
|
readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1115
1122
|
readonly material: {
|
|
1123
|
+
readonly entity: true;
|
|
1116
1124
|
readonly type: "integer";
|
|
1117
1125
|
readonly minimum: -2147483648;
|
|
1118
1126
|
readonly maximum: 2147483647;
|
|
@@ -1315,7 +1323,7 @@ export declare const rapierSolver: {
|
|
|
1315
1323
|
};
|
|
1316
1324
|
}>, {}, {}, never>, hz: number) => void;
|
|
1317
1325
|
} & {} & {};
|
|
1318
|
-
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"
|
|
1326
|
+
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"_frameTime" | "update" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "advancePhysicsClock" | "rapierStep">;
|
|
1319
1327
|
readonly actions: {
|
|
1320
1328
|
readonly pickRay: (db: Database<import("@adobe/data/schema").FromSchemas<{
|
|
1321
1329
|
readonly bodyType: {
|
|
@@ -1359,7 +1367,7 @@ export declare const rapierSolver: {
|
|
|
1359
1367
|
readonly maxItems: 4;
|
|
1360
1368
|
readonly default: readonly [0, 0, 0, 1];
|
|
1361
1369
|
readonly interpolators: {
|
|
1362
|
-
readonly linear:
|
|
1370
|
+
readonly linear: "slerp";
|
|
1363
1371
|
};
|
|
1364
1372
|
};
|
|
1365
1373
|
readonly linearVelocity: {
|
|
@@ -1408,7 +1416,7 @@ export declare const rapierSolver: {
|
|
|
1408
1416
|
readonly minItems: 4;
|
|
1409
1417
|
readonly maxItems: 4;
|
|
1410
1418
|
readonly interpolators: {
|
|
1411
|
-
readonly linear:
|
|
1419
|
+
readonly linear: "slerp";
|
|
1412
1420
|
};
|
|
1413
1421
|
};
|
|
1414
1422
|
readonly collisionGroup: {
|
|
@@ -1424,6 +1432,7 @@ export declare const rapierSolver: {
|
|
|
1424
1432
|
};
|
|
1425
1433
|
} & {
|
|
1426
1434
|
readonly material: {
|
|
1435
|
+
readonly entity: true;
|
|
1427
1436
|
readonly type: "integer";
|
|
1428
1437
|
readonly minimum: -2147483648;
|
|
1429
1438
|
readonly maximum: 2147483647;
|
|
@@ -1606,6 +1615,7 @@ export declare const rapierSolver: {
|
|
|
1606
1615
|
}, import("@adobe/data/ecs").ToTransactionFunctions<{} & {
|
|
1607
1616
|
readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1608
1617
|
readonly material: {
|
|
1618
|
+
readonly entity: true;
|
|
1609
1619
|
readonly type: "integer";
|
|
1610
1620
|
readonly minimum: -2147483648;
|
|
1611
1621
|
readonly maximum: 2147483647;
|
|
@@ -1784,6 +1794,7 @@ export declare const rapierSolver: {
|
|
|
1784
1794
|
}, never>, row: import("../../material/public.js")) => Entity;
|
|
1785
1795
|
readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1786
1796
|
readonly material: {
|
|
1797
|
+
readonly entity: true;
|
|
1787
1798
|
readonly type: "integer";
|
|
1788
1799
|
readonly minimum: -2147483648;
|
|
1789
1800
|
readonly maximum: 2147483647;
|
|
@@ -1965,6 +1976,7 @@ export declare const rapierSolver: {
|
|
|
1965
1976
|
}) => Entity;
|
|
1966
1977
|
readonly insertMaterialDefinitions: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1967
1978
|
readonly material: {
|
|
1979
|
+
readonly entity: true;
|
|
1968
1980
|
readonly type: "integer";
|
|
1969
1981
|
readonly minimum: -2147483648;
|
|
1970
1982
|
readonly maximum: 2147483647;
|
|
@@ -2143,6 +2155,7 @@ export declare const rapierSolver: {
|
|
|
2143
2155
|
}, never>, defs: Readonly<Record<string, import("../../material/material-definition.js").MaterialDefinition>>) => void;
|
|
2144
2156
|
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
2145
2157
|
readonly material: {
|
|
2158
|
+
readonly entity: true;
|
|
2146
2159
|
readonly type: "integer";
|
|
2147
2160
|
readonly minimum: -2147483648;
|
|
2148
2161
|
readonly maximum: 2147483647;
|
|
@@ -2321,6 +2334,7 @@ export declare const rapierSolver: {
|
|
|
2321
2334
|
}, never>) => void;
|
|
2322
2335
|
readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
2323
2336
|
readonly material: {
|
|
2337
|
+
readonly entity: true;
|
|
2324
2338
|
readonly type: "integer";
|
|
2325
2339
|
readonly minimum: -2147483648;
|
|
2326
2340
|
readonly maximum: 2147483647;
|
|
@@ -2549,7 +2563,7 @@ export declare const rapierSolver: {
|
|
|
2549
2563
|
readonly maxItems: 4;
|
|
2550
2564
|
readonly default: readonly [0, 0, 0, 1];
|
|
2551
2565
|
readonly interpolators: {
|
|
2552
|
-
readonly linear:
|
|
2566
|
+
readonly linear: "slerp";
|
|
2553
2567
|
};
|
|
2554
2568
|
};
|
|
2555
2569
|
readonly linearVelocity: {
|
|
@@ -2598,7 +2612,7 @@ export declare const rapierSolver: {
|
|
|
2598
2612
|
readonly minItems: 4;
|
|
2599
2613
|
readonly maxItems: 4;
|
|
2600
2614
|
readonly interpolators: {
|
|
2601
|
-
readonly linear:
|
|
2615
|
+
readonly linear: "slerp";
|
|
2602
2616
|
};
|
|
2603
2617
|
};
|
|
2604
2618
|
readonly collisionGroup: {
|
|
@@ -2614,6 +2628,7 @@ export declare const rapierSolver: {
|
|
|
2614
2628
|
};
|
|
2615
2629
|
} & {
|
|
2616
2630
|
readonly material: {
|
|
2631
|
+
readonly entity: true;
|
|
2617
2632
|
readonly type: "integer";
|
|
2618
2633
|
readonly minimum: -2147483648;
|
|
2619
2634
|
readonly maximum: 2147483647;
|
|
@@ -2796,6 +2811,7 @@ export declare const rapierSolver: {
|
|
|
2796
2811
|
}, import("@adobe/data/ecs").ToTransactionFunctions<{} & {
|
|
2797
2812
|
readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
2798
2813
|
readonly material: {
|
|
2814
|
+
readonly entity: true;
|
|
2799
2815
|
readonly type: "integer";
|
|
2800
2816
|
readonly minimum: -2147483648;
|
|
2801
2817
|
readonly maximum: 2147483647;
|
|
@@ -2974,6 +2990,7 @@ export declare const rapierSolver: {
|
|
|
2974
2990
|
}, never>, row: import("../../material/public.js")) => Entity;
|
|
2975
2991
|
readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
2976
2992
|
readonly material: {
|
|
2993
|
+
readonly entity: true;
|
|
2977
2994
|
readonly type: "integer";
|
|
2978
2995
|
readonly minimum: -2147483648;
|
|
2979
2996
|
readonly maximum: 2147483647;
|
|
@@ -3155,6 +3172,7 @@ export declare const rapierSolver: {
|
|
|
3155
3172
|
}) => Entity;
|
|
3156
3173
|
readonly insertMaterialDefinitions: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
3157
3174
|
readonly material: {
|
|
3175
|
+
readonly entity: true;
|
|
3158
3176
|
readonly type: "integer";
|
|
3159
3177
|
readonly minimum: -2147483648;
|
|
3160
3178
|
readonly maximum: 2147483647;
|
|
@@ -3333,6 +3351,7 @@ export declare const rapierSolver: {
|
|
|
3333
3351
|
}, never>, defs: Readonly<Record<string, import("../../material/material-definition.js").MaterialDefinition>>) => void;
|
|
3334
3352
|
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
3335
3353
|
readonly material: {
|
|
3354
|
+
readonly entity: true;
|
|
3336
3355
|
readonly type: "integer";
|
|
3337
3356
|
readonly minimum: -2147483648;
|
|
3338
3357
|
readonly maximum: 2147483647;
|
|
@@ -3511,6 +3530,7 @@ export declare const rapierSolver: {
|
|
|
3511
3530
|
}, never>) => void;
|
|
3512
3531
|
readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
3513
3532
|
readonly material: {
|
|
3533
|
+
readonly entity: true;
|
|
3514
3534
|
readonly type: "integer";
|
|
3515
3535
|
readonly minimum: -2147483648;
|
|
3516
3536
|
readonly maximum: 2147483647;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/data-gpu",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.9",
|
|
4
4
|
"description": "Adobe data WebGPU plugins and types for graphics and compute",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@dimforge/rapier3d-compat": "^0.19.3",
|
|
14
14
|
"jolt-physics": "^1.0.0",
|
|
15
|
-
"@adobe/data": "0.10.
|
|
15
|
+
"@adobe/data": "0.10.9"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@webgpu/types": "^0.1.61",
|