@adobe/data-gpu 0.9.88 → 0.9.89
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-plugin.d.ts +2 -2
- 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 +798 -861
- package/dist/graphics/rendering/bone-collider-plugin.d.ts +435 -456
- package/dist/graphics/rendering/bone-collider-plugin.js +4 -4
- package/dist/graphics/rendering/bone-collider-plugin.js.map +1 -1
- package/dist/graphics/rendering/display-transform-plugin.d.ts +2 -2
- package/dist/graphics/rendering/display-transform-plugin.js +2 -2
- package/dist/graphics/rendering/display-transform-plugin.js.map +1 -1
- package/dist/graphics/rendering/ibl-render/ibl-render-plugin.d.ts +159 -177
- package/dist/graphics/rendering/interpolation-plugin.d.ts +113 -116
- package/dist/graphics/rendering/jolt-ragdoll-plugin.d.ts +221 -242
- package/dist/graphics/rendering/material-palette-gpu/material-palette-gpu-plugin.d.ts +8 -8
- package/dist/graphics/rendering/material-palette-gpu/material-palette-gpu-plugin.js +1 -1
- package/dist/graphics/rendering/material-palette-gpu/material-palette-gpu-plugin.js.map +1 -1
- package/dist/graphics/rendering/model-collider-plugin.d.ts +353 -371
- package/dist/graphics/rendering/pbr-core-plugin.d.ts +5 -5
- package/dist/graphics/rendering/pbr-core-plugin.js +5 -5
- package/dist/graphics/rendering/pbr-core-plugin.js.map +1 -1
- package/dist/graphics/rendering/pbr-render/pbr-factor-render-plugin.d.ts +172 -190
- package/dist/graphics/rendering/pbr-render/physics-bridge-plugin.d.ts +6 -6
- package/dist/graphics/rendering/skinning/skinning-plugin.d.ts +189 -210
- package/dist/graphics/rendering/skinning/skinning-plugin.js +1 -1
- package/dist/graphics/rendering/skinning/skinning-plugin.js.map +1 -1
- package/dist/graphics/scene/model/mesh-plugin.d.ts +20 -50
- package/dist/graphics/scene/model/model-loader-plugin.d.ts +156 -174
- package/dist/graphics/scene/model/shape/shape-geometry-plugin.d.ts +73 -76
- package/dist/graphics/scene/model/world-bounds-plugin.d.ts +156 -174
- package/dist/graphics/scene/node/node-data-plugin.d.ts +2 -5
- package/dist/graphics/scene/node/node-data-plugin.js +2 -2
- package/dist/graphics/scene/node/node-data-plugin.js.map +1 -1
- package/dist/graphics/scene/node/node-plugin.d.ts +2 -5
- package/dist/graphics/scene/node/transform-plugin.d.ts +2 -5
- package/dist/graphics/scene/scene-plugin.d.ts +16 -31
- package/dist/graphics/scene/scene-uniforms/scene-uniforms-plugin.d.ts +1 -1
- package/dist/physics/physics-clock-plugin.d.ts +1 -1
- package/dist/physics/physics-data-plugin.d.ts +6 -6
- package/dist/physics/physics-data-plugin.js +2 -2
- package/dist/physics/physics-data-plugin.js.map +1 -1
- package/dist/physics/solvers/jolt-solver-plugin.d.ts +9 -9
- package/dist/physics/solvers/jolt-solver-plugin.js +2 -2
- package/dist/physics/solvers/jolt-solver-plugin.js.map +1 -1
- package/dist/physics/solvers/rapier-solver-plugin.d.ts +9 -9
- package/dist/physics/solvers/rapier-solver-plugin.js +2 -2
- package/dist/physics/solvers/rapier-solver-plugin.js.map +1 -1
- package/package.json +2 -2
- package/src/graphics/rendering/bone-collider-plugin.ts +4 -4
- package/src/graphics/rendering/display-transform-plugin.ts +2 -2
- package/src/graphics/rendering/material-palette-gpu/material-palette-gpu-plugin.ts +1 -1
- package/src/graphics/rendering/pbr-core-plugin.ts +5 -5
- package/src/graphics/rendering/skinning/skinning-plugin.ts +1 -1
- package/src/graphics/scene/node/node-data-plugin.ts +2 -2
- package/src/physics/physics-data-plugin.ts +2 -2
- package/src/physics/solvers/jolt-solver-plugin.ts +2 -2
- package/src/physics/solvers/rapier-solver-plugin.ts +2 -2
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -38,6 +38,71 @@ export declare const shapeGeometry: {
|
|
|
38
38
|
readonly archetypes: {} & {};
|
|
39
39
|
readonly transactions: {} & {} & {
|
|
40
40
|
readonly insertStaticMeshPrimitive: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{} & {
|
|
41
|
+
readonly _vertexBuffer: {
|
|
42
|
+
readonly default: GPUBuffer | null;
|
|
43
|
+
readonly nonPersistent: true;
|
|
44
|
+
};
|
|
45
|
+
readonly _skinVertexBuffer: {
|
|
46
|
+
readonly default: GPUBuffer | null;
|
|
47
|
+
readonly nonPersistent: true;
|
|
48
|
+
};
|
|
49
|
+
readonly _indexBuffer: {
|
|
50
|
+
readonly default: GPUBuffer | null;
|
|
51
|
+
readonly nonPersistent: true;
|
|
52
|
+
};
|
|
53
|
+
readonly _indexCount: {
|
|
54
|
+
readonly default: undefined;
|
|
55
|
+
readonly nonPersistent: true;
|
|
56
|
+
readonly type: "integer";
|
|
57
|
+
readonly minimum: 0;
|
|
58
|
+
readonly maximum: 4294967295;
|
|
59
|
+
};
|
|
60
|
+
readonly _indexFormat: {
|
|
61
|
+
readonly default: GPUIndexFormat;
|
|
62
|
+
readonly nonPersistent: true;
|
|
63
|
+
};
|
|
64
|
+
readonly _materialBindGroup: {
|
|
65
|
+
readonly default: GPUBindGroup | null;
|
|
66
|
+
readonly nonPersistent: true;
|
|
67
|
+
};
|
|
68
|
+
readonly _mesh: {
|
|
69
|
+
readonly default: undefined;
|
|
70
|
+
readonly nonPersistent: true;
|
|
71
|
+
readonly type: "integer";
|
|
72
|
+
readonly minimum: -2147483648;
|
|
73
|
+
readonly maximum: 2147483647;
|
|
74
|
+
};
|
|
75
|
+
readonly _material: {
|
|
76
|
+
readonly default: undefined;
|
|
77
|
+
readonly nonPersistent: true;
|
|
78
|
+
readonly type: "integer";
|
|
79
|
+
readonly minimum: -2147483648;
|
|
80
|
+
readonly maximum: 2147483647;
|
|
81
|
+
};
|
|
82
|
+
readonly _nodeLocalMatrix: {
|
|
83
|
+
readonly default: undefined;
|
|
84
|
+
readonly nonPersistent: true;
|
|
85
|
+
readonly type: "array";
|
|
86
|
+
readonly items: {
|
|
87
|
+
readonly type: "number";
|
|
88
|
+
readonly precision: 1;
|
|
89
|
+
readonly default: number;
|
|
90
|
+
};
|
|
91
|
+
readonly minItems: 16;
|
|
92
|
+
readonly maxItems: 16;
|
|
93
|
+
};
|
|
94
|
+
readonly _skeletonModelRef: {
|
|
95
|
+
readonly default: undefined;
|
|
96
|
+
readonly nonPersistent: true;
|
|
97
|
+
readonly type: "integer";
|
|
98
|
+
readonly minimum: -2147483648;
|
|
99
|
+
readonly maximum: 2147483647;
|
|
100
|
+
};
|
|
101
|
+
readonly _skeletonJointMatrixBindGroup: {
|
|
102
|
+
readonly default: GPUBindGroup | null;
|
|
103
|
+
readonly nonPersistent: true;
|
|
104
|
+
};
|
|
105
|
+
} & {
|
|
41
106
|
readonly visible: {
|
|
42
107
|
readonly type: "boolean";
|
|
43
108
|
readonly const: true;
|
|
@@ -86,6 +151,7 @@ export declare const shapeGeometry: {
|
|
|
86
151
|
readonly default: number;
|
|
87
152
|
};
|
|
88
153
|
readonly _worldMatrix: {
|
|
154
|
+
readonly default: undefined;
|
|
89
155
|
readonly nonPersistent: true;
|
|
90
156
|
readonly type: "array";
|
|
91
157
|
readonly items: {
|
|
@@ -95,9 +161,9 @@ export declare const shapeGeometry: {
|
|
|
95
161
|
};
|
|
96
162
|
readonly minItems: 16;
|
|
97
163
|
readonly maxItems: 16;
|
|
98
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
99
164
|
};
|
|
100
165
|
readonly _worldBounds: {
|
|
166
|
+
readonly default: undefined;
|
|
101
167
|
readonly nonPersistent: true;
|
|
102
168
|
readonly type: "object";
|
|
103
169
|
readonly properties: {
|
|
@@ -126,10 +192,6 @@ export declare const shapeGeometry: {
|
|
|
126
192
|
};
|
|
127
193
|
readonly required: readonly ["min", "max"];
|
|
128
194
|
readonly additionalProperties: false;
|
|
129
|
-
readonly default: {
|
|
130
|
-
readonly min: readonly [0, 0, 0];
|
|
131
|
-
readonly max: readonly [0, 0, 0];
|
|
132
|
-
};
|
|
133
195
|
};
|
|
134
196
|
} & {
|
|
135
197
|
readonly material: {
|
|
@@ -341,71 +403,6 @@ export declare const shapeGeometry: {
|
|
|
341
403
|
weights: Float32Array;
|
|
342
404
|
} | null;
|
|
343
405
|
};
|
|
344
|
-
} & {
|
|
345
|
-
readonly _vertexBuffer: {
|
|
346
|
-
readonly default: GPUBuffer | null;
|
|
347
|
-
readonly nonPersistent: true;
|
|
348
|
-
};
|
|
349
|
-
readonly _skinVertexBuffer: {
|
|
350
|
-
readonly default: GPUBuffer | null;
|
|
351
|
-
readonly nonPersistent: true;
|
|
352
|
-
};
|
|
353
|
-
readonly _indexBuffer: {
|
|
354
|
-
readonly default: GPUBuffer | null;
|
|
355
|
-
readonly nonPersistent: true;
|
|
356
|
-
};
|
|
357
|
-
readonly _indexCount: {
|
|
358
|
-
readonly nonPersistent: true;
|
|
359
|
-
readonly type: "integer";
|
|
360
|
-
readonly minimum: 0;
|
|
361
|
-
readonly maximum: 4294967295;
|
|
362
|
-
readonly default: number;
|
|
363
|
-
};
|
|
364
|
-
readonly _indexFormat: {
|
|
365
|
-
readonly default: GPUIndexFormat;
|
|
366
|
-
readonly nonPersistent: true;
|
|
367
|
-
};
|
|
368
|
-
readonly _materialBindGroup: {
|
|
369
|
-
readonly default: GPUBindGroup | null;
|
|
370
|
-
readonly nonPersistent: true;
|
|
371
|
-
};
|
|
372
|
-
readonly _mesh: {
|
|
373
|
-
readonly nonPersistent: true;
|
|
374
|
-
readonly type: "integer";
|
|
375
|
-
readonly minimum: -2147483648;
|
|
376
|
-
readonly maximum: 2147483647;
|
|
377
|
-
readonly default: number;
|
|
378
|
-
};
|
|
379
|
-
readonly _material: {
|
|
380
|
-
readonly nonPersistent: true;
|
|
381
|
-
readonly type: "integer";
|
|
382
|
-
readonly minimum: -2147483648;
|
|
383
|
-
readonly maximum: 2147483647;
|
|
384
|
-
readonly default: number;
|
|
385
|
-
};
|
|
386
|
-
readonly _nodeLocalMatrix: {
|
|
387
|
-
readonly nonPersistent: true;
|
|
388
|
-
readonly type: "array";
|
|
389
|
-
readonly items: {
|
|
390
|
-
readonly type: "number";
|
|
391
|
-
readonly precision: 1;
|
|
392
|
-
readonly default: number;
|
|
393
|
-
};
|
|
394
|
-
readonly minItems: 16;
|
|
395
|
-
readonly maxItems: 16;
|
|
396
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
397
|
-
};
|
|
398
|
-
readonly _skeletonModelRef: {
|
|
399
|
-
readonly nonPersistent: true;
|
|
400
|
-
readonly type: "integer";
|
|
401
|
-
readonly minimum: -2147483648;
|
|
402
|
-
readonly maximum: 2147483647;
|
|
403
|
-
readonly default: number;
|
|
404
|
-
};
|
|
405
|
-
readonly _skeletonJointMatrixBindGroup: {
|
|
406
|
-
readonly default: GPUBindGroup | null;
|
|
407
|
-
readonly nonPersistent: true;
|
|
408
|
-
};
|
|
409
406
|
}>, import("@adobe/data/schema").FromSchemas<{
|
|
410
407
|
readonly _shapeMeshes: {
|
|
411
408
|
readonly default: {
|
|
@@ -438,6 +435,9 @@ export declare const shapeGeometry: {
|
|
|
438
435
|
readonly nonPersistent: true;
|
|
439
436
|
};
|
|
440
437
|
}>, {} & {} & {
|
|
438
|
+
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
439
|
+
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
440
|
+
} & {
|
|
441
441
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
442
442
|
} & {} & {
|
|
443
443
|
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"];
|
|
@@ -448,10 +448,7 @@ export declare const shapeGeometry: {
|
|
|
448
448
|
readonly SkinnedMesh: readonly ["localBounds", "skinJointTemplate", "skinInverseBindMatrices", "animationClipRefs"];
|
|
449
449
|
readonly MeshInstance: readonly ["mesh", "position", "rotation", "scale", "visible", "material"];
|
|
450
450
|
readonly Model: readonly ["mesh", "position", "rotation", "scale", "visible", "parent"];
|
|
451
|
-
} & {
|
|
452
|
-
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
453
|
-
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
454
|
-
}, {} & {} & {
|
|
451
|
+
}, {} & {} & {} & {
|
|
455
452
|
readonly nodeChildrenOf: {
|
|
456
453
|
readonly key: "parent";
|
|
457
454
|
readonly archetype: "Node";
|
|
@@ -462,7 +459,7 @@ export declare const shapeGeometry: {
|
|
|
462
459
|
readonly unique: true;
|
|
463
460
|
readonly archetype: "Material";
|
|
464
461
|
};
|
|
465
|
-
} & {}
|
|
462
|
+
} & {}, never>, args: {
|
|
466
463
|
mesh?: Entity;
|
|
467
464
|
vertexBuffer: GPUBuffer;
|
|
468
465
|
indexBuffer: GPUBuffer;
|
|
@@ -470,7 +467,7 @@ export declare const shapeGeometry: {
|
|
|
470
467
|
localBounds: Aabb;
|
|
471
468
|
}) => Entity;
|
|
472
469
|
};
|
|
473
|
-
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"
|
|
470
|
+
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"update" | "_frameTime" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "shapeGeometryInit" | "shapeMeshBake">;
|
|
474
471
|
readonly actions: {};
|
|
475
472
|
readonly services: {};
|
|
476
473
|
readonly computed: {};
|