@adobe/data-gpu 0.10.20 → 0.10.22
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 +2 -2
- package/dist/graphics/animation/animation-plugin.d.ts +5 -5
- package/dist/graphics/camera/camera-plugin.d.ts +2 -2
- package/dist/graphics/camera/orbit/orbit-data-plugin.d.ts +5 -5
- package/dist/graphics/camera/orbit/orbit-plugin.d.ts +5 -5
- package/dist/graphics/camera/orbit/orbit-system-plugin.d.ts +5 -5
- package/dist/graphics/graphics-plugin.d.ts +2 -2
- package/dist/graphics/picking/picking-plugin.d.ts +783 -783
- package/dist/graphics/rendering/bone-collider-plugin.d.ts +224 -224
- package/dist/graphics/rendering/ibl-render/ibl-render-plugin.d.ts +158 -158
- package/dist/graphics/rendering/interpolation-plugin.d.ts +23 -23
- package/dist/graphics/rendering/jolt-ragdoll-plugin.d.ts +225 -225
- package/dist/graphics/rendering/material-palette-gpu/material-palette-gpu-plugin.d.ts +12 -12
- package/dist/graphics/rendering/model-collider-plugin.d.ts +172 -172
- package/dist/graphics/rendering/pbr-render/pbr-factor-render-plugin.d.ts +167 -158
- package/dist/graphics/rendering/pbr-render/pbr-factor-render-plugin.js +61 -1
- package/dist/graphics/rendering/pbr-render/pbr-factor-render-plugin.js.map +1 -1
- package/dist/graphics/rendering/pbr-render/physics-bridge-plugin.d.ts +15 -15
- package/dist/graphics/rendering/pbr-render/physics-bridge-plugin.js +11 -14
- package/dist/graphics/rendering/pbr-render/physics-bridge-plugin.js.map +1 -1
- package/dist/graphics/rendering/ragdoll-trigger-plugin.d.ts +1 -1
- package/dist/graphics/rendering/skinning/skinning-plugin.d.ts +181 -181
- package/dist/graphics/scene/light/light-plugin.d.ts +1 -1
- package/dist/graphics/scene/model/mesh-plugin.d.ts +18 -18
- package/dist/graphics/scene/model/model-loader-plugin.d.ts +162 -162
- package/dist/graphics/scene/model/shape/shape-geometry-plugin.d.ts +74 -74
- package/dist/graphics/scene/model/world-bounds-plugin.d.ts +162 -162
- package/dist/graphics/scene/scene-plugin.d.ts +26 -26
- package/dist/graphics/scene/scene-uniforms/scene-uniforms-plugin.d.ts +14 -14
- package/dist/material/material-plugin.d.ts +5 -5
- package/dist/physics/physics-clock-plugin.d.ts +2 -2
- package/dist/physics/physics-data-plugin.d.ts +15 -15
- package/dist/physics/solvers/jolt-solver-plugin.d.ts +17 -17
- package/dist/physics/solvers/rapier-solver-plugin.d.ts +17 -17
- package/package.json +2 -2
- package/src/graphics/rendering/pbr-render/pbr-factor-render-plugin.ts +74 -0
- package/src/graphics/rendering/pbr-render/physics-bridge-plugin.ts +12 -15
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -20,7 +20,7 @@ import { Vec3 } from "@adobe/data/math";
|
|
|
20
20
|
* `_PbrPrimitive` archetype.
|
|
21
21
|
*/
|
|
22
22
|
export declare const pbrIblRender: {
|
|
23
|
-
readonly components: {
|
|
23
|
+
readonly components: {
|
|
24
24
|
readonly visible: {
|
|
25
25
|
readonly type: "boolean";
|
|
26
26
|
readonly const: true;
|
|
@@ -112,7 +112,7 @@ export declare const pbrIblRender: {
|
|
|
112
112
|
readonly required: readonly ["min", "max"];
|
|
113
113
|
readonly additionalProperties: false;
|
|
114
114
|
};
|
|
115
|
-
} & {
|
|
115
|
+
} & {} & {
|
|
116
116
|
readonly _vertexBuffer: {
|
|
117
117
|
readonly default: GPUBuffer | null;
|
|
118
118
|
readonly nonPersistent: true;
|
|
@@ -439,8 +439,10 @@ export declare const pbrIblRender: {
|
|
|
439
439
|
};
|
|
440
440
|
};
|
|
441
441
|
readonly resources: {} & {
|
|
442
|
-
readonly
|
|
443
|
-
readonly default:
|
|
442
|
+
readonly _gltfMeshByUrl: {
|
|
443
|
+
readonly default: Map<string, number> | null;
|
|
444
|
+
readonly nonPersistent: true;
|
|
445
|
+
readonly mutable: true;
|
|
444
446
|
};
|
|
445
447
|
} & {
|
|
446
448
|
readonly frameTime: {
|
|
@@ -494,15 +496,13 @@ export declare const pbrIblRender: {
|
|
|
494
496
|
readonly default: import("../../camera/public.js");
|
|
495
497
|
};
|
|
496
498
|
} & {
|
|
497
|
-
readonly
|
|
498
|
-
readonly default:
|
|
499
|
-
readonly nonPersistent: true;
|
|
499
|
+
readonly light: {
|
|
500
|
+
readonly default: import("../../scene/light/public.js");
|
|
500
501
|
};
|
|
501
502
|
} & {
|
|
502
|
-
readonly
|
|
503
|
-
readonly default:
|
|
503
|
+
readonly _sceneUniformsBuffer: {
|
|
504
|
+
readonly default: GPUBuffer | null;
|
|
504
505
|
readonly nonPersistent: true;
|
|
505
|
-
readonly mutable: true;
|
|
506
506
|
};
|
|
507
507
|
} & {
|
|
508
508
|
readonly _iblEnvironment: {
|
|
@@ -522,9 +522,9 @@ export declare const pbrIblRender: {
|
|
|
522
522
|
readonly nonPersistent: true;
|
|
523
523
|
};
|
|
524
524
|
};
|
|
525
|
-
readonly archetypes: {
|
|
525
|
+
readonly archetypes: {
|
|
526
526
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
527
|
-
} & {} & {
|
|
527
|
+
} & {} & {} & {
|
|
528
528
|
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
529
529
|
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
530
530
|
} & {
|
|
@@ -541,62 +541,7 @@ export declare const pbrIblRender: {
|
|
|
541
541
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
542
542
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
543
543
|
} & {} & {} & {};
|
|
544
|
-
readonly transactions: {} & {} & {
|
|
545
|
-
readonly setLight: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
|
|
546
|
-
readonly light: {
|
|
547
|
-
readonly default: import("../../scene/light/public.js");
|
|
548
|
-
};
|
|
549
|
-
}>, {}, {}, never>, args: Partial<import("../../scene/light/public.js")>) => void;
|
|
550
|
-
} & {} & {} & {
|
|
551
|
-
readonly setCanvas: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
|
|
552
|
-
readonly renderPassEncoder: {
|
|
553
|
-
readonly default: GPURenderPassEncoder | null;
|
|
554
|
-
readonly nonPersistent: true;
|
|
555
|
-
};
|
|
556
|
-
readonly depthTexture: {
|
|
557
|
-
readonly default: GPUTexture | null;
|
|
558
|
-
readonly nonPersistent: true;
|
|
559
|
-
};
|
|
560
|
-
readonly clearColor: {
|
|
561
|
-
readonly default: import("@adobe/data/math").Vec4;
|
|
562
|
-
readonly nonPersistent: true;
|
|
563
|
-
};
|
|
564
|
-
readonly canvas: {
|
|
565
|
-
readonly default: HTMLCanvasElement | null;
|
|
566
|
-
readonly nonPersistent: true;
|
|
567
|
-
};
|
|
568
|
-
readonly canvasContext: {
|
|
569
|
-
readonly default: GPUCanvasContext | null;
|
|
570
|
-
readonly nonPersistent: true;
|
|
571
|
-
};
|
|
572
|
-
readonly canvasFormat: {
|
|
573
|
-
readonly default: GPUTextureFormat;
|
|
574
|
-
readonly nonPersistent: true;
|
|
575
|
-
};
|
|
576
|
-
readonly depthFormat: {
|
|
577
|
-
readonly default: GPUTextureFormat;
|
|
578
|
-
readonly nonPersistent: true;
|
|
579
|
-
};
|
|
580
|
-
} & {
|
|
581
|
-
readonly frameTime: {
|
|
582
|
-
readonly default: import("../../../core/frame-time/public.js");
|
|
583
|
-
readonly nonPersistent: true;
|
|
584
|
-
};
|
|
585
|
-
} & {
|
|
586
|
-
readonly schedulerState: {
|
|
587
|
-
readonly default: import("@adobe/data/ecs").SchedulerState;
|
|
588
|
-
};
|
|
589
|
-
} & {
|
|
590
|
-
readonly device: {
|
|
591
|
-
readonly default: GPUDevice | null;
|
|
592
|
-
readonly nonPersistent: true;
|
|
593
|
-
};
|
|
594
|
-
readonly commandEncoder: {
|
|
595
|
-
readonly default: GPUCommandEncoder | null;
|
|
596
|
-
readonly nonPersistent: true;
|
|
597
|
-
};
|
|
598
|
-
}>, {}, {}, never>, canvas: HTMLCanvasElement | null) => void;
|
|
599
|
-
} & {} & {} & {} & {
|
|
544
|
+
readonly transactions: {} & {} & {} & {
|
|
600
545
|
readonly insertMaterial: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
601
546
|
readonly material: {
|
|
602
547
|
readonly entity: true;
|
|
@@ -775,7 +720,7 @@ export declare const pbrIblRender: {
|
|
|
775
720
|
readonly unique: true;
|
|
776
721
|
readonly archetype: "Material";
|
|
777
722
|
};
|
|
778
|
-
}, never>, row: import("../../../material/public.js")) => number;
|
|
723
|
+
}, never, never>, row: import("../../../material/public.js")) => number;
|
|
779
724
|
readonly insertMaterialDefinition: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
780
725
|
readonly material: {
|
|
781
726
|
readonly entity: true;
|
|
@@ -954,7 +899,7 @@ export declare const pbrIblRender: {
|
|
|
954
899
|
readonly unique: true;
|
|
955
900
|
readonly archetype: "Material";
|
|
956
901
|
};
|
|
957
|
-
}, never>, args: {
|
|
902
|
+
}, never, never>, args: {
|
|
958
903
|
name: string;
|
|
959
904
|
definition: import("../../../material/material-definition.js").MaterialDefinition;
|
|
960
905
|
}) => number;
|
|
@@ -1136,7 +1081,7 @@ export declare const pbrIblRender: {
|
|
|
1136
1081
|
readonly unique: true;
|
|
1137
1082
|
readonly archetype: "Material";
|
|
1138
1083
|
};
|
|
1139
|
-
}, never>, defs: Readonly<Record<string, import("../../../material/material-definition.js").MaterialDefinition>>) => void;
|
|
1084
|
+
}, never, never>, defs: Readonly<Record<string, import("../../../material/material-definition.js").MaterialDefinition>>) => void;
|
|
1140
1085
|
readonly seedStandardMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1141
1086
|
readonly material: {
|
|
1142
1087
|
readonly entity: true;
|
|
@@ -1315,7 +1260,7 @@ export declare const pbrIblRender: {
|
|
|
1315
1260
|
readonly unique: true;
|
|
1316
1261
|
readonly archetype: "Material";
|
|
1317
1262
|
};
|
|
1318
|
-
}, never>) => void;
|
|
1263
|
+
}, never, never>) => void;
|
|
1319
1264
|
readonly seedDefinitionMaterials: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1320
1265
|
readonly material: {
|
|
1321
1266
|
readonly entity: true;
|
|
@@ -1494,7 +1439,7 @@ export declare const pbrIblRender: {
|
|
|
1494
1439
|
readonly unique: true;
|
|
1495
1440
|
readonly archetype: "Material";
|
|
1496
1441
|
};
|
|
1497
|
-
}, never>) => void;
|
|
1442
|
+
}, never, never>) => void;
|
|
1498
1443
|
} & {
|
|
1499
1444
|
readonly insertGltfMesh: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
1500
1445
|
readonly mesh: {
|
|
@@ -1831,7 +1776,7 @@ export declare const pbrIblRender: {
|
|
|
1831
1776
|
readonly unique: true;
|
|
1832
1777
|
readonly archetype: "Material";
|
|
1833
1778
|
};
|
|
1834
|
-
}, never>, args: {
|
|
1779
|
+
}, never, never>, args: {
|
|
1835
1780
|
url: string;
|
|
1836
1781
|
}) => number;
|
|
1837
1782
|
readonly insertShapeMesh: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
@@ -2169,7 +2114,7 @@ export declare const pbrIblRender: {
|
|
|
2169
2114
|
readonly unique: true;
|
|
2170
2115
|
readonly archetype: "Material";
|
|
2171
2116
|
};
|
|
2172
|
-
}, never>, args: {
|
|
2117
|
+
}, never, never>, args: {
|
|
2173
2118
|
shapeSpec: import("../../public.js").ShapeSpec;
|
|
2174
2119
|
}) => number;
|
|
2175
2120
|
readonly insertMeshInstance: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{
|
|
@@ -2507,7 +2452,7 @@ export declare const pbrIblRender: {
|
|
|
2507
2452
|
readonly unique: true;
|
|
2508
2453
|
readonly archetype: "Material";
|
|
2509
2454
|
};
|
|
2510
|
-
}, never>, args: {
|
|
2455
|
+
}, never, never>, args: {
|
|
2511
2456
|
mesh: number;
|
|
2512
2457
|
material: number;
|
|
2513
2458
|
position?: Vec3;
|
|
@@ -2849,14 +2794,14 @@ export declare const pbrIblRender: {
|
|
|
2849
2794
|
readonly unique: true;
|
|
2850
2795
|
readonly archetype: "Material";
|
|
2851
2796
|
};
|
|
2852
|
-
}, never>, args: {
|
|
2797
|
+
}, never, never>, args: {
|
|
2853
2798
|
mesh: number;
|
|
2854
2799
|
position?: Vec3;
|
|
2855
2800
|
rotation?: import("@adobe/data/math").Quat;
|
|
2856
2801
|
scale?: Vec3;
|
|
2857
2802
|
parent?: number;
|
|
2858
2803
|
}) => number;
|
|
2859
|
-
} & {} & {
|
|
2804
|
+
} & {} & {} & {} & {
|
|
2860
2805
|
readonly insertAnimationClip: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{} & {
|
|
2861
2806
|
readonly animationClipTracks: {
|
|
2862
2807
|
readonly default: import("../../animation/animation-track/public.js")[];
|
|
@@ -2903,7 +2848,7 @@ export declare const pbrIblRender: {
|
|
|
2903
2848
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
2904
2849
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
2905
2850
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
2906
|
-
}, {} & {}, never>, args: {
|
|
2851
|
+
}, {} & {}, never, never>, args: {
|
|
2907
2852
|
tracks: import("../../animation/animation-track/public.js")[];
|
|
2908
2853
|
duration: number;
|
|
2909
2854
|
}) => number;
|
|
@@ -2953,7 +2898,7 @@ export declare const pbrIblRender: {
|
|
|
2953
2898
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
2954
2899
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
2955
2900
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
2956
|
-
}, {} & {}, never>, args: {
|
|
2901
|
+
}, {} & {}, never, never>, args: {
|
|
2957
2902
|
animationClipRef: number;
|
|
2958
2903
|
animationTargets: number[];
|
|
2959
2904
|
animationTime?: number;
|
|
@@ -3008,12 +2953,80 @@ export declare const pbrIblRender: {
|
|
|
3008
2953
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
3009
2954
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
3010
2955
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
3011
|
-
}, {}, never>, args: {
|
|
2956
|
+
}, {}, never, never>, args: {
|
|
3012
2957
|
dt: number;
|
|
3013
2958
|
observable: boolean;
|
|
3014
2959
|
}) => void;
|
|
3015
2960
|
} & {} & {
|
|
3016
2961
|
readonly insertLoadedPrimitives: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{} & {
|
|
2962
|
+
readonly _vertexBuffer: {
|
|
2963
|
+
readonly default: GPUBuffer | null;
|
|
2964
|
+
readonly nonPersistent: true;
|
|
2965
|
+
};
|
|
2966
|
+
readonly _skinVertexBuffer: {
|
|
2967
|
+
readonly default: GPUBuffer | null;
|
|
2968
|
+
readonly nonPersistent: true;
|
|
2969
|
+
};
|
|
2970
|
+
readonly _indexBuffer: {
|
|
2971
|
+
readonly default: GPUBuffer | null;
|
|
2972
|
+
readonly nonPersistent: true;
|
|
2973
|
+
};
|
|
2974
|
+
readonly _indexCount: {
|
|
2975
|
+
readonly default: undefined;
|
|
2976
|
+
readonly nonPersistent: true;
|
|
2977
|
+
readonly type: "integer";
|
|
2978
|
+
readonly minimum: 0;
|
|
2979
|
+
readonly maximum: 4294967295;
|
|
2980
|
+
};
|
|
2981
|
+
readonly _indexFormat: {
|
|
2982
|
+
readonly default: GPUIndexFormat;
|
|
2983
|
+
readonly nonPersistent: true;
|
|
2984
|
+
};
|
|
2985
|
+
readonly _materialBindGroup: {
|
|
2986
|
+
readonly default: GPUBindGroup | null;
|
|
2987
|
+
readonly nonPersistent: true;
|
|
2988
|
+
};
|
|
2989
|
+
readonly _mesh: {
|
|
2990
|
+
readonly default: undefined;
|
|
2991
|
+
readonly nonPersistent: true;
|
|
2992
|
+
readonly entity: true;
|
|
2993
|
+
readonly type: "integer";
|
|
2994
|
+
readonly minimum: -2147483648;
|
|
2995
|
+
readonly maximum: 2147483647;
|
|
2996
|
+
};
|
|
2997
|
+
readonly _material: {
|
|
2998
|
+
readonly default: undefined;
|
|
2999
|
+
readonly nonPersistent: true;
|
|
3000
|
+
readonly entity: true;
|
|
3001
|
+
readonly type: "integer";
|
|
3002
|
+
readonly minimum: -2147483648;
|
|
3003
|
+
readonly maximum: 2147483647;
|
|
3004
|
+
};
|
|
3005
|
+
readonly _nodeLocalMatrix: {
|
|
3006
|
+
readonly default: undefined;
|
|
3007
|
+
readonly nonPersistent: true;
|
|
3008
|
+
readonly type: "array";
|
|
3009
|
+
readonly items: {
|
|
3010
|
+
readonly type: "number";
|
|
3011
|
+
readonly precision: 1;
|
|
3012
|
+
readonly default: number;
|
|
3013
|
+
};
|
|
3014
|
+
readonly minItems: 16;
|
|
3015
|
+
readonly maxItems: 16;
|
|
3016
|
+
};
|
|
3017
|
+
readonly _skeletonModelRef: {
|
|
3018
|
+
readonly default: undefined;
|
|
3019
|
+
readonly nonPersistent: true;
|
|
3020
|
+
readonly entity: true;
|
|
3021
|
+
readonly type: "integer";
|
|
3022
|
+
readonly minimum: -2147483648;
|
|
3023
|
+
readonly maximum: 2147483647;
|
|
3024
|
+
};
|
|
3025
|
+
readonly _skeletonJointMatrixBindGroup: {
|
|
3026
|
+
readonly default: GPUBindGroup | null;
|
|
3027
|
+
readonly nonPersistent: true;
|
|
3028
|
+
};
|
|
3029
|
+
} & {
|
|
3017
3030
|
readonly visible: {
|
|
3018
3031
|
readonly type: "boolean";
|
|
3019
3032
|
readonly const: true;
|
|
@@ -3362,74 +3375,6 @@ export declare const pbrIblRender: {
|
|
|
3362
3375
|
readonly const: true;
|
|
3363
3376
|
readonly default: true;
|
|
3364
3377
|
};
|
|
3365
|
-
} & {
|
|
3366
|
-
readonly _vertexBuffer: {
|
|
3367
|
-
readonly default: GPUBuffer | null;
|
|
3368
|
-
readonly nonPersistent: true;
|
|
3369
|
-
};
|
|
3370
|
-
readonly _skinVertexBuffer: {
|
|
3371
|
-
readonly default: GPUBuffer | null;
|
|
3372
|
-
readonly nonPersistent: true;
|
|
3373
|
-
};
|
|
3374
|
-
readonly _indexBuffer: {
|
|
3375
|
-
readonly default: GPUBuffer | null;
|
|
3376
|
-
readonly nonPersistent: true;
|
|
3377
|
-
};
|
|
3378
|
-
readonly _indexCount: {
|
|
3379
|
-
readonly default: undefined;
|
|
3380
|
-
readonly nonPersistent: true;
|
|
3381
|
-
readonly type: "integer";
|
|
3382
|
-
readonly minimum: 0;
|
|
3383
|
-
readonly maximum: 4294967295;
|
|
3384
|
-
};
|
|
3385
|
-
readonly _indexFormat: {
|
|
3386
|
-
readonly default: GPUIndexFormat;
|
|
3387
|
-
readonly nonPersistent: true;
|
|
3388
|
-
};
|
|
3389
|
-
readonly _materialBindGroup: {
|
|
3390
|
-
readonly default: GPUBindGroup | null;
|
|
3391
|
-
readonly nonPersistent: true;
|
|
3392
|
-
};
|
|
3393
|
-
readonly _mesh: {
|
|
3394
|
-
readonly default: undefined;
|
|
3395
|
-
readonly nonPersistent: true;
|
|
3396
|
-
readonly entity: true;
|
|
3397
|
-
readonly type: "integer";
|
|
3398
|
-
readonly minimum: -2147483648;
|
|
3399
|
-
readonly maximum: 2147483647;
|
|
3400
|
-
};
|
|
3401
|
-
readonly _material: {
|
|
3402
|
-
readonly default: undefined;
|
|
3403
|
-
readonly nonPersistent: true;
|
|
3404
|
-
readonly entity: true;
|
|
3405
|
-
readonly type: "integer";
|
|
3406
|
-
readonly minimum: -2147483648;
|
|
3407
|
-
readonly maximum: 2147483647;
|
|
3408
|
-
};
|
|
3409
|
-
readonly _nodeLocalMatrix: {
|
|
3410
|
-
readonly default: undefined;
|
|
3411
|
-
readonly nonPersistent: true;
|
|
3412
|
-
readonly type: "array";
|
|
3413
|
-
readonly items: {
|
|
3414
|
-
readonly type: "number";
|
|
3415
|
-
readonly precision: 1;
|
|
3416
|
-
readonly default: number;
|
|
3417
|
-
};
|
|
3418
|
-
readonly minItems: 16;
|
|
3419
|
-
readonly maxItems: 16;
|
|
3420
|
-
};
|
|
3421
|
-
readonly _skeletonModelRef: {
|
|
3422
|
-
readonly default: undefined;
|
|
3423
|
-
readonly nonPersistent: true;
|
|
3424
|
-
readonly entity: true;
|
|
3425
|
-
readonly type: "integer";
|
|
3426
|
-
readonly minimum: -2147483648;
|
|
3427
|
-
readonly maximum: 2147483647;
|
|
3428
|
-
};
|
|
3429
|
-
readonly _skeletonJointMatrixBindGroup: {
|
|
3430
|
-
readonly default: GPUBindGroup | null;
|
|
3431
|
-
readonly nonPersistent: true;
|
|
3432
|
-
};
|
|
3433
3378
|
}>, import("@adobe/data/schema").FromSchemas<{} & {
|
|
3434
3379
|
readonly _gltfMeshByUrl: {
|
|
3435
3380
|
readonly default: Map<string, number> | null;
|
|
@@ -3455,6 +3400,9 @@ export declare const pbrIblRender: {
|
|
|
3455
3400
|
readonly nonPersistent: true;
|
|
3456
3401
|
};
|
|
3457
3402
|
}>, {} & {} & {
|
|
3403
|
+
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
3404
|
+
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
3405
|
+
} & {
|
|
3458
3406
|
readonly Node: readonly ["position", "rotation", "scale", "parent", "visible"];
|
|
3459
3407
|
} & {} & {
|
|
3460
3408
|
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"];
|
|
@@ -3469,10 +3417,7 @@ export declare const pbrIblRender: {
|
|
|
3469
3417
|
readonly AnimationClip: readonly ["animationClipTracks", "animationClipDuration"];
|
|
3470
3418
|
readonly Animation: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying"];
|
|
3471
3419
|
readonly AnimationObservable: readonly ["animationClipRef", "animationTargets", "animationTime", "animationSpeed", "animationLoop", "animationPlaying", "animationObservable"];
|
|
3472
|
-
} & {} & {
|
|
3473
|
-
readonly _VisibleMaterial: readonly ["nonPersistent", "_materialBindGroup", "_mesh"];
|
|
3474
|
-
readonly _PbrPrimitive: readonly ["nonPersistent", "_vertexBuffer", "_skinVertexBuffer", "_indexBuffer", "_indexCount", "_indexFormat", "_material", "_mesh", "_nodeLocalMatrix"];
|
|
3475
|
-
}, {} & {} & {
|
|
3420
|
+
} & {}, {} & {} & {} & {
|
|
3476
3421
|
readonly nodeChildrenOf: {
|
|
3477
3422
|
readonly key: "parent";
|
|
3478
3423
|
readonly archetype: "Node";
|
|
@@ -3483,18 +3428,73 @@ export declare const pbrIblRender: {
|
|
|
3483
3428
|
readonly unique: true;
|
|
3484
3429
|
readonly archetype: "Material";
|
|
3485
3430
|
};
|
|
3486
|
-
} & {} & {} & {} & {}
|
|
3487
|
-
} & {
|
|
3488
|
-
|
|
3431
|
+
} & {} & {} & {} & {}, never, never>, args: import("../../scene/model/model-loader-plugin.js").LoadedArgs) => void;
|
|
3432
|
+
} & {
|
|
3433
|
+
readonly setCanvas: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
|
|
3434
|
+
readonly renderPassEncoder: {
|
|
3435
|
+
readonly default: GPURenderPassEncoder | null;
|
|
3436
|
+
readonly nonPersistent: true;
|
|
3437
|
+
};
|
|
3438
|
+
readonly depthTexture: {
|
|
3439
|
+
readonly default: GPUTexture | null;
|
|
3440
|
+
readonly nonPersistent: true;
|
|
3441
|
+
};
|
|
3442
|
+
readonly clearColor: {
|
|
3443
|
+
readonly default: import("@adobe/data/math").Vec4;
|
|
3444
|
+
readonly nonPersistent: true;
|
|
3445
|
+
};
|
|
3446
|
+
readonly canvas: {
|
|
3447
|
+
readonly default: HTMLCanvasElement | null;
|
|
3448
|
+
readonly nonPersistent: true;
|
|
3449
|
+
};
|
|
3450
|
+
readonly canvasContext: {
|
|
3451
|
+
readonly default: GPUCanvasContext | null;
|
|
3452
|
+
readonly nonPersistent: true;
|
|
3453
|
+
};
|
|
3454
|
+
readonly canvasFormat: {
|
|
3455
|
+
readonly default: GPUTextureFormat;
|
|
3456
|
+
readonly nonPersistent: true;
|
|
3457
|
+
};
|
|
3458
|
+
readonly depthFormat: {
|
|
3459
|
+
readonly default: GPUTextureFormat;
|
|
3460
|
+
readonly nonPersistent: true;
|
|
3461
|
+
};
|
|
3462
|
+
} & {
|
|
3463
|
+
readonly frameTime: {
|
|
3464
|
+
readonly default: import("../../../core/frame-time/public.js");
|
|
3465
|
+
readonly nonPersistent: true;
|
|
3466
|
+
};
|
|
3467
|
+
} & {
|
|
3468
|
+
readonly schedulerState: {
|
|
3469
|
+
readonly default: import("@adobe/data/ecs").SchedulerState;
|
|
3470
|
+
};
|
|
3471
|
+
} & {
|
|
3472
|
+
readonly device: {
|
|
3473
|
+
readonly default: GPUDevice | null;
|
|
3474
|
+
readonly nonPersistent: true;
|
|
3475
|
+
};
|
|
3476
|
+
readonly commandEncoder: {
|
|
3477
|
+
readonly default: GPUCommandEncoder | null;
|
|
3478
|
+
readonly nonPersistent: true;
|
|
3479
|
+
};
|
|
3480
|
+
}>, {}, {}, never, never>, canvas: HTMLCanvasElement | null) => void;
|
|
3481
|
+
} & {} & {
|
|
3482
|
+
readonly setLight: (t: import("@adobe/data/ecs").Store<import("@adobe/data/schema").FromSchemas<{}>, import("@adobe/data/schema").FromSchemas<{
|
|
3483
|
+
readonly light: {
|
|
3484
|
+
readonly default: import("../../scene/light/public.js");
|
|
3485
|
+
};
|
|
3486
|
+
}>, {}, {}, never, never>, args: Partial<import("../../scene/light/public.js")>) => void;
|
|
3487
|
+
} & {} & {};
|
|
3488
|
+
readonly systems: import("@adobe/data/ecs").SystemDeclarations<"transformCreateWorldMatrix" | "transformSystem" | "update" | "_frameTime" | "schedulerSystem" | "input" | "preUpdate" | "postUpdate" | "physics" | "preRender" | "render" | "postRender" | "animationSampleSystem" | "modelLoadSystem" | "configureCanvas" | "beginRenderPass" | "endRenderPass" | "updateCameraAspect" | "sceneUniformsSystem" | "iblInitSystem" | "pbrIblRenderSystem">;
|
|
3489
3489
|
readonly actions: {};
|
|
3490
3490
|
readonly services: {};
|
|
3491
3491
|
readonly computed: {};
|
|
3492
|
-
readonly indexes: {
|
|
3492
|
+
readonly indexes: {
|
|
3493
3493
|
readonly nodeChildrenOf: {
|
|
3494
3494
|
readonly key: "parent";
|
|
3495
3495
|
readonly archetype: "Node";
|
|
3496
3496
|
};
|
|
3497
|
-
} & {} & {} & {
|
|
3497
|
+
} & {} & {} & {} & {
|
|
3498
3498
|
readonly materialByName: {
|
|
3499
3499
|
readonly key: "name";
|
|
3500
3500
|
readonly unique: true;
|