@adobe/data-gpu 0.10.22 → 0.10.24
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 +770 -770
- package/dist/graphics/rendering/bone-collider-plugin.d.ts +200 -200
- package/dist/graphics/rendering/ibl-render/ibl-render-plugin.d.ts +146 -146
- package/dist/graphics/rendering/interpolation-plugin.d.ts +7 -7
- package/dist/graphics/rendering/jolt-ragdoll-plugin.d.ts +200 -200
- package/dist/graphics/rendering/material-palette-gpu/material-palette-gpu-plugin.d.ts +7 -7
- package/dist/graphics/rendering/model-collider-plugin.d.ts +150 -150
- package/dist/graphics/rendering/pbr-render/pbr-factor-render-plugin.d.ts +146 -146
- package/dist/graphics/rendering/skinning/skinning-plugin.d.ts +168 -168
- package/dist/graphics/scene/model/model-loader-plugin.d.ts +150 -150
- package/dist/graphics/scene/model/shape/shape-geometry-plugin.d.ts +74 -74
- package/dist/graphics/scene/model/world-bounds-plugin.d.ts +150 -150
- package/dist/graphics/scene/scene-plugin.d.ts +16 -16
- package/dist/graphics/scene/scene-uniforms/scene-uniforms-plugin.d.ts +13 -13
- package/dist/physics/physics-clock-plugin.d.ts +1 -1
- package/dist/physics/solvers/jolt-solver-plugin.d.ts +1 -1
- package/dist/physics/solvers/rapier-solver-plugin.d.ts +1 -1
- package/package.json +2 -2
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/graphics/rendering/material-gpu/material-arrays.d.ts +0 -47
- package/dist/graphics/rendering/material-gpu/material-arrays.js +0 -83
- package/dist/graphics/rendering/material-gpu/material-arrays.js.map +0 -1
- package/dist/graphics/rendering/material-gpu/material-bind-group.d.ts +0 -9
- package/dist/graphics/rendering/material-gpu/material-bind-group.js +0 -52
- package/dist/graphics/rendering/material-gpu/material-bind-group.js.map +0 -1
- package/dist/graphics/rendering/material-gpu/material-gpu-plugin.d.ts +0 -259
- package/dist/graphics/rendering/material-gpu/material-gpu-plugin.js +0 -90
- package/dist/graphics/rendering/material-gpu/material-gpu-plugin.js.map +0 -1
- package/dist/graphics/rendering/pbr-render/pbr-array-shader.wgsl.d.ts +0 -10
- package/dist/graphics/rendering/pbr-render/pbr-array-shader.wgsl.js +0 -145
- package/dist/graphics/rendering/pbr-render/pbr-array-shader.wgsl.js.map +0 -1
- package/dist/graphics/rendering/pbr-render/pbr-render-plugin.d.ts +0 -1266
- package/dist/graphics/rendering/pbr-render/pbr-render-plugin.js +0 -254
- package/dist/graphics/rendering/pbr-render/pbr-render-plugin.js.map +0 -1
- package/dist/graphics/scene/model/geometry/geometry.d.ts +0 -9
- package/dist/graphics/scene/model/geometry/geometry.js +0 -3
- package/dist/graphics/scene/model/geometry/geometry.js.map +0 -1
|
@@ -97,74 +97,6 @@ export declare const worldBounds: {
|
|
|
97
97
|
readonly additionalProperties: false;
|
|
98
98
|
};
|
|
99
99
|
} & {} & {
|
|
100
|
-
readonly _vertexBuffer: {
|
|
101
|
-
readonly default: GPUBuffer | null;
|
|
102
|
-
readonly nonPersistent: true;
|
|
103
|
-
};
|
|
104
|
-
readonly _skinVertexBuffer: {
|
|
105
|
-
readonly default: GPUBuffer | null;
|
|
106
|
-
readonly nonPersistent: true;
|
|
107
|
-
};
|
|
108
|
-
readonly _indexBuffer: {
|
|
109
|
-
readonly default: GPUBuffer | null;
|
|
110
|
-
readonly nonPersistent: true;
|
|
111
|
-
};
|
|
112
|
-
readonly _indexCount: {
|
|
113
|
-
readonly default: undefined;
|
|
114
|
-
readonly nonPersistent: true;
|
|
115
|
-
readonly type: "integer";
|
|
116
|
-
readonly minimum: 0;
|
|
117
|
-
readonly maximum: 4294967295;
|
|
118
|
-
};
|
|
119
|
-
readonly _indexFormat: {
|
|
120
|
-
readonly default: GPUIndexFormat;
|
|
121
|
-
readonly nonPersistent: true;
|
|
122
|
-
};
|
|
123
|
-
readonly _materialBindGroup: {
|
|
124
|
-
readonly default: GPUBindGroup | null;
|
|
125
|
-
readonly nonPersistent: true;
|
|
126
|
-
};
|
|
127
|
-
readonly _mesh: {
|
|
128
|
-
readonly default: undefined;
|
|
129
|
-
readonly nonPersistent: true;
|
|
130
|
-
readonly entity: true;
|
|
131
|
-
readonly type: "integer";
|
|
132
|
-
readonly minimum: -2147483648;
|
|
133
|
-
readonly maximum: 2147483647;
|
|
134
|
-
};
|
|
135
|
-
readonly _material: {
|
|
136
|
-
readonly default: undefined;
|
|
137
|
-
readonly nonPersistent: true;
|
|
138
|
-
readonly entity: true;
|
|
139
|
-
readonly type: "integer";
|
|
140
|
-
readonly minimum: -2147483648;
|
|
141
|
-
readonly maximum: 2147483647;
|
|
142
|
-
};
|
|
143
|
-
readonly _nodeLocalMatrix: {
|
|
144
|
-
readonly default: undefined;
|
|
145
|
-
readonly nonPersistent: true;
|
|
146
|
-
readonly type: "array";
|
|
147
|
-
readonly items: {
|
|
148
|
-
readonly type: "number";
|
|
149
|
-
readonly precision: 1;
|
|
150
|
-
readonly default: number;
|
|
151
|
-
};
|
|
152
|
-
readonly minItems: 16;
|
|
153
|
-
readonly maxItems: 16;
|
|
154
|
-
};
|
|
155
|
-
readonly _skeletonModelRef: {
|
|
156
|
-
readonly default: undefined;
|
|
157
|
-
readonly nonPersistent: true;
|
|
158
|
-
readonly entity: true;
|
|
159
|
-
readonly type: "integer";
|
|
160
|
-
readonly minimum: -2147483648;
|
|
161
|
-
readonly maximum: 2147483647;
|
|
162
|
-
};
|
|
163
|
-
readonly _skeletonJointMatrixBindGroup: {
|
|
164
|
-
readonly default: GPUBindGroup | null;
|
|
165
|
-
readonly nonPersistent: true;
|
|
166
|
-
};
|
|
167
|
-
} & {
|
|
168
100
|
readonly material: {
|
|
169
101
|
readonly entity: true;
|
|
170
102
|
readonly type: "integer";
|
|
@@ -418,6 +350,74 @@ export declare const worldBounds: {
|
|
|
418
350
|
readonly const: true;
|
|
419
351
|
readonly default: true;
|
|
420
352
|
};
|
|
353
|
+
} & {
|
|
354
|
+
readonly _vertexBuffer: {
|
|
355
|
+
readonly default: GPUBuffer | null;
|
|
356
|
+
readonly nonPersistent: true;
|
|
357
|
+
};
|
|
358
|
+
readonly _skinVertexBuffer: {
|
|
359
|
+
readonly default: GPUBuffer | null;
|
|
360
|
+
readonly nonPersistent: true;
|
|
361
|
+
};
|
|
362
|
+
readonly _indexBuffer: {
|
|
363
|
+
readonly default: GPUBuffer | null;
|
|
364
|
+
readonly nonPersistent: true;
|
|
365
|
+
};
|
|
366
|
+
readonly _indexCount: {
|
|
367
|
+
readonly default: undefined;
|
|
368
|
+
readonly nonPersistent: true;
|
|
369
|
+
readonly type: "integer";
|
|
370
|
+
readonly minimum: 0;
|
|
371
|
+
readonly maximum: 4294967295;
|
|
372
|
+
};
|
|
373
|
+
readonly _indexFormat: {
|
|
374
|
+
readonly default: GPUIndexFormat;
|
|
375
|
+
readonly nonPersistent: true;
|
|
376
|
+
};
|
|
377
|
+
readonly _materialBindGroup: {
|
|
378
|
+
readonly default: GPUBindGroup | null;
|
|
379
|
+
readonly nonPersistent: true;
|
|
380
|
+
};
|
|
381
|
+
readonly _mesh: {
|
|
382
|
+
readonly default: undefined;
|
|
383
|
+
readonly nonPersistent: true;
|
|
384
|
+
readonly entity: true;
|
|
385
|
+
readonly type: "integer";
|
|
386
|
+
readonly minimum: -2147483648;
|
|
387
|
+
readonly maximum: 2147483647;
|
|
388
|
+
};
|
|
389
|
+
readonly _material: {
|
|
390
|
+
readonly default: undefined;
|
|
391
|
+
readonly nonPersistent: true;
|
|
392
|
+
readonly entity: true;
|
|
393
|
+
readonly type: "integer";
|
|
394
|
+
readonly minimum: -2147483648;
|
|
395
|
+
readonly maximum: 2147483647;
|
|
396
|
+
};
|
|
397
|
+
readonly _nodeLocalMatrix: {
|
|
398
|
+
readonly default: undefined;
|
|
399
|
+
readonly nonPersistent: true;
|
|
400
|
+
readonly type: "array";
|
|
401
|
+
readonly items: {
|
|
402
|
+
readonly type: "number";
|
|
403
|
+
readonly precision: 1;
|
|
404
|
+
readonly default: number;
|
|
405
|
+
};
|
|
406
|
+
readonly minItems: 16;
|
|
407
|
+
readonly maxItems: 16;
|
|
408
|
+
};
|
|
409
|
+
readonly _skeletonModelRef: {
|
|
410
|
+
readonly default: undefined;
|
|
411
|
+
readonly nonPersistent: true;
|
|
412
|
+
readonly entity: true;
|
|
413
|
+
readonly type: "integer";
|
|
414
|
+
readonly minimum: -2147483648;
|
|
415
|
+
readonly maximum: 2147483647;
|
|
416
|
+
};
|
|
417
|
+
readonly _skeletonJointMatrixBindGroup: {
|
|
418
|
+
readonly default: GPUBindGroup | null;
|
|
419
|
+
readonly nonPersistent: true;
|
|
420
|
+
};
|
|
421
421
|
};
|
|
422
422
|
readonly resources: {} & {
|
|
423
423
|
readonly _gltfMeshByUrl: {
|
|
@@ -447,9 +447,6 @@ export declare const worldBounds: {
|
|
|
447
447
|
readonly archetypes: {
|
|
448
448
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
449
449
|
} & {} & {} & {
|
|
450
|
-
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
451
|
-
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
452
|
-
} & {
|
|
453
450
|
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"];
|
|
454
451
|
} & {
|
|
455
452
|
readonly GltfMeshPending: readonly ["gltfUrl"];
|
|
@@ -462,8 +459,11 @@ export declare const worldBounds: {
|
|
|
462
459
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
463
460
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
464
461
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
465
|
-
} & {} & {
|
|
466
|
-
|
|
462
|
+
} & {} & {
|
|
463
|
+
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
464
|
+
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
465
|
+
} & {};
|
|
466
|
+
readonly transactions: {} & {} & {
|
|
467
467
|
readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
468
468
|
readonly material: {
|
|
469
469
|
readonly entity: true;
|
|
@@ -2867,76 +2867,8 @@ export declare const worldBounds: {
|
|
|
2867
2867
|
dt: number;
|
|
2868
2868
|
observable: boolean;
|
|
2869
2869
|
}) => void;
|
|
2870
|
-
} & {} & {
|
|
2870
|
+
} & {} & {} & {
|
|
2871
2871
|
readonly insertLoadedPrimitives: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{} & {
|
|
2872
|
-
readonly _vertexBuffer: {
|
|
2873
|
-
readonly default: GPUBuffer | null;
|
|
2874
|
-
readonly nonPersistent: true;
|
|
2875
|
-
};
|
|
2876
|
-
readonly _skinVertexBuffer: {
|
|
2877
|
-
readonly default: GPUBuffer | null;
|
|
2878
|
-
readonly nonPersistent: true;
|
|
2879
|
-
};
|
|
2880
|
-
readonly _indexBuffer: {
|
|
2881
|
-
readonly default: GPUBuffer | null;
|
|
2882
|
-
readonly nonPersistent: true;
|
|
2883
|
-
};
|
|
2884
|
-
readonly _indexCount: {
|
|
2885
|
-
readonly default: undefined;
|
|
2886
|
-
readonly nonPersistent: true;
|
|
2887
|
-
readonly type: "integer";
|
|
2888
|
-
readonly minimum: 0;
|
|
2889
|
-
readonly maximum: 4294967295;
|
|
2890
|
-
};
|
|
2891
|
-
readonly _indexFormat: {
|
|
2892
|
-
readonly default: GPUIndexFormat;
|
|
2893
|
-
readonly nonPersistent: true;
|
|
2894
|
-
};
|
|
2895
|
-
readonly _materialBindGroup: {
|
|
2896
|
-
readonly default: GPUBindGroup | null;
|
|
2897
|
-
readonly nonPersistent: true;
|
|
2898
|
-
};
|
|
2899
|
-
readonly _mesh: {
|
|
2900
|
-
readonly default: undefined;
|
|
2901
|
-
readonly nonPersistent: true;
|
|
2902
|
-
readonly entity: true;
|
|
2903
|
-
readonly type: "integer";
|
|
2904
|
-
readonly minimum: -2147483648;
|
|
2905
|
-
readonly maximum: 2147483647;
|
|
2906
|
-
};
|
|
2907
|
-
readonly _material: {
|
|
2908
|
-
readonly default: undefined;
|
|
2909
|
-
readonly nonPersistent: true;
|
|
2910
|
-
readonly entity: true;
|
|
2911
|
-
readonly type: "integer";
|
|
2912
|
-
readonly minimum: -2147483648;
|
|
2913
|
-
readonly maximum: 2147483647;
|
|
2914
|
-
};
|
|
2915
|
-
readonly _nodeLocalMatrix: {
|
|
2916
|
-
readonly default: undefined;
|
|
2917
|
-
readonly nonPersistent: true;
|
|
2918
|
-
readonly type: "array";
|
|
2919
|
-
readonly items: {
|
|
2920
|
-
readonly type: "number";
|
|
2921
|
-
readonly precision: 1;
|
|
2922
|
-
readonly default: number;
|
|
2923
|
-
};
|
|
2924
|
-
readonly minItems: 16;
|
|
2925
|
-
readonly maxItems: 16;
|
|
2926
|
-
};
|
|
2927
|
-
readonly _skeletonModelRef: {
|
|
2928
|
-
readonly default: undefined;
|
|
2929
|
-
readonly nonPersistent: true;
|
|
2930
|
-
readonly entity: true;
|
|
2931
|
-
readonly type: "integer";
|
|
2932
|
-
readonly minimum: -2147483648;
|
|
2933
|
-
readonly maximum: 2147483647;
|
|
2934
|
-
};
|
|
2935
|
-
readonly _skeletonJointMatrixBindGroup: {
|
|
2936
|
-
readonly default: GPUBindGroup | null;
|
|
2937
|
-
readonly nonPersistent: true;
|
|
2938
|
-
};
|
|
2939
|
-
} & {
|
|
2940
2872
|
readonly visible: {
|
|
2941
2873
|
readonly type: "boolean";
|
|
2942
2874
|
readonly const: true;
|
|
@@ -3282,6 +3214,74 @@ export declare const worldBounds: {
|
|
|
3282
3214
|
readonly const: true;
|
|
3283
3215
|
readonly default: true;
|
|
3284
3216
|
};
|
|
3217
|
+
} & {
|
|
3218
|
+
readonly _vertexBuffer: {
|
|
3219
|
+
readonly default: GPUBuffer | null;
|
|
3220
|
+
readonly nonPersistent: true;
|
|
3221
|
+
};
|
|
3222
|
+
readonly _skinVertexBuffer: {
|
|
3223
|
+
readonly default: GPUBuffer | null;
|
|
3224
|
+
readonly nonPersistent: true;
|
|
3225
|
+
};
|
|
3226
|
+
readonly _indexBuffer: {
|
|
3227
|
+
readonly default: GPUBuffer | null;
|
|
3228
|
+
readonly nonPersistent: true;
|
|
3229
|
+
};
|
|
3230
|
+
readonly _indexCount: {
|
|
3231
|
+
readonly default: undefined;
|
|
3232
|
+
readonly nonPersistent: true;
|
|
3233
|
+
readonly type: "integer";
|
|
3234
|
+
readonly minimum: 0;
|
|
3235
|
+
readonly maximum: 4294967295;
|
|
3236
|
+
};
|
|
3237
|
+
readonly _indexFormat: {
|
|
3238
|
+
readonly default: GPUIndexFormat;
|
|
3239
|
+
readonly nonPersistent: true;
|
|
3240
|
+
};
|
|
3241
|
+
readonly _materialBindGroup: {
|
|
3242
|
+
readonly default: GPUBindGroup | null;
|
|
3243
|
+
readonly nonPersistent: true;
|
|
3244
|
+
};
|
|
3245
|
+
readonly _mesh: {
|
|
3246
|
+
readonly default: undefined;
|
|
3247
|
+
readonly nonPersistent: true;
|
|
3248
|
+
readonly entity: true;
|
|
3249
|
+
readonly type: "integer";
|
|
3250
|
+
readonly minimum: -2147483648;
|
|
3251
|
+
readonly maximum: 2147483647;
|
|
3252
|
+
};
|
|
3253
|
+
readonly _material: {
|
|
3254
|
+
readonly default: undefined;
|
|
3255
|
+
readonly nonPersistent: true;
|
|
3256
|
+
readonly entity: true;
|
|
3257
|
+
readonly type: "integer";
|
|
3258
|
+
readonly minimum: -2147483648;
|
|
3259
|
+
readonly maximum: 2147483647;
|
|
3260
|
+
};
|
|
3261
|
+
readonly _nodeLocalMatrix: {
|
|
3262
|
+
readonly default: undefined;
|
|
3263
|
+
readonly nonPersistent: true;
|
|
3264
|
+
readonly type: "array";
|
|
3265
|
+
readonly items: {
|
|
3266
|
+
readonly type: "number";
|
|
3267
|
+
readonly precision: 1;
|
|
3268
|
+
readonly default: number;
|
|
3269
|
+
};
|
|
3270
|
+
readonly minItems: 16;
|
|
3271
|
+
readonly maxItems: 16;
|
|
3272
|
+
};
|
|
3273
|
+
readonly _skeletonModelRef: {
|
|
3274
|
+
readonly default: undefined;
|
|
3275
|
+
readonly nonPersistent: true;
|
|
3276
|
+
readonly entity: true;
|
|
3277
|
+
readonly type: "integer";
|
|
3278
|
+
readonly minimum: -2147483648;
|
|
3279
|
+
readonly maximum: 2147483647;
|
|
3280
|
+
};
|
|
3281
|
+
readonly _skeletonJointMatrixBindGroup: {
|
|
3282
|
+
readonly default: GPUBindGroup | null;
|
|
3283
|
+
readonly nonPersistent: true;
|
|
3284
|
+
};
|
|
3285
3285
|
}>, import("@adobe/data/schema").FromSchemas<{} & {
|
|
3286
3286
|
readonly _gltfMeshByUrl: {
|
|
3287
3287
|
readonly default: Map<string, number> | null;
|
|
@@ -3307,9 +3307,6 @@ export declare const worldBounds: {
|
|
|
3307
3307
|
readonly nonPersistent: true;
|
|
3308
3308
|
};
|
|
3309
3309
|
}>, {} & {} & {
|
|
3310
|
-
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
3311
|
-
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
3312
|
-
} & {
|
|
3313
3310
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
3314
3311
|
} & {} & {
|
|
3315
3312
|
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"];
|
|
@@ -3324,7 +3321,10 @@ export declare const worldBounds: {
|
|
|
3324
3321
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
3325
3322
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
3326
3323
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
3327
|
-
} & {}
|
|
3324
|
+
} & {} & {
|
|
3325
|
+
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
3326
|
+
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
3327
|
+
}, {} & {} & {
|
|
3328
3328
|
readonly nodeChildrenOf: {
|
|
3329
3329
|
readonly key: "parent";
|
|
3330
3330
|
readonly archetype: "Node";
|
|
@@ -3335,9 +3335,9 @@ export declare const worldBounds: {
|
|
|
3335
3335
|
readonly unique: true;
|
|
3336
3336
|
readonly archetype: "Material";
|
|
3337
3337
|
};
|
|
3338
|
-
} & {} & {} & {} & {}, never, never>, args: import("./model-loader-plugin.js").LoadedArgs) => void;
|
|
3338
|
+
} & {} & {} & {} & {} & {}, never, never>, args: import("./model-loader-plugin.js").LoadedArgs) => void;
|
|
3339
3339
|
} & {};
|
|
3340
|
-
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"
|
|
3340
|
+
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"_frameTime" | "update" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "transformCreateWorldMatrix" | "transformSystem" | "animationSampleSystem" | "modelLoadSystem" | "worldBoundsCreate" | "worldBoundsSystem">;
|
|
3341
3341
|
readonly actions: {};
|
|
3342
3342
|
readonly services: {};
|
|
3343
3343
|
readonly computed: {};
|
|
@@ -3346,11 +3346,11 @@ export declare const worldBounds: {
|
|
|
3346
3346
|
readonly key: "parent";
|
|
3347
3347
|
readonly archetype: "Node";
|
|
3348
3348
|
};
|
|
3349
|
-
} & {} & {} & {
|
|
3349
|
+
} & {} & {} & {
|
|
3350
3350
|
readonly materialByName: {
|
|
3351
3351
|
readonly key: "name";
|
|
3352
3352
|
readonly unique: true;
|
|
3353
3353
|
readonly archetype: "Material";
|
|
3354
3354
|
};
|
|
3355
|
-
} & {} & {} & {} & {} & {} & {};
|
|
3355
|
+
} & {} & {} & {} & {} & {} & {} & {};
|
|
3356
3356
|
};
|
|
@@ -11,7 +11,7 @@ import { Database } from "@adobe/data/ecs";
|
|
|
11
11
|
* Add a camera controller (e.g. `Orbit.plugin`), animation, and a renderer
|
|
12
12
|
* (`pbrIblRender`) to get a working interactive scene.
|
|
13
13
|
*/
|
|
14
|
-
export declare const scene: Database.Plugin<{
|
|
14
|
+
export declare const scene: Database.Plugin<{} & {
|
|
15
15
|
readonly visible: {
|
|
16
16
|
readonly type: "boolean";
|
|
17
17
|
readonly const: true;
|
|
@@ -103,7 +103,7 @@ export declare const scene: Database.Plugin<{
|
|
|
103
103
|
readonly required: readonly ["min", "max"];
|
|
104
104
|
readonly additionalProperties: false;
|
|
105
105
|
};
|
|
106
|
-
} & {
|
|
106
|
+
} & {
|
|
107
107
|
readonly material: {
|
|
108
108
|
readonly entity: true;
|
|
109
109
|
readonly type: "integer";
|
|
@@ -324,6 +324,10 @@ export declare const scene: Database.Plugin<{
|
|
|
324
324
|
readonly nonPersistent: true;
|
|
325
325
|
readonly mutable: true;
|
|
326
326
|
};
|
|
327
|
+
} & {
|
|
328
|
+
readonly light: {
|
|
329
|
+
readonly default: import("./light/public.js");
|
|
330
|
+
};
|
|
327
331
|
} & {
|
|
328
332
|
readonly frameTime: {
|
|
329
333
|
readonly default: import("../../core/frame-time/public.js");
|
|
@@ -375,18 +379,14 @@ export declare const scene: Database.Plugin<{
|
|
|
375
379
|
readonly camera: {
|
|
376
380
|
readonly default: import("../camera/public.js");
|
|
377
381
|
};
|
|
378
|
-
} & {
|
|
379
|
-
readonly light: {
|
|
380
|
-
readonly default: import("./light/public.js");
|
|
381
|
-
};
|
|
382
382
|
} & {
|
|
383
383
|
readonly _sceneUniformsBuffer: {
|
|
384
384
|
readonly default: GPUBuffer | null;
|
|
385
385
|
readonly nonPersistent: true;
|
|
386
386
|
};
|
|
387
|
-
}, {
|
|
387
|
+
}, {} & {
|
|
388
388
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
389
|
-
} & {} & {
|
|
389
|
+
} & {} & {
|
|
390
390
|
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"];
|
|
391
391
|
} & {
|
|
392
392
|
readonly GltfMeshPending: readonly ["gltfUrl"];
|
|
@@ -2655,6 +2655,12 @@ export declare const scene: Database.Plugin<{
|
|
|
2655
2655
|
scale?: import("@adobe/data/math").Vec3;
|
|
2656
2656
|
parent?: number;
|
|
2657
2657
|
}) => number;
|
|
2658
|
+
} & {
|
|
2659
|
+
readonly setLight: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
|
|
2660
|
+
readonly light: {
|
|
2661
|
+
readonly default: import("./light/public.js");
|
|
2662
|
+
};
|
|
2663
|
+
}>, {}, {}, never, never>, args: Partial<import("./light/public.js")>) => void;
|
|
2658
2664
|
} & {} & {} & {
|
|
2659
2665
|
readonly setCanvas: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
|
|
2660
2666
|
readonly renderPassEncoder: {
|
|
@@ -2704,18 +2710,12 @@ export declare const scene: Database.Plugin<{
|
|
|
2704
2710
|
readonly nonPersistent: true;
|
|
2705
2711
|
};
|
|
2706
2712
|
}>, {}, {}, never, never>, canvas: HTMLCanvasElement | null) => void;
|
|
2707
|
-
} & {} & {
|
|
2708
|
-
readonly setLight: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
|
|
2709
|
-
readonly light: {
|
|
2710
|
-
readonly default: import("./light/public.js");
|
|
2711
|
-
};
|
|
2712
|
-
}>, {}, {}, never, never>, args: Partial<import("./light/public.js")>) => void;
|
|
2713
|
-
} & {}, "transformCreateWorldMatrix" | "transformSystem" | "update" | "_frameTime" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "configureCanvas" | "beginRenderPass" | "endRenderPass" | "updateCameraAspect" | "sceneUniformsSystem", {}, {}, {}, {
|
|
2713
|
+
} & {} & {}, "_frameTime" | "update" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "configureCanvas" | "beginRenderPass" | "endRenderPass" | "transformCreateWorldMatrix" | "transformSystem" | "updateCameraAspect" | "sceneUniformsSystem", {}, {}, {}, {} & {
|
|
2714
2714
|
readonly nodeChildrenOf: {
|
|
2715
2715
|
readonly key: "parent";
|
|
2716
2716
|
readonly archetype: "Node";
|
|
2717
2717
|
};
|
|
2718
|
-
} & {} & {
|
|
2718
|
+
} & {} & {
|
|
2719
2719
|
readonly materialByName: {
|
|
2720
2720
|
readonly key: "name";
|
|
2721
2721
|
readonly unique: true;
|
|
@@ -12,6 +12,10 @@ import { Camera } from "../../camera/camera.js";
|
|
|
12
12
|
export declare const plugin: {
|
|
13
13
|
readonly components: {};
|
|
14
14
|
readonly resources: {
|
|
15
|
+
readonly light: {
|
|
16
|
+
readonly default: Light;
|
|
17
|
+
};
|
|
18
|
+
} & {
|
|
15
19
|
readonly frameTime: {
|
|
16
20
|
readonly default: import("../../../core/frame-time/public.js");
|
|
17
21
|
readonly nonPersistent: true;
|
|
@@ -62,10 +66,6 @@ export declare const plugin: {
|
|
|
62
66
|
readonly camera: {
|
|
63
67
|
readonly default: Camera;
|
|
64
68
|
};
|
|
65
|
-
} & {
|
|
66
|
-
readonly light: {
|
|
67
|
-
readonly default: Light;
|
|
68
|
-
};
|
|
69
69
|
} & {
|
|
70
70
|
readonly _sceneUniformsBuffer: {
|
|
71
71
|
readonly default: GPUBuffer | null;
|
|
@@ -73,7 +73,13 @@ export declare const plugin: {
|
|
|
73
73
|
};
|
|
74
74
|
};
|
|
75
75
|
readonly archetypes: {};
|
|
76
|
-
readonly transactions: {
|
|
76
|
+
readonly transactions: {
|
|
77
|
+
readonly setLight: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
|
|
78
|
+
readonly light: {
|
|
79
|
+
readonly default: Light;
|
|
80
|
+
};
|
|
81
|
+
}>, {}, {}, never, never>, args: Partial<Light>) => void;
|
|
82
|
+
} & {} & {} & {
|
|
77
83
|
readonly setCanvas: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
|
|
78
84
|
readonly renderPassEncoder: {
|
|
79
85
|
readonly default: GPURenderPassEncoder | null;
|
|
@@ -122,14 +128,8 @@ export declare const plugin: {
|
|
|
122
128
|
readonly nonPersistent: true;
|
|
123
129
|
};
|
|
124
130
|
}>, {}, {}, never, never>, canvas: HTMLCanvasElement | null) => void;
|
|
125
|
-
} & {} & {
|
|
126
|
-
|
|
127
|
-
readonly light: {
|
|
128
|
-
readonly default: Light;
|
|
129
|
-
};
|
|
130
|
-
}>, {}, {}, never, never>, args: Partial<Light>) => void;
|
|
131
|
-
} & {};
|
|
132
|
-
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"update" | "_frameTime" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "configureCanvas" | "beginRenderPass" | "endRenderPass" | "updateCameraAspect" | "sceneUniformsSystem">;
|
|
131
|
+
} & {} & {};
|
|
132
|
+
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"_frameTime" | "update" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "configureCanvas" | "beginRenderPass" | "endRenderPass" | "updateCameraAspect" | "sceneUniformsSystem">;
|
|
133
133
|
readonly actions: {};
|
|
134
134
|
readonly services: {};
|
|
135
135
|
readonly computed: {};
|
|
@@ -58,7 +58,7 @@ export declare const physicsClock: {
|
|
|
58
58
|
};
|
|
59
59
|
}>, {}, {}, never, 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: {};
|
|
@@ -1343,7 +1343,7 @@ export declare const joltSolver: {
|
|
|
1343
1343
|
};
|
|
1344
1344
|
}>, {}, {}, never, never>, hz: number) => void;
|
|
1345
1345
|
} & {} & {};
|
|
1346
|
-
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">;
|
|
1347
1347
|
readonly actions: {
|
|
1348
1348
|
readonly pickRay: (db: Database<import("@adobe/data/schema").FromSchemas<{
|
|
1349
1349
|
readonly bodyType: {
|
|
@@ -1323,7 +1323,7 @@ export declare const rapierSolver: {
|
|
|
1323
1323
|
};
|
|
1324
1324
|
}>, {}, {}, never, never>, hz: number) => void;
|
|
1325
1325
|
} & {} & {};
|
|
1326
|
-
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">;
|
|
1327
1327
|
readonly actions: {
|
|
1328
1328
|
readonly pickRay: (db: Database<import("@adobe/data/schema").FromSchemas<{
|
|
1329
1329
|
readonly bodyType: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/data-gpu",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.24",
|
|
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.24"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@webgpu/types": "^0.1.61",
|