@adobe/data-gpu 0.9.69 → 0.9.70
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 +4 -4
- package/dist/core/core-plugin.js +2 -2
- package/dist/core/core-plugin.js.map +1 -1
- package/dist/core/frame-time/frame-time-plugin.d.ts +1 -1
- package/dist/core/frame-time/frame-time-plugin.js +1 -1
- package/dist/core/frame-time/frame-time-plugin.js.map +1 -1
- package/dist/graphics/animation/animation-plugin.d.ts +3 -3
- package/dist/graphics/camera/camera-plugin.d.ts +21 -21
- package/dist/graphics/camera/orbit/orbit-data-plugin.d.ts +51 -51
- package/dist/graphics/camera/orbit/orbit-plugin.d.ts +51 -51
- package/dist/graphics/camera/orbit/orbit-system-plugin.d.ts +51 -51
- package/dist/graphics/graphics-plugin.d.ts +21 -21
- package/dist/graphics/graphics-plugin.js +7 -7
- package/dist/graphics/graphics-plugin.js.map +1 -1
- package/dist/graphics/picking/picking-plugin.d.ts +622 -622
- package/dist/graphics/rendering/bone-collider-plugin.d.ts +260 -260
- package/dist/graphics/rendering/ibl-render/ibl-render-plugin.d.ts +103 -103
- package/dist/graphics/rendering/ibl-render/ibl-render-plugin.js +4 -4
- package/dist/graphics/rendering/ibl-render/ibl-render-plugin.js.map +1 -1
- package/dist/graphics/rendering/interpolation-plugin.d.ts +133 -133
- package/dist/graphics/rendering/jolt-ragdoll-plugin.d.ts +208 -208
- package/dist/graphics/rendering/material-gpu/material-gpu-plugin.d.ts +7 -7
- package/dist/graphics/rendering/material-gpu/material-gpu-plugin.js +3 -3
- package/dist/graphics/rendering/material-gpu/material-gpu-plugin.js.map +1 -1
- package/dist/graphics/rendering/model-collider-plugin.d.ts +126 -126
- package/dist/graphics/rendering/pbr-render/pbr-render-plugin.d.ts +106 -106
- package/dist/graphics/rendering/pbr-render/physics-bridge-plugin.d.ts +261 -261
- package/dist/graphics/rendering/ragdoll-trigger-plugin.d.ts +2 -2
- package/dist/graphics/rendering/ragdoll-trigger-plugin.js +1 -1
- package/dist/graphics/rendering/ragdoll-trigger-plugin.js.map +1 -1
- package/dist/graphics/rendering/skinning/skinning-plugin.d.ts +156 -156
- package/dist/graphics/scene/model/model-loader-plugin.d.ts +126 -126
- package/dist/graphics/scene/model/shape/shape-geometry-plugin.d.ts +125 -125
- package/dist/graphics/scene/model/shape/shape-geometry-plugin.js +1 -1
- package/dist/graphics/scene/model/shape/shape-geometry-plugin.js.map +1 -1
- package/dist/graphics/scene/model/world-bounds-plugin.d.ts +121 -121
- package/dist/graphics/scene/scene-plugin.d.ts +36 -36
- package/dist/graphics/scene/scene-uniforms/scene-uniforms-plugin.d.ts +34 -34
- package/dist/graphics/scene/scene-uniforms/scene-uniforms-plugin.js +1 -1
- package/dist/graphics/scene/scene-uniforms/scene-uniforms-plugin.js.map +1 -1
- package/dist/physics/physics-clock-plugin.d.ts +9 -9
- package/dist/physics/physics-clock-plugin.js +1 -1
- package/dist/physics/physics-clock-plugin.js.map +1 -1
- package/dist/physics/solvers/jolt-solver-plugin.d.ts +38 -38
- package/dist/physics/solvers/jolt-solver-plugin.js +1 -1
- package/dist/physics/solvers/jolt-solver-plugin.js.map +1 -1
- package/dist/physics/solvers/rapier-solver-plugin.d.ts +37 -37
- package/package.json +2 -2
- package/src/core/core-plugin.ts +2 -2
- package/src/core/frame-time/frame-time-plugin.ts +1 -1
- package/src/graphics/graphics-plugin.ts +7 -7
- package/src/graphics/rendering/ibl-render/ibl-render-plugin.ts +4 -4
- package/src/graphics/rendering/material-gpu/material-gpu-plugin.ts +3 -3
- package/src/graphics/rendering/ragdoll-trigger-plugin.ts +1 -1
- package/src/graphics/scene/model/shape/shape-geometry-plugin.ts +1 -1
- package/src/graphics/scene/scene-uniforms/scene-uniforms-plugin.ts +1 -1
- package/src/physics/physics-clock-plugin.ts +1 -1
- package/src/physics/solvers/jolt-solver-plugin.ts +1 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -35,6 +35,60 @@ export interface LoadedArgs {
|
|
|
35
35
|
*/
|
|
36
36
|
export declare const modelLoader: {
|
|
37
37
|
readonly components: {} & {
|
|
38
|
+
readonly _vertexBuffer: {
|
|
39
|
+
readonly default: GPUBuffer | null;
|
|
40
|
+
};
|
|
41
|
+
readonly _skinVertexBuffer: {
|
|
42
|
+
readonly default: GPUBuffer | null;
|
|
43
|
+
};
|
|
44
|
+
readonly _indexBuffer: {
|
|
45
|
+
readonly default: GPUBuffer | null;
|
|
46
|
+
};
|
|
47
|
+
readonly _indexCount: {
|
|
48
|
+
readonly type: "integer";
|
|
49
|
+
readonly minimum: 0;
|
|
50
|
+
readonly maximum: 4294967295;
|
|
51
|
+
readonly default: number;
|
|
52
|
+
};
|
|
53
|
+
readonly _indexFormat: {
|
|
54
|
+
readonly default: GPUIndexFormat;
|
|
55
|
+
};
|
|
56
|
+
readonly _materialBindGroup: {
|
|
57
|
+
readonly default: GPUBindGroup | null;
|
|
58
|
+
};
|
|
59
|
+
readonly _geometry: {
|
|
60
|
+
readonly type: "integer";
|
|
61
|
+
readonly minimum: -2147483648;
|
|
62
|
+
readonly maximum: 2147483647;
|
|
63
|
+
readonly default: number;
|
|
64
|
+
};
|
|
65
|
+
readonly _material: {
|
|
66
|
+
readonly type: "integer";
|
|
67
|
+
readonly minimum: -2147483648;
|
|
68
|
+
readonly maximum: 2147483647;
|
|
69
|
+
readonly default: number;
|
|
70
|
+
};
|
|
71
|
+
readonly _nodeLocalMatrix: {
|
|
72
|
+
readonly type: "array";
|
|
73
|
+
readonly items: {
|
|
74
|
+
readonly type: "number";
|
|
75
|
+
readonly precision: 1;
|
|
76
|
+
readonly default: number;
|
|
77
|
+
};
|
|
78
|
+
readonly minItems: 16;
|
|
79
|
+
readonly maxItems: 16;
|
|
80
|
+
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
81
|
+
};
|
|
82
|
+
readonly _skeletonModelRef: {
|
|
83
|
+
readonly type: "integer";
|
|
84
|
+
readonly minimum: -2147483648;
|
|
85
|
+
readonly maximum: 2147483647;
|
|
86
|
+
readonly default: number;
|
|
87
|
+
};
|
|
88
|
+
readonly _skeletonJointMatrixBindGroup: {
|
|
89
|
+
readonly default: GPUBindGroup | null;
|
|
90
|
+
};
|
|
91
|
+
} & {
|
|
38
92
|
readonly visible: {
|
|
39
93
|
readonly type: "boolean";
|
|
40
94
|
readonly const: true;
|
|
@@ -175,60 +229,6 @@ export declare const modelLoader: {
|
|
|
175
229
|
readonly const: true;
|
|
176
230
|
readonly default: true;
|
|
177
231
|
};
|
|
178
|
-
} & {
|
|
179
|
-
readonly _vertexBuffer: {
|
|
180
|
-
readonly default: GPUBuffer | null;
|
|
181
|
-
};
|
|
182
|
-
readonly _skinVertexBuffer: {
|
|
183
|
-
readonly default: GPUBuffer | null;
|
|
184
|
-
};
|
|
185
|
-
readonly _indexBuffer: {
|
|
186
|
-
readonly default: GPUBuffer | null;
|
|
187
|
-
};
|
|
188
|
-
readonly _indexCount: {
|
|
189
|
-
readonly type: "integer";
|
|
190
|
-
readonly minimum: 0;
|
|
191
|
-
readonly maximum: 4294967295;
|
|
192
|
-
readonly default: number;
|
|
193
|
-
};
|
|
194
|
-
readonly _indexFormat: {
|
|
195
|
-
readonly default: GPUIndexFormat;
|
|
196
|
-
};
|
|
197
|
-
readonly _materialBindGroup: {
|
|
198
|
-
readonly default: GPUBindGroup | null;
|
|
199
|
-
};
|
|
200
|
-
readonly _geometry: {
|
|
201
|
-
readonly type: "integer";
|
|
202
|
-
readonly minimum: -2147483648;
|
|
203
|
-
readonly maximum: 2147483647;
|
|
204
|
-
readonly default: number;
|
|
205
|
-
};
|
|
206
|
-
readonly _material: {
|
|
207
|
-
readonly type: "integer";
|
|
208
|
-
readonly minimum: -2147483648;
|
|
209
|
-
readonly maximum: 2147483647;
|
|
210
|
-
readonly default: number;
|
|
211
|
-
};
|
|
212
|
-
readonly _nodeLocalMatrix: {
|
|
213
|
-
readonly type: "array";
|
|
214
|
-
readonly items: {
|
|
215
|
-
readonly type: "number";
|
|
216
|
-
readonly precision: 1;
|
|
217
|
-
readonly default: number;
|
|
218
|
-
};
|
|
219
|
-
readonly minItems: 16;
|
|
220
|
-
readonly maxItems: 16;
|
|
221
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
222
|
-
};
|
|
223
|
-
readonly _skeletonModelRef: {
|
|
224
|
-
readonly type: "integer";
|
|
225
|
-
readonly minimum: -2147483648;
|
|
226
|
-
readonly maximum: 2147483647;
|
|
227
|
-
readonly default: number;
|
|
228
|
-
};
|
|
229
|
-
readonly _skeletonJointMatrixBindGroup: {
|
|
230
|
-
readonly default: GPUBindGroup | null;
|
|
231
|
-
};
|
|
232
232
|
} & {
|
|
233
233
|
readonly _bounds: {
|
|
234
234
|
readonly default: Aabb | null;
|
|
@@ -259,7 +259,7 @@ export declare const modelLoader: {
|
|
|
259
259
|
readonly resources: {} & {
|
|
260
260
|
readonly frameTime: {
|
|
261
261
|
readonly default: import("../../../core/frame-time/public.js");
|
|
262
|
-
readonly
|
|
262
|
+
readonly nonPersistent: true;
|
|
263
263
|
};
|
|
264
264
|
} & {
|
|
265
265
|
readonly schedulerState: {
|
|
@@ -268,14 +268,17 @@ export declare const modelLoader: {
|
|
|
268
268
|
} & {
|
|
269
269
|
readonly device: {
|
|
270
270
|
readonly default: GPUDevice | null;
|
|
271
|
-
readonly
|
|
271
|
+
readonly nonPersistent: true;
|
|
272
272
|
};
|
|
273
273
|
readonly commandEncoder: {
|
|
274
274
|
readonly default: GPUCommandEncoder | null;
|
|
275
|
-
readonly
|
|
275
|
+
readonly nonPersistent: true;
|
|
276
276
|
};
|
|
277
277
|
};
|
|
278
278
|
readonly archetypes: {} & {
|
|
279
|
+
readonly _VisibleMaterial: readonly ["ephemeral", "_materialBindGroup", "_geometry"];
|
|
280
|
+
readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
|
|
281
|
+
} & {
|
|
279
282
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
280
283
|
} & {} & {
|
|
281
284
|
readonly Geometry: readonly ["modelUrl"];
|
|
@@ -284,11 +287,8 @@ export declare const modelLoader: {
|
|
|
284
287
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
285
288
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
286
289
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
287
|
-
} & {} & {
|
|
288
|
-
|
|
289
|
-
readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
|
|
290
|
-
} & {};
|
|
291
|
-
readonly transactions: {} & {} & {
|
|
290
|
+
} & {} & {};
|
|
291
|
+
readonly transactions: {} & {} & {} & {} & {} & {
|
|
292
292
|
readonly insertGeometry: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
|
|
293
293
|
readonly modelUrl: {
|
|
294
294
|
readonly type: "string";
|
|
@@ -513,7 +513,7 @@ export declare const modelLoader: {
|
|
|
513
513
|
scale?: readonly [number, number, number];
|
|
514
514
|
parent?: number;
|
|
515
515
|
}) => number;
|
|
516
|
-
} & {} & {
|
|
516
|
+
} & {} & {
|
|
517
517
|
readonly insertAnimationClip: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{} & {
|
|
518
518
|
readonly animationClipTracks: {
|
|
519
519
|
readonly default: import("../../animation/animation-track/public.js")[];
|
|
@@ -660,7 +660,7 @@ export declare const modelLoader: {
|
|
|
660
660
|
dt: number;
|
|
661
661
|
observable: boolean;
|
|
662
662
|
}) => void;
|
|
663
|
-
} & {} & {
|
|
663
|
+
} & {} & {
|
|
664
664
|
readonly insertLoadedPrimitives: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
|
|
665
665
|
readonly _bounds: {
|
|
666
666
|
readonly default: Aabb | null;
|
|
@@ -688,6 +688,60 @@ export declare const modelLoader: {
|
|
|
688
688
|
} | null;
|
|
689
689
|
};
|
|
690
690
|
} & {} & {
|
|
691
|
+
readonly _vertexBuffer: {
|
|
692
|
+
readonly default: GPUBuffer | null;
|
|
693
|
+
};
|
|
694
|
+
readonly _skinVertexBuffer: {
|
|
695
|
+
readonly default: GPUBuffer | null;
|
|
696
|
+
};
|
|
697
|
+
readonly _indexBuffer: {
|
|
698
|
+
readonly default: GPUBuffer | null;
|
|
699
|
+
};
|
|
700
|
+
readonly _indexCount: {
|
|
701
|
+
readonly type: "integer";
|
|
702
|
+
readonly minimum: 0;
|
|
703
|
+
readonly maximum: 4294967295;
|
|
704
|
+
readonly default: number;
|
|
705
|
+
};
|
|
706
|
+
readonly _indexFormat: {
|
|
707
|
+
readonly default: GPUIndexFormat;
|
|
708
|
+
};
|
|
709
|
+
readonly _materialBindGroup: {
|
|
710
|
+
readonly default: GPUBindGroup | null;
|
|
711
|
+
};
|
|
712
|
+
readonly _geometry: {
|
|
713
|
+
readonly type: "integer";
|
|
714
|
+
readonly minimum: -2147483648;
|
|
715
|
+
readonly maximum: 2147483647;
|
|
716
|
+
readonly default: number;
|
|
717
|
+
};
|
|
718
|
+
readonly _material: {
|
|
719
|
+
readonly type: "integer";
|
|
720
|
+
readonly minimum: -2147483648;
|
|
721
|
+
readonly maximum: 2147483647;
|
|
722
|
+
readonly default: number;
|
|
723
|
+
};
|
|
724
|
+
readonly _nodeLocalMatrix: {
|
|
725
|
+
readonly type: "array";
|
|
726
|
+
readonly items: {
|
|
727
|
+
readonly type: "number";
|
|
728
|
+
readonly precision: 1;
|
|
729
|
+
readonly default: number;
|
|
730
|
+
};
|
|
731
|
+
readonly minItems: 16;
|
|
732
|
+
readonly maxItems: 16;
|
|
733
|
+
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
734
|
+
};
|
|
735
|
+
readonly _skeletonModelRef: {
|
|
736
|
+
readonly type: "integer";
|
|
737
|
+
readonly minimum: -2147483648;
|
|
738
|
+
readonly maximum: 2147483647;
|
|
739
|
+
readonly default: number;
|
|
740
|
+
};
|
|
741
|
+
readonly _skeletonJointMatrixBindGroup: {
|
|
742
|
+
readonly default: GPUBindGroup | null;
|
|
743
|
+
};
|
|
744
|
+
} & {
|
|
691
745
|
readonly visible: {
|
|
692
746
|
readonly type: "boolean";
|
|
693
747
|
readonly const: true;
|
|
@@ -828,64 +882,10 @@ export declare const modelLoader: {
|
|
|
828
882
|
readonly const: true;
|
|
829
883
|
readonly default: true;
|
|
830
884
|
};
|
|
831
|
-
} & {
|
|
832
|
-
readonly _vertexBuffer: {
|
|
833
|
-
readonly default: GPUBuffer | null;
|
|
834
|
-
};
|
|
835
|
-
readonly _skinVertexBuffer: {
|
|
836
|
-
readonly default: GPUBuffer | null;
|
|
837
|
-
};
|
|
838
|
-
readonly _indexBuffer: {
|
|
839
|
-
readonly default: GPUBuffer | null;
|
|
840
|
-
};
|
|
841
|
-
readonly _indexCount: {
|
|
842
|
-
readonly type: "integer";
|
|
843
|
-
readonly minimum: 0;
|
|
844
|
-
readonly maximum: 4294967295;
|
|
845
|
-
readonly default: number;
|
|
846
|
-
};
|
|
847
|
-
readonly _indexFormat: {
|
|
848
|
-
readonly default: GPUIndexFormat;
|
|
849
|
-
};
|
|
850
|
-
readonly _materialBindGroup: {
|
|
851
|
-
readonly default: GPUBindGroup | null;
|
|
852
|
-
};
|
|
853
|
-
readonly _geometry: {
|
|
854
|
-
readonly type: "integer";
|
|
855
|
-
readonly minimum: -2147483648;
|
|
856
|
-
readonly maximum: 2147483647;
|
|
857
|
-
readonly default: number;
|
|
858
|
-
};
|
|
859
|
-
readonly _material: {
|
|
860
|
-
readonly type: "integer";
|
|
861
|
-
readonly minimum: -2147483648;
|
|
862
|
-
readonly maximum: 2147483647;
|
|
863
|
-
readonly default: number;
|
|
864
|
-
};
|
|
865
|
-
readonly _nodeLocalMatrix: {
|
|
866
|
-
readonly type: "array";
|
|
867
|
-
readonly items: {
|
|
868
|
-
readonly type: "number";
|
|
869
|
-
readonly precision: 1;
|
|
870
|
-
readonly default: number;
|
|
871
|
-
};
|
|
872
|
-
readonly minItems: 16;
|
|
873
|
-
readonly maxItems: 16;
|
|
874
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
875
|
-
};
|
|
876
|
-
readonly _skeletonModelRef: {
|
|
877
|
-
readonly type: "integer";
|
|
878
|
-
readonly minimum: -2147483648;
|
|
879
|
-
readonly maximum: 2147483647;
|
|
880
|
-
readonly default: number;
|
|
881
|
-
};
|
|
882
|
-
readonly _skeletonJointMatrixBindGroup: {
|
|
883
|
-
readonly default: GPUBindGroup | null;
|
|
884
|
-
};
|
|
885
885
|
}>, import("@adobe/data/schema").FromSchemas<{} & {
|
|
886
886
|
readonly frameTime: {
|
|
887
887
|
readonly default: import("../../../core/frame-time/public.js");
|
|
888
|
-
readonly
|
|
888
|
+
readonly nonPersistent: true;
|
|
889
889
|
};
|
|
890
890
|
} & {
|
|
891
891
|
readonly schedulerState: {
|
|
@@ -894,13 +894,16 @@ export declare const modelLoader: {
|
|
|
894
894
|
} & {
|
|
895
895
|
readonly device: {
|
|
896
896
|
readonly default: GPUDevice | null;
|
|
897
|
-
readonly
|
|
897
|
+
readonly nonPersistent: true;
|
|
898
898
|
};
|
|
899
899
|
readonly commandEncoder: {
|
|
900
900
|
readonly default: GPUCommandEncoder | null;
|
|
901
|
-
readonly
|
|
901
|
+
readonly nonPersistent: true;
|
|
902
902
|
};
|
|
903
903
|
}>, {} & {} & {
|
|
904
|
+
readonly _VisibleMaterial: readonly ["ephemeral", "_materialBindGroup", "_geometry"];
|
|
905
|
+
readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
|
|
906
|
+
} & {
|
|
904
907
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
905
908
|
} & {} & {
|
|
906
909
|
readonly Geometry: readonly ["modelUrl"];
|
|
@@ -909,12 +912,9 @@ export declare const modelLoader: {
|
|
|
909
912
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
910
913
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
911
914
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
912
|
-
} & {} & {
|
|
913
|
-
readonly _VisibleMaterial: readonly ["ephemeral", "_materialBindGroup", "_geometry"];
|
|
914
|
-
readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
|
|
915
|
-
}, {} & {} & {} & {} & {} & {} & {} & {} & {}>, args: LoadedArgs) => void;
|
|
915
|
+
} & {}, {} & {} & {} & {} & {} & {} & {} & {} & {}>, args: LoadedArgs) => void;
|
|
916
916
|
};
|
|
917
|
-
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"
|
|
917
|
+
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"_frameTime" | "update" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "transformCreateWorldMatrix" | "transformSystem" | "animationSampleSystem" | "modelLoadSystem">;
|
|
918
918
|
readonly actions: {};
|
|
919
919
|
readonly services: {};
|
|
920
920
|
readonly computed: {};
|
|
@@ -9,6 +9,60 @@ import { type Entity } from "@adobe/data/ecs";
|
|
|
9
9
|
*/
|
|
10
10
|
export declare const shapeGeometry: {
|
|
11
11
|
readonly components: {} & {
|
|
12
|
+
readonly _vertexBuffer: {
|
|
13
|
+
readonly default: GPUBuffer | null;
|
|
14
|
+
};
|
|
15
|
+
readonly _skinVertexBuffer: {
|
|
16
|
+
readonly default: GPUBuffer | null;
|
|
17
|
+
};
|
|
18
|
+
readonly _indexBuffer: {
|
|
19
|
+
readonly default: GPUBuffer | null;
|
|
20
|
+
};
|
|
21
|
+
readonly _indexCount: {
|
|
22
|
+
readonly type: "integer";
|
|
23
|
+
readonly minimum: 0;
|
|
24
|
+
readonly maximum: 4294967295;
|
|
25
|
+
readonly default: number;
|
|
26
|
+
};
|
|
27
|
+
readonly _indexFormat: {
|
|
28
|
+
readonly default: GPUIndexFormat;
|
|
29
|
+
};
|
|
30
|
+
readonly _materialBindGroup: {
|
|
31
|
+
readonly default: GPUBindGroup | null;
|
|
32
|
+
};
|
|
33
|
+
readonly _geometry: {
|
|
34
|
+
readonly type: "integer";
|
|
35
|
+
readonly minimum: -2147483648;
|
|
36
|
+
readonly maximum: 2147483647;
|
|
37
|
+
readonly default: number;
|
|
38
|
+
};
|
|
39
|
+
readonly _material: {
|
|
40
|
+
readonly type: "integer";
|
|
41
|
+
readonly minimum: -2147483648;
|
|
42
|
+
readonly maximum: 2147483647;
|
|
43
|
+
readonly default: number;
|
|
44
|
+
};
|
|
45
|
+
readonly _nodeLocalMatrix: {
|
|
46
|
+
readonly type: "array";
|
|
47
|
+
readonly items: {
|
|
48
|
+
readonly type: "number";
|
|
49
|
+
readonly precision: 1;
|
|
50
|
+
readonly default: number;
|
|
51
|
+
};
|
|
52
|
+
readonly minItems: 16;
|
|
53
|
+
readonly maxItems: 16;
|
|
54
|
+
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
55
|
+
};
|
|
56
|
+
readonly _skeletonModelRef: {
|
|
57
|
+
readonly type: "integer";
|
|
58
|
+
readonly minimum: -2147483648;
|
|
59
|
+
readonly maximum: 2147483647;
|
|
60
|
+
readonly default: number;
|
|
61
|
+
};
|
|
62
|
+
readonly _skeletonJointMatrixBindGroup: {
|
|
63
|
+
readonly default: GPUBindGroup | null;
|
|
64
|
+
};
|
|
65
|
+
} & {
|
|
12
66
|
readonly visible: {
|
|
13
67
|
readonly type: "boolean";
|
|
14
68
|
readonly const: true;
|
|
@@ -110,65 +164,11 @@ export declare const shapeGeometry: {
|
|
|
110
164
|
readonly maximum: 2147483647;
|
|
111
165
|
readonly default: number;
|
|
112
166
|
};
|
|
113
|
-
} & {
|
|
114
|
-
readonly _vertexBuffer: {
|
|
115
|
-
readonly default: GPUBuffer | null;
|
|
116
|
-
};
|
|
117
|
-
readonly _skinVertexBuffer: {
|
|
118
|
-
readonly default: GPUBuffer | null;
|
|
119
|
-
};
|
|
120
|
-
readonly _indexBuffer: {
|
|
121
|
-
readonly default: GPUBuffer | null;
|
|
122
|
-
};
|
|
123
|
-
readonly _indexCount: {
|
|
124
|
-
readonly type: "integer";
|
|
125
|
-
readonly minimum: 0;
|
|
126
|
-
readonly maximum: 4294967295;
|
|
127
|
-
readonly default: number;
|
|
128
|
-
};
|
|
129
|
-
readonly _indexFormat: {
|
|
130
|
-
readonly default: GPUIndexFormat;
|
|
131
|
-
};
|
|
132
|
-
readonly _materialBindGroup: {
|
|
133
|
-
readonly default: GPUBindGroup | null;
|
|
134
|
-
};
|
|
135
|
-
readonly _geometry: {
|
|
136
|
-
readonly type: "integer";
|
|
137
|
-
readonly minimum: -2147483648;
|
|
138
|
-
readonly maximum: 2147483647;
|
|
139
|
-
readonly default: number;
|
|
140
|
-
};
|
|
141
|
-
readonly _material: {
|
|
142
|
-
readonly type: "integer";
|
|
143
|
-
readonly minimum: -2147483648;
|
|
144
|
-
readonly maximum: 2147483647;
|
|
145
|
-
readonly default: number;
|
|
146
|
-
};
|
|
147
|
-
readonly _nodeLocalMatrix: {
|
|
148
|
-
readonly type: "array";
|
|
149
|
-
readonly items: {
|
|
150
|
-
readonly type: "number";
|
|
151
|
-
readonly precision: 1;
|
|
152
|
-
readonly default: number;
|
|
153
|
-
};
|
|
154
|
-
readonly minItems: 16;
|
|
155
|
-
readonly maxItems: 16;
|
|
156
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
157
|
-
};
|
|
158
|
-
readonly _skeletonModelRef: {
|
|
159
|
-
readonly type: "integer";
|
|
160
|
-
readonly minimum: -2147483648;
|
|
161
|
-
readonly maximum: 2147483647;
|
|
162
|
-
readonly default: number;
|
|
163
|
-
};
|
|
164
|
-
readonly _skeletonJointMatrixBindGroup: {
|
|
165
|
-
readonly default: GPUBindGroup | null;
|
|
166
|
-
};
|
|
167
167
|
};
|
|
168
168
|
readonly resources: {} & {
|
|
169
169
|
readonly frameTime: {
|
|
170
170
|
readonly default: import("../../../../core/frame-time/public.js");
|
|
171
|
-
readonly
|
|
171
|
+
readonly nonPersistent: true;
|
|
172
172
|
};
|
|
173
173
|
} & {
|
|
174
174
|
readonly schedulerState: {
|
|
@@ -177,11 +177,11 @@ export declare const shapeGeometry: {
|
|
|
177
177
|
} & {
|
|
178
178
|
readonly device: {
|
|
179
179
|
readonly default: GPUDevice | null;
|
|
180
|
-
readonly
|
|
180
|
+
readonly nonPersistent: true;
|
|
181
181
|
};
|
|
182
182
|
readonly commandEncoder: {
|
|
183
183
|
readonly default: GPUCommandEncoder | null;
|
|
184
|
-
readonly
|
|
184
|
+
readonly nonPersistent: true;
|
|
185
185
|
};
|
|
186
186
|
} & {
|
|
187
187
|
readonly _shapeGeometry: {
|
|
@@ -189,19 +189,19 @@ export declare const shapeGeometry: {
|
|
|
189
189
|
sphere: Entity;
|
|
190
190
|
cube: Entity;
|
|
191
191
|
} | null;
|
|
192
|
-
readonly
|
|
192
|
+
readonly nonPersistent: true;
|
|
193
193
|
};
|
|
194
194
|
};
|
|
195
195
|
readonly archetypes: {} & {
|
|
196
|
+
readonly _VisibleMaterial: readonly ["ephemeral", "_materialBindGroup", "_geometry"];
|
|
197
|
+
readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
|
|
198
|
+
} & {
|
|
196
199
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
197
200
|
} & {} & {
|
|
198
201
|
readonly Geometry: readonly ["modelUrl"];
|
|
199
202
|
readonly Model: readonly ["geometry", "position", "rotation", "scale", "visible", "parent"];
|
|
200
|
-
} & {
|
|
201
|
-
readonly _VisibleMaterial: readonly ["ephemeral", "_materialBindGroup", "_geometry"];
|
|
202
|
-
readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
|
|
203
203
|
} & {};
|
|
204
|
-
readonly transactions: {} & {} & {
|
|
204
|
+
readonly transactions: {} & {} & {} & {} & {} & {
|
|
205
205
|
readonly insertGeometry: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{
|
|
206
206
|
readonly modelUrl: {
|
|
207
207
|
readonly type: "string";
|
|
@@ -426,8 +426,62 @@ export declare const shapeGeometry: {
|
|
|
426
426
|
scale?: readonly [number, number, number];
|
|
427
427
|
parent?: number;
|
|
428
428
|
}) => number;
|
|
429
|
-
} & {
|
|
429
|
+
} & {
|
|
430
430
|
readonly insertShapePrimitive: (t: import("@adobe/data/ecs").TransactionContext<import("@adobe/data/schema").FromSchemas<{} & {
|
|
431
|
+
readonly _vertexBuffer: {
|
|
432
|
+
readonly default: GPUBuffer | null;
|
|
433
|
+
};
|
|
434
|
+
readonly _skinVertexBuffer: {
|
|
435
|
+
readonly default: GPUBuffer | null;
|
|
436
|
+
};
|
|
437
|
+
readonly _indexBuffer: {
|
|
438
|
+
readonly default: GPUBuffer | null;
|
|
439
|
+
};
|
|
440
|
+
readonly _indexCount: {
|
|
441
|
+
readonly type: "integer";
|
|
442
|
+
readonly minimum: 0;
|
|
443
|
+
readonly maximum: 4294967295;
|
|
444
|
+
readonly default: number;
|
|
445
|
+
};
|
|
446
|
+
readonly _indexFormat: {
|
|
447
|
+
readonly default: GPUIndexFormat;
|
|
448
|
+
};
|
|
449
|
+
readonly _materialBindGroup: {
|
|
450
|
+
readonly default: GPUBindGroup | null;
|
|
451
|
+
};
|
|
452
|
+
readonly _geometry: {
|
|
453
|
+
readonly type: "integer";
|
|
454
|
+
readonly minimum: -2147483648;
|
|
455
|
+
readonly maximum: 2147483647;
|
|
456
|
+
readonly default: number;
|
|
457
|
+
};
|
|
458
|
+
readonly _material: {
|
|
459
|
+
readonly type: "integer";
|
|
460
|
+
readonly minimum: -2147483648;
|
|
461
|
+
readonly maximum: 2147483647;
|
|
462
|
+
readonly default: number;
|
|
463
|
+
};
|
|
464
|
+
readonly _nodeLocalMatrix: {
|
|
465
|
+
readonly type: "array";
|
|
466
|
+
readonly items: {
|
|
467
|
+
readonly type: "number";
|
|
468
|
+
readonly precision: 1;
|
|
469
|
+
readonly default: number;
|
|
470
|
+
};
|
|
471
|
+
readonly minItems: 16;
|
|
472
|
+
readonly maxItems: 16;
|
|
473
|
+
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
474
|
+
};
|
|
475
|
+
readonly _skeletonModelRef: {
|
|
476
|
+
readonly type: "integer";
|
|
477
|
+
readonly minimum: -2147483648;
|
|
478
|
+
readonly maximum: 2147483647;
|
|
479
|
+
readonly default: number;
|
|
480
|
+
};
|
|
481
|
+
readonly _skeletonJointMatrixBindGroup: {
|
|
482
|
+
readonly default: GPUBindGroup | null;
|
|
483
|
+
};
|
|
484
|
+
} & {
|
|
431
485
|
readonly visible: {
|
|
432
486
|
readonly type: "boolean";
|
|
433
487
|
readonly const: true;
|
|
@@ -529,72 +583,18 @@ export declare const shapeGeometry: {
|
|
|
529
583
|
readonly maximum: 2147483647;
|
|
530
584
|
readonly default: number;
|
|
531
585
|
};
|
|
532
|
-
} & {
|
|
533
|
-
readonly _vertexBuffer: {
|
|
534
|
-
readonly default: GPUBuffer | null;
|
|
535
|
-
};
|
|
536
|
-
readonly _skinVertexBuffer: {
|
|
537
|
-
readonly default: GPUBuffer | null;
|
|
538
|
-
};
|
|
539
|
-
readonly _indexBuffer: {
|
|
540
|
-
readonly default: GPUBuffer | null;
|
|
541
|
-
};
|
|
542
|
-
readonly _indexCount: {
|
|
543
|
-
readonly type: "integer";
|
|
544
|
-
readonly minimum: 0;
|
|
545
|
-
readonly maximum: 4294967295;
|
|
546
|
-
readonly default: number;
|
|
547
|
-
};
|
|
548
|
-
readonly _indexFormat: {
|
|
549
|
-
readonly default: GPUIndexFormat;
|
|
550
|
-
};
|
|
551
|
-
readonly _materialBindGroup: {
|
|
552
|
-
readonly default: GPUBindGroup | null;
|
|
553
|
-
};
|
|
554
|
-
readonly _geometry: {
|
|
555
|
-
readonly type: "integer";
|
|
556
|
-
readonly minimum: -2147483648;
|
|
557
|
-
readonly maximum: 2147483647;
|
|
558
|
-
readonly default: number;
|
|
559
|
-
};
|
|
560
|
-
readonly _material: {
|
|
561
|
-
readonly type: "integer";
|
|
562
|
-
readonly minimum: -2147483648;
|
|
563
|
-
readonly maximum: 2147483647;
|
|
564
|
-
readonly default: number;
|
|
565
|
-
};
|
|
566
|
-
readonly _nodeLocalMatrix: {
|
|
567
|
-
readonly type: "array";
|
|
568
|
-
readonly items: {
|
|
569
|
-
readonly type: "number";
|
|
570
|
-
readonly precision: 1;
|
|
571
|
-
readonly default: number;
|
|
572
|
-
};
|
|
573
|
-
readonly minItems: 16;
|
|
574
|
-
readonly maxItems: 16;
|
|
575
|
-
readonly default: readonly [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
576
|
-
};
|
|
577
|
-
readonly _skeletonModelRef: {
|
|
578
|
-
readonly type: "integer";
|
|
579
|
-
readonly minimum: -2147483648;
|
|
580
|
-
readonly maximum: 2147483647;
|
|
581
|
-
readonly default: number;
|
|
582
|
-
};
|
|
583
|
-
readonly _skeletonJointMatrixBindGroup: {
|
|
584
|
-
readonly default: GPUBindGroup | null;
|
|
585
|
-
};
|
|
586
586
|
}>, import("@adobe/data/schema").FromSchemas<{
|
|
587
587
|
readonly _shapeGeometry: {
|
|
588
588
|
readonly default: {
|
|
589
589
|
sphere: Entity;
|
|
590
590
|
cube: Entity;
|
|
591
591
|
} | null;
|
|
592
|
-
readonly
|
|
592
|
+
readonly nonPersistent: true;
|
|
593
593
|
};
|
|
594
594
|
} & {} & {
|
|
595
595
|
readonly frameTime: {
|
|
596
596
|
readonly default: import("../../../../core/frame-time/public.js");
|
|
597
|
-
readonly
|
|
597
|
+
readonly nonPersistent: true;
|
|
598
598
|
};
|
|
599
599
|
} & {
|
|
600
600
|
readonly schedulerState: {
|
|
@@ -603,27 +603,27 @@ export declare const shapeGeometry: {
|
|
|
603
603
|
} & {
|
|
604
604
|
readonly device: {
|
|
605
605
|
readonly default: GPUDevice | null;
|
|
606
|
-
readonly
|
|
606
|
+
readonly nonPersistent: true;
|
|
607
607
|
};
|
|
608
608
|
readonly commandEncoder: {
|
|
609
609
|
readonly default: GPUCommandEncoder | null;
|
|
610
|
-
readonly
|
|
610
|
+
readonly nonPersistent: true;
|
|
611
611
|
};
|
|
612
612
|
}>, {} & {} & {
|
|
613
|
+
readonly _VisibleMaterial: readonly ["ephemeral", "_materialBindGroup", "_geometry"];
|
|
614
|
+
readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
|
|
615
|
+
} & {
|
|
613
616
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
614
617
|
} & {} & {
|
|
615
618
|
readonly Geometry: readonly ["modelUrl"];
|
|
616
619
|
readonly Model: readonly ["geometry", "position", "rotation", "scale", "visible", "parent"];
|
|
617
|
-
} & {
|
|
618
|
-
readonly _VisibleMaterial: readonly ["ephemeral", "_materialBindGroup", "_geometry"];
|
|
619
|
-
readonly _PbrPrimitive: readonly ["ephemeral", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_geometry", "_nodeLocalMatrix"];
|
|
620
620
|
}, {} & {} & {} & {} & {} & {}>, args: {
|
|
621
621
|
vertexBuffer: GPUBuffer;
|
|
622
622
|
indexBuffer: GPUBuffer;
|
|
623
623
|
indexCount: number;
|
|
624
624
|
}) => Entity;
|
|
625
625
|
};
|
|
626
|
-
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"
|
|
626
|
+
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"_frameTime" | "update" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "transformCreateWorldMatrix" | "transformSystem" | "shapeGeometryInit">;
|
|
627
627
|
readonly actions: {};
|
|
628
628
|
readonly services: {};
|
|
629
629
|
readonly computed: {};
|