@ignifx/core 0.14.0 → 0.16.0

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.
Files changed (58) hide show
  1. package/decoders/draco3dgltf.LICENSE.md +201 -0
  2. package/decoders/draco_decoder.js +116 -0
  3. package/decoders/draco_decoder_gltf.wasm +0 -0
  4. package/decoders/vendored.json +22 -0
  5. package/dist/agx-tone-mapping-Cgt844j6.js +53 -0
  6. package/dist/agx-tone-mapping-Cgt844j6.js.map +1 -0
  7. package/dist/auto-exposure-uzPn0beO.js +246 -0
  8. package/dist/auto-exposure-uzPn0beO.js.map +1 -0
  9. package/dist/bloom-hdr-CLtQj-oY.js +315 -0
  10. package/dist/bloom-hdr-CLtQj-oY.js.map +1 -0
  11. package/dist/contact-shadows-T523EXaP.js +84 -0
  12. package/dist/contact-shadows-T523EXaP.js.map +1 -0
  13. package/dist/{decoders-CHJ7vduE.js → decoders-BUQrlS8U.js} +3 -2
  14. package/dist/decoders-BUQrlS8U.js.map +1 -0
  15. package/dist/{environment-Cq2BmA96.js → environment-DPi0_0SP.js} +18 -4
  16. package/dist/environment-DPi0_0SP.js.map +1 -0
  17. package/dist/gtao-_nr0b6-E.js +630 -0
  18. package/dist/gtao-_nr0b6-E.js.map +1 -0
  19. package/dist/hdr-output-BrUvpAsE.js +525 -0
  20. package/dist/hdr-output-BrUvpAsE.js.map +1 -0
  21. package/dist/index.d.ts +509 -24
  22. package/dist/index.d.ts.map +1 -1
  23. package/dist/index.js +1522 -512
  24. package/dist/index.js.map +1 -1
  25. package/dist/{instanced-mesh-instance-DYwH0vLi.js → instanced-mesh-instance-NnODkvqK.js} +2 -2
  26. package/dist/{instanced-mesh-instance-DYwH0vLi.js.map → instanced-mesh-instance-NnODkvqK.js.map} +1 -1
  27. package/dist/mat4-D6exvAuO.js +949 -0
  28. package/dist/mat4-D6exvAuO.js.map +1 -0
  29. package/dist/{render-path-Dx0learj.js → render-path-Be7WgN7r.js} +35 -4
  30. package/dist/render-path-Be7WgN7r.js.map +1 -0
  31. package/dist/{render-texture-IuR0iFVa.js → render-texture-C_TnaSz2.js} +28 -2
  32. package/dist/render-texture-C_TnaSz2.js.map +1 -0
  33. package/dist/scene-color-passes-DlNr-qyZ.js +65 -0
  34. package/dist/scene-color-passes-DlNr-qyZ.js.map +1 -0
  35. package/dist/scene-inputs-BxGOsnIZ.js +318 -0
  36. package/dist/scene-inputs-BxGOsnIZ.js.map +1 -0
  37. package/dist/{shader-material-CDQ0Y5kN.js → shader-material-B6p66wB8.js} +17 -6
  38. package/dist/shader-material-B6p66wB8.js.map +1 -0
  39. package/dist/{shader-material-BPb_oEZQ.js → shader-material-C0TAUr4t.js} +102 -4
  40. package/dist/shader-material-C0TAUr4t.js.map +1 -0
  41. package/dist/ssgi-Dm-maZrc.js +113 -0
  42. package/dist/ssgi-Dm-maZrc.js.map +1 -0
  43. package/dist/{surface-shader-CwQ03yHG.js → surface-shader-BaK0kvBB.js} +2 -2
  44. package/dist/{surface-shader-CwQ03yHG.js.map → surface-shader-BaK0kvBB.js.map} +1 -1
  45. package/dist/taa-BwBZLy11.js +480 -0
  46. package/dist/taa-BwBZLy11.js.map +1 -0
  47. package/dist/{vec3-T2PasQZv.js → vec3-D-0Y2mzE.js} +4 -948
  48. package/dist/vec3-D-0Y2mzE.js.map +1 -0
  49. package/package.json +4 -2
  50. package/dist/decoders-CHJ7vduE.js.map +0 -1
  51. package/dist/environment-Cq2BmA96.js.map +0 -1
  52. package/dist/hdr-output-DDpIo4Q5.js +0 -300
  53. package/dist/hdr-output-DDpIo4Q5.js.map +0 -1
  54. package/dist/render-path-Dx0learj.js.map +0 -1
  55. package/dist/render-texture-IuR0iFVa.js.map +0 -1
  56. package/dist/shader-material-BPb_oEZQ.js.map +0 -1
  57. package/dist/shader-material-CDQ0Y5kN.js.map +0 -1
  58. package/dist/vec3-T2PasQZv.js.map +0 -1
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { AnimationGroup, AssetContainer, DirectionalLight, EngineContext, EnvironmentTextures, Font, FreeCamera, HemisphericLight, Material, MaterialPlugin, Mesh, PbrMaterialProps, PickingInfo, PointLight, RenderTarget, SceneContext, SceneNode, ShaderAttributeName as ShaderAttributeName$1, ShaderMaterial, ShaderSystemUniformName, ShaderUniformType as ShaderUniformType$1, ShadowGenerator, Skeleton, SpotLight, StandardMaterialProps, StorageBuffer, Texture2D } from "@babylonjs/lite";
1
+ import { AnimationGroup, AssetContainer, DirectionalLight, EngineContext, EnvironmentTextures, Font, FreeCamera, HemisphericLight, Material, MaterialPlugin, Mesh, PbrMaterialProps, PickingInfo, PointLight, RenderTarget, RenderTargetTextureResult, SceneContext, SceneNode, ShaderAttributeName as ShaderAttributeName$1, ShaderMaterial, ShaderSystemUniformName, ShaderUniformType as ShaderUniformType$1, ShadowGenerator, Skeleton, SpotLight, StandardMaterialProps, StorageBuffer, Task, Texture2D } from "@babylonjs/lite";
2
2
  //#region src/errors/error-codes.d.ts
3
3
  /**
4
4
  * The error code registry data: the subsystem ranges from
@@ -6625,6 +6625,11 @@ interface ShaderMaterialBuildOptions {
6625
6625
  readonly name: string;
6626
6626
  /** The WGSL source, handed to Lite as both the vertex and the fragment source. */
6627
6627
  readonly source: string;
6628
+ /**
6629
+ * Whether the scene renders through `rendering.hdr`, where the fragment's display colour is
6630
+ * decoded to linear before it is written (see {@link linearOutputFragment}). Absent means `false`.
6631
+ */
6632
+ readonly linearOutput?: boolean;
6628
6633
  /** The vertex attributes the vertex stage reads; `position` is mandatory. */
6629
6634
  readonly attributes: readonly ShaderAttributeName$1[];
6630
6635
  /** The system and custom uniforms, in binding-declaration order. */
@@ -7718,6 +7723,82 @@ export declare const CANVAS_ALPHA_MODES: readonly ["opaque", "premultiplied"];
7718
7723
  * @public
7719
7724
  */
7720
7725
  type CanvasAlphaMode = (typeof CANVAS_ALPHA_MODES)[number];
7726
+ /**
7727
+ * The ambient-occlusion qualities, in the order the inspector lists them: `"half"` computes GTAO at
7728
+ * half resolution with 2 slices of 4 steps a side, `"full"` at full resolution with 3 slices of 6.
7729
+ *
7730
+ * @public
7731
+ */
7732
+ export declare const AMBIENT_OCCLUSION_QUALITIES: readonly ["half", "full"];
7733
+ /**
7734
+ * The union of the ambient-occlusion qualities.
7735
+ *
7736
+ * @public
7737
+ */
7738
+ type AmbientOcclusionQuality = (typeof AMBIENT_OCCLUSION_QUALITIES)[number];
7739
+ /**
7740
+ * The rendering quality tiers, in the order the inspector lists them
7741
+ * (`docs/standards/coding-standards.md` §7 gives each tier's GPU budget).
7742
+ *
7743
+ * @remarks
7744
+ * - `"custom"` (default): every effect is exactly as the section and the `PostProcessStack`s say.
7745
+ * - `"low"`: GTAO at half resolution; no HDR, TAA, contact shadows or SSGI.
7746
+ * - `"medium"`: adds HDR and TAA, and lets a stack run contact shadows.
7747
+ * - `"high"`: GTAO at full resolution, and lets a stack run SSGI.
7748
+ *
7749
+ * @public
7750
+ */
7751
+ export declare const RENDERING_QUALITIES: readonly ["custom", "low", "medium", "high"];
7752
+ /**
7753
+ * The union of the rendering quality tiers.
7754
+ *
7755
+ * @public
7756
+ */
7757
+ type RenderingQuality = (typeof RENDERING_QUALITIES)[number];
7758
+ /**
7759
+ * What one quality tier switches.
7760
+ *
7761
+ * @internal
7762
+ */
7763
+ interface RenderingQualityPreset {
7764
+ /** `rendering.hdr`. */
7765
+ readonly hdr: boolean;
7766
+ /** `rendering.taa.enabled`. */
7767
+ readonly taa: boolean;
7768
+ /** `rendering.ambientOcclusion.enabled`. */
7769
+ readonly ambientOcclusion: boolean;
7770
+ /** `rendering.ambientOcclusion.quality`: the GTAO resolution. */
7771
+ readonly ambientOcclusionQuality: AmbientOcclusionQuality;
7772
+ /** Whether a `PostProcessStack`'s `contactShadows` record may run. */
7773
+ readonly contactShadows: boolean;
7774
+ /** Whether a `PostProcessStack`'s `ssgi` record may run. */
7775
+ readonly ssgi: boolean;
7776
+ }
7777
+ /**
7778
+ * Screen-space ambient occlusion (GTAO) on indirect light: `rendering.ambientOcclusion`
7779
+ * (`docs/architecture/07-rendering.md` §2.14).
7780
+ *
7781
+ * @remarks
7782
+ * Off by default, and nothing of it loads while it is off. On, a compute pass estimates how much of
7783
+ * each pixel's hemisphere the depth buffer hides, a depth-aware blur smooths it, and every lit PBR
7784
+ * material multiplies its ambient occlusion by the result. It darkens environment (IBL) light only:
7785
+ * direct lights, emissive colour, Standard materials and custom shaders are unchanged, so a scene
7786
+ * with no `Environment` cube map shows no difference. Works with and without `rendering.hdr`.
7787
+ *
7788
+ * @public
7789
+ */
7790
+ interface AmbientOcclusionSettings {
7791
+ /** Turns the effect on. Read once, when the app starts. */
7792
+ readonly enabled: boolean;
7793
+ /** `"half"` (default) or `"full"` resolution, which also sets the slice and step counts. */
7794
+ readonly quality: AmbientOcclusionQuality;
7795
+ /** How far an occluder may be from the surface it darkens, in world units (metres). */
7796
+ readonly radius: number;
7797
+ /** An exponent on the visibility: 1 is physically based, larger is darker. */
7798
+ readonly intensity: number;
7799
+ /** The fraction of `radius`, from its far end, over which occluders fade out. 0 cuts off hard. */
7800
+ readonly falloff: number;
7801
+ }
7721
7802
  /**
7722
7803
  * The rendering features a project switches on (`docs/architecture/07-rendering.md` §1.1). Every one
7723
7804
  * of them changes what Lite compiles at `registerScene`, so they are declared up front and a late
@@ -7748,6 +7829,61 @@ interface RenderingFeatureSettings {
7748
7829
  /** Rebuild scenes and their resources after the WebGPU device is lost. */
7749
7830
  readonly deviceLostRecovery: boolean;
7750
7831
  }
7832
+ /**
7833
+ * Auto exposure under `rendering.hdr` (`docs/plan/2026-11-gi-phase-1-execution-plan.md`, step G14):
7834
+ * a compute pass meters the HDR scene and eases the exposure towards middle grey.
7835
+ *
7836
+ * @remarks
7837
+ * EV here is `log2` of the scene's metered luminance (the average of a `log2` luminance histogram,
7838
+ * the darkest 10% and brightest 10% dropped). The exposure maps that average to 0.18 and multiplies
7839
+ * the scene before the `Environment`'s own exposure and curve, so the two compose.
7840
+ *
7841
+ * @public
7842
+ */
7843
+ interface AutoExposureSettings {
7844
+ /** Meter the scene and adapt the exposure. Off by default; needs `rendering.hdr`. */
7845
+ readonly enabled: boolean;
7846
+ /** The darkest metered EV the exposure follows: a darker scene is not brightened further. */
7847
+ readonly minEv: number;
7848
+ /** The brightest metered EV the exposure follows: a brighter scene is not darkened further. */
7849
+ readonly maxEv: number;
7850
+ /** Adaptation rate, per second, when the scene gets brighter. */
7851
+ readonly speedUp: number;
7852
+ /** Adaptation rate, per second, when the scene gets darker. */
7853
+ readonly speedDown: number;
7854
+ /** Stops added to the computed exposure; positive is brighter. */
7855
+ readonly compensation: number;
7856
+ }
7857
+ /**
7858
+ * Temporal anti-aliasing, the `rendering.taa` record (`docs/architecture/07-rendering.md` §2.13).
7859
+ *
7860
+ * @remarks
7861
+ * Needs `rendering.hdr`: TAA runs on the linear scene colour between the scene pass and the HDR
7862
+ * output pass. With `hdr` off it stays off and the app logs a warning. Nothing of it loads while
7863
+ * `enabled` is `false`.
7864
+ *
7865
+ * @example
7866
+ * ```ts
7867
+ * const app = await createApp({ canvas, settings: { rendering: { hdr: true, taa: { enabled: true } } } });
7868
+ * ```
7869
+ *
7870
+ * @public
7871
+ */
7872
+ interface TaaSettings {
7873
+ /** Turn TAA on. Off by default. */
7874
+ readonly enabled: boolean;
7875
+ /** Weight of the current frame, 0.01–1. Lower is smoother but slower to follow change. Default 0.1. */
7876
+ readonly blend: number;
7877
+ /** Output sharpening, 0–1, to offset the softening TAA brings. Default 0. */
7878
+ readonly sharpness: number;
7879
+ /** Clip history to the current pixel's neighbourhood, which prevents ghosting. Default `true`. */
7880
+ readonly clamp: boolean;
7881
+ /**
7882
+ * How far, in world units, the camera may move in one frame before the history is dropped as a
7883
+ * camera cut. A turn of more than 60° in one frame is a cut too. Default 10.
7884
+ */
7885
+ readonly cutDistance: number;
7886
+ }
7751
7887
  /**
7752
7888
  * The resolved `rendering` settings section
7753
7889
  * (`docs/architecture/04-extensions.md` §5, `07-rendering.md` §1).
@@ -7802,12 +7938,36 @@ interface RenderingSettings {
7802
7938
  * @remarks
7803
7939
  * Off by default, and nothing of it loads while it is off. On, PBR materials keep their linear
7804
7940
  * colour, which may go above 1, and a final output pass applies the `Environment`'s exposure,
7805
- * contrast and tone-mapping curve and encodes the result for the screen. A scene that only uses
7806
- * PBR materials looks the same either way; later effects (HDR bloom, auto exposure) need it on.
7807
- * Fog, Standard materials, surface shaders, sprites, particles and the skybox are not yet carried
7808
- * in linear colour (`docs/plan/2026-11-gi-phase-1-execution-plan.md`, step G3).
7941
+ * contrast and tone-mapping curve and encodes the result for the screen. Fog, Standard and unlit
7942
+ * materials, surface shaders, custom `.wgsl` materials (particles, foliage) and the `.env`/`.dds`
7943
+ * skybox are carried in linear colour too, and sprites draw after the output pass, so with the
7944
+ * default image processing a scene looks the same either way; under a tone-mapping curve, Standard
7945
+ * and custom-shader colour now goes through it as well. A `PostProcessStack`'s custom effects
7946
+ * ordered before any built-in one see linear colour. Lite's six-face `loadSkybox` cube is not
7947
+ * covered (`docs/architecture/07-rendering.md` §2.7). Later effects (HDR bloom, auto exposure)
7948
+ * need it on.
7809
7949
  */
7810
7950
  readonly hdr: boolean;
7951
+ /**
7952
+ * Auto exposure, read once at `app.start()`. Ignored unless {@link RenderingSettings.hdr} is on;
7953
+ * off, nothing of it loads.
7954
+ */
7955
+ readonly autoExposure: AutoExposureSettings;
7956
+ /** Screen-space ambient occlusion on indirect light (GTAO). Off by default. */
7957
+ readonly ambientOcclusion: AmbientOcclusionSettings;
7958
+ /** Temporal anti-aliasing; needs {@link RenderingSettings.hdr}. Off by default. */
7959
+ readonly taa: TaaSettings;
7960
+ /**
7961
+ * The quality tier, read once at `app.start()`. `"custom"` (default) changes nothing.
7962
+ *
7963
+ * @remarks
7964
+ * A named tier sets `hdr`, `taa.enabled`, `ambientOcclusion.enabled` and
7965
+ * `ambientOcclusion.quality`, and caps which screen-space effects a `PostProcessStack` may run
7966
+ * (contact shadows from `"medium"`, SSGI at `"high"`). A field the project writes itself wins over
7967
+ * its tier, so `{ quality: "high", taa: { enabled: false } }` is `"high"` without TAA. Bloom, tone
7968
+ * mapping and auto exposure stay as authored. See {@link RENDERING_QUALITIES}.
7969
+ */
7970
+ readonly quality: RenderingQuality;
7811
7971
  }
7812
7972
  /**
7813
7973
  * The name the `rendering` project settings section is registered under.
@@ -7821,6 +7981,15 @@ export declare const RENDERING_SETTINGS_SECTION = "rendering";
7821
7981
  * @public
7822
7982
  */
7823
7983
  export declare const DEFAULT_BRDF_LUT_ADDRESS = "environments/brdf-lut.png";
7984
+ /**
7985
+ * The auto exposure a project that names none gets: off, metering EV −6 to 6, adapting at 2 per
7986
+ * second towards brighter scenes and 1 towards darker ones, with no compensation.
7987
+ *
7988
+ * @returns A fresh record.
7989
+ *
7990
+ * @public
7991
+ */
7992
+ export declare function defaultAutoExposureSettings(): AutoExposureSettings;
7824
7993
  /**
7825
7994
  * The settings a project that declares no `rendering` section runs with: every feature off, Lite's
7826
7995
  * own swapchain defaults, and an unclamped device pixel ratio.
@@ -7848,6 +8017,20 @@ export declare function defaultRenderingSettings(): RenderingSettings;
7848
8017
  interface HdrOutputHandle {
7849
8018
  /** The scene's linear `rgba16float` colour, as a sampled texture. Values may exceed 1. */
7850
8019
  readonly sceneTexture: Texture2D;
8020
+ /** The render target behind {@link HdrOutputHandle.sceneTexture}, for a pass that writes it back (TAA). */
8021
+ readonly sceneTarget: RenderTarget;
8022
+ /** The `"scene"` render task, whose scene uniforms the TAA jitter offsets. */
8023
+ readonly sceneTask: Task;
8024
+ /**
8025
+ * The auto exposure result, a 1×1 `r32float` texture holding `log2` of the multiplier the output
8026
+ * pass applies (`./auto-exposure.ts`); `null` when `rendering.autoExposure` is off.
8027
+ */
8028
+ readonly exposureTexture: Texture2D | null;
8029
+ /**
8030
+ * The same target with its sampled facade and resize hook: what HDR bloom (step G12) samples,
8031
+ * writes back into, and rebinds on resize.
8032
+ */
8033
+ readonly sceneTargetTexture: RenderTargetTextureResult;
7851
8034
  /**
7852
8035
  * The per-frame work: uploads the scene's exposure, contrast and curve when they changed, and
7853
8036
  * gives every new PBR material the linear-output plugin.
@@ -7856,6 +8039,20 @@ interface HdrOutputHandle {
7856
8039
  * rebuild.
7857
8040
  */
7858
8041
  update(isSceneRegistered: boolean): void;
8042
+ /**
8043
+ * Puts a task between the scene pass and the output pass, where it reads and writes linear
8044
+ * colour: a `PostProcessStack`'s custom effects ordered before any built-in one (GI plan G3).
8045
+ *
8046
+ * @param task - The task; it must write an `rgba16float` target.
8047
+ * @param isFrameGraphBuilt - Whether the scene is registered, so the task has to be recorded now.
8048
+ */
8049
+ insertLinearTask(task: Task, isFrameGraphBuilt: boolean): void;
8050
+ /**
8051
+ * Points the output pass at another linear texture, or back at the scene's.
8052
+ *
8053
+ * @param texture - The last linear effect's output, or `null` for {@link HdrOutputHandle.sceneTexture}.
8054
+ */
8055
+ setOutputSource(texture: Texture2D | null): void;
7859
8056
  }
7860
8057
  /**
7861
8058
  * A scene's offscreen render path: the colour a `PostProcessStack` reads, and the compositing blit
@@ -7881,6 +8078,92 @@ interface ScenePresenter {
7881
8078
  readonly isPresentEnabled: boolean;
7882
8079
  /** The HDR output pass, when `rendering.hdr` is on; `null` for the plain offscreen path. */
7883
8080
  readonly hdr: HdrOutputHandle | null;
8081
+ /**
8082
+ * The scene's render task and the single-sample colour target it ends in: {@link
8083
+ * ScenePresenter.sceneColor} on the plain path, the `rgba16float` target under `rendering.hdr`.
8084
+ * Scene-colour effects (contact shadows, SSGI) insert their tasks right after `task` and write their
8085
+ * result back into `target`, so everything downstream reads it.
8086
+ */
8087
+ readonly scenePass: ScenePass;
8088
+ }
8089
+ /**
8090
+ * The scene's render task and its resolved colour target.
8091
+ *
8092
+ * @internal
8093
+ */
8094
+ interface ScenePass {
8095
+ /** The task named `"scene"`. */
8096
+ readonly task: Task;
8097
+ /** The single-sample colour target the scene ends in; it carries `TEXTURE_BINDING` and `COPY_DST`. */
8098
+ readonly target: RenderTarget;
8099
+ /** That target's colour format. */
8100
+ readonly format: GPUTextureFormat;
8101
+ }
8102
+ //#endregion
8103
+ //#region src/lite/gpu/scene-inputs.d.ts
8104
+ /**
8105
+ * One user's lease on the shared scene inputs.
8106
+ *
8107
+ * @remarks
8108
+ * Every texture is sized like the surface (backing-store pixels) and holds this frame's values for
8109
+ * any task that runs after the inputs' tasks, which sit at the start of the frame graph. A resize or
8110
+ * a recovered device swaps the GPU textures behind the same objects; bind groups that captured a
8111
+ * view must be rebuilt in {@link SceneInputs.onChange}.
8112
+ *
8113
+ * @internal
8114
+ */
8115
+ interface SceneInputs {
8116
+ /** Scene depth, `depth32float`, reverse-Z (1 near, 0 far). Bind with `sampleType: "depth"`. */
8117
+ readonly depth: Texture2D;
8118
+ /**
8119
+ * The same depth as the single-sample `RenderTarget` it lives in, for Lite tasks that take a
8120
+ * `depthTexture` target (contact shadows, SSGI).
8121
+ */
8122
+ readonly depthTarget: RenderTarget;
8123
+ /** World-space normals, `rgba16float`, stored as `n * 0.5 + 0.5`; 0 where nothing was drawn. */
8124
+ readonly normals: Texture2D;
8125
+ /**
8126
+ * Screen-space motion, `rgba16float`: `xy = 0.5 * (previousNdc - currentNdc)`, so UV units with Y
8127
+ * up, pointing from where a pixel is now to where it was last frame; 0 where nothing was drawn.
8128
+ * Camera motion always counts. Object motion counts for Standard materials only: Lite 1.34's PBR
8129
+ * geometry view reprojects the current world position (`pbr-geometry-output-shader.js` line 41),
8130
+ * so a moving PBR mesh under a still camera reads 0.
8131
+ */
8132
+ readonly velocity: Texture2D;
8133
+ /**
8134
+ * The depth pyramid, `r32float`, every mip level; level `n` is the `max` of its four children in
8135
+ * level `n - 1`. Read with `textureLoad(tex, coord, mip)`. A resize or recovered device replaces
8136
+ * this object, so read it again after {@link SceneInputs.onChange}.
8137
+ */
8138
+ readonly depthPyramid: Texture2D;
8139
+ /** How many mip levels {@link SceneInputs.depthPyramid} has. */
8140
+ readonly depthPyramidMipCount: number;
8141
+ /** `true` once {@link SceneInputs.release} ran. */
8142
+ readonly isReleased: boolean;
8143
+ /**
8144
+ * Registers a callback for when the textures were reallocated (resize, recovered device).
8145
+ *
8146
+ * @param callback - Runs during the frame graph rebuild, before the next frame is recorded.
8147
+ * @returns A function that unregisters it.
8148
+ */
8149
+ onChange(callback: () => void): () => void;
8150
+ /** Ends this lease. The last release removes and disposes the tasks and targets. Idempotent. */
8151
+ release(): void;
8152
+ }
8153
+ //#endregion
8154
+ //#region src/lite/gpu/taa.d.ts
8155
+ /**
8156
+ * The installed TAA passes.
8157
+ *
8158
+ * @internal
8159
+ */
8160
+ interface TaaHandle {
8161
+ /** Drops the history on the next frame, as a camera cut does. */
8162
+ reset(): void;
8163
+ /** How many times history has been reset, first frame included; for tests and diagnostics. */
8164
+ readonly resetCount: number;
8165
+ /** The jitter of the last frame, in pixels, each in `[-0.5, 0.5)`. */
8166
+ readonly jitter: readonly [number, number];
7884
8167
  }
7885
8168
  //#endregion
7886
8169
  //#region src/lite/picking.d.ts
@@ -8215,12 +8498,12 @@ interface RenderTaskTiming {
8215
8498
  */
8216
8499
  interface RenderTaskTimings {
8217
8500
  /**
8218
- * Whether the numbers mean anything: `"unsupported"` on a device with no timestamp queries — the
8219
- * CI software adapter is one — `"disabled"` until `profileTasks` is on, `"pending"` until the
8220
- * first readback lands, `"error"` when it failed, `"ok"` otherwise.
8501
+ * Whether the numbers mean anything: `"unsupported"` on a device with no timestamp queries,
8502
+ * `"disabled"` until `profileTasks` is on, `"pending"` until the first readback lands, `"error"`
8503
+ * when it failed, `"available"` otherwise.
8221
8504
  */
8222
8505
  readonly status: string;
8223
- /** The tasks, in frame execution order. Empty unless `status` is `"ok"`. */
8506
+ /** The tasks, in frame execution order. Empty unless `status` is `"available"`. */
8224
8507
  readonly tasks: readonly RenderTaskTiming[];
8225
8508
  }
8226
8509
  /**
@@ -8421,6 +8704,20 @@ interface Renderer {
8421
8704
  * @returns The snapshot.
8422
8705
  */
8423
8706
  taskTimings(): RenderTaskTimings;
8707
+ /**
8708
+ * Drops the temporal anti-aliasing history, so the next frame starts fresh.
8709
+ *
8710
+ * @remarks
8711
+ * Call it on a camera cut the automatic detection misses (`rendering.taa.cutDistance`): a switch
8712
+ * to another camera nearby, or a scene change under a still camera. Does nothing while
8713
+ * `rendering.taa` is off.
8714
+ *
8715
+ * @example
8716
+ * ```ts
8717
+ * app.renderer.resetTemporalHistory();
8718
+ * ```
8719
+ */
8720
+ resetTemporalHistory(): void;
8424
8721
  /**
8425
8722
  * Declares that a rendering feature must be on — what an extension calls from `register`
8426
8723
  * (`docs/architecture/07-rendering.md` §1.1).
@@ -8482,8 +8779,10 @@ interface Renderer {
8482
8779
  */
8483
8780
  declare class RendererImpl implements Renderer {
8484
8781
  #private;
8485
- /** The resolved `rendering` settings section. */
8782
+ /** The resolved `rendering` settings section, with its `quality` tier applied. */
8486
8783
  readonly settings: RenderingSettings;
8784
+ /** The `rendering.quality` tier's preset, which caps a stack's effects; `null` for `"custom"`. */
8785
+ readonly qualityPreset: RenderingQualityPreset | null;
8487
8786
  /** `true` once a topology change needs one `rebuildSceneRenderables` this frame. */
8488
8787
  needsRenderableRebuild: boolean;
8489
8788
  /** `true` once a `castShadows` or caster-set change needs the caster lists rebuilt this frame. */
@@ -8566,6 +8865,49 @@ declare class RendererImpl implements Renderer {
8566
8865
  * @returns The presenter, or `null`.
8567
8866
  */
8568
8867
  get presenter(): ScenePresenter | null;
8868
+ /**
8869
+ * Leases the shared scene inputs — depth, normals, velocity and a depth pyramid from one geometry
8870
+ * pass (`docs/architecture/07-rendering.md` §2.12) — for a screen-space effect.
8871
+ *
8872
+ * @remarks
8873
+ * The first call loads the `scene-inputs` chunk and adds the pass to the frame graph; the last
8874
+ * `release()` removes it. Nothing is loaded or added until an effect calls this.
8875
+ *
8876
+ * @returns The lease, or `null` under the null engine or once the renderer is disposed.
8877
+ *
8878
+ * @internal
8879
+ */
8880
+ acquireSceneInputs(): Promise<SceneInputs | null>;
8881
+ /**
8882
+ * Installs temporal anti-aliasing when `rendering.taa.enabled` is on (GI plan steps G5–G6).
8883
+ *
8884
+ * @remarks
8885
+ * Loads the `taa` chunk and leases the scene inputs only then. TAA needs the HDR render path;
8886
+ * without `rendering.hdr` it logs a warning and stays off. `app.initialize()` calls it once, after
8887
+ * the engine exists and before the scene is registered.
8888
+ *
8889
+ * @returns A promise that settles once the passes are in the frame graph, or at once when off.
8890
+ *
8891
+ * @internal
8892
+ */
8893
+ installTemporalAntiAliasing(): Promise<void>;
8894
+ /**
8895
+ * The TAA passes, when installed.
8896
+ *
8897
+ * @returns The handle, or `null`.
8898
+ *
8899
+ * @internal
8900
+ */
8901
+ get taa(): TaaHandle | null;
8902
+ resetTemporalHistory(): void;
8903
+ /**
8904
+ * How many scene-input leases are live; `0` before the first acquire.
8905
+ *
8906
+ * @returns The count.
8907
+ *
8908
+ * @internal
8909
+ */
8910
+ get sceneInputsUserCount(): number;
8569
8911
  /**
8570
8912
  * Whether `app.start()` has registered the render scene, after which Lite has compiled what it is
8571
8913
  * going to compile.
@@ -8846,6 +9188,21 @@ declare class RendererImpl implements Renderer {
8846
9188
  * @internal
8847
9189
  */
8848
9190
  attachHandles(engine: LiteEngine, scene: LiteScene, presenter?: ScenePresenter | null): void;
9191
+ /**
9192
+ * The GTAO pass's per-frame work: gives new PBR materials the AO plugin. The `PreRender` system
9193
+ * calls it every frame; it does nothing while `rendering.ambientOcclusion` is off.
9194
+ *
9195
+ * @internal
9196
+ */
9197
+ updateAmbientOcclusion(): void;
9198
+ /**
9199
+ * Whether the GTAO pass is built and running.
9200
+ *
9201
+ * @returns `true` once `rendering.ambientOcclusion` has installed it.
9202
+ *
9203
+ * @internal
9204
+ */
9205
+ get isAmbientOcclusionActive(): boolean;
8849
9206
  /**
8850
9207
  * Writes an sRGB colour onto the render scene's clear colour, so it presents as authored.
8851
9208
  *
@@ -8986,8 +9343,8 @@ declare class RendererImpl implements Renderer {
8986
9343
  */
8987
9344
  takeHeldChanges(): (() => void)[];
8988
9345
  /**
8989
- * Releases the open overlays, the picker and the warm-up probes. The core extension registers it
8990
- * as a disposer.
9346
+ * Releases the open overlays, the picker, the warm-up probes and the scene inputs. The core
9347
+ * extension registers it as a disposer.
8991
9348
  *
8992
9349
  * @internal
8993
9350
  */
@@ -9057,6 +9414,18 @@ type LiteCamera = FreeCamera;
9057
9414
  * @public
9058
9415
  */
9059
9416
  export declare const RENDER_TEXTURE_MAX_SIZE = 4096;
9417
+ /**
9418
+ * The Babylon Lite `metadata` key that keeps a render-scene mesh out of every render texture.
9419
+ *
9420
+ * @remarks
9421
+ * A mesh whose `metadata[EDITOR_ONLY_METADATA_KEY]` is `true` draws in the main view but never in
9422
+ * a {@link RenderTexture}: an editor's grid or helper that must not show in its game view or
9423
+ * thumbnails. Set it on a mesh reached through a `.lite` escape hatch, such as
9424
+ * `RenderOverlay.lite.mainScene` (no stability guarantee, `CONSTITUTION.md` §3.4).
9425
+ *
9426
+ * @beta
9427
+ */
9428
+ export declare const EDITOR_ONLY_METADATA_KEY = "ignifxEditorOnly";
9060
9429
  /**
9061
9430
  * An offscreen colour target a camera renders into (`docs/architecture/07-rendering.md` §2.11).
9062
9431
  *
@@ -15862,11 +16231,12 @@ export declare class Vec4 {
15862
16231
  */
15863
16232
  type LiteEnvironmentTextures = EnvironmentTextures;
15864
16233
  /**
15865
- * The tone-mapping curves `docs/architecture/07-rendering.md` §2.5 exposes.
16234
+ * The tone-mapping curves `docs/architecture/07-rendering.md` §2.5 exposes. `"agx"` is ignifx's
16235
+ * own Lite curve (`./agx-tone-mapping.ts`); the others are Lite's built-ins.
15866
16236
  *
15867
16237
  * @public
15868
16238
  */
15869
- export declare const TONE_MAPPING_NAMES: readonly ["none", "standard", "aces", "neutral"];
16239
+ export declare const TONE_MAPPING_NAMES: readonly ["none", "standard", "aces", "neutral", "agx"];
15870
16240
  //#endregion
15871
16241
  //#region src/render/environment-asset.d.ts
15872
16242
  /**
@@ -17446,9 +17816,11 @@ export declare class ModelAsset {
17446
17816
  * ## Decoders
17447
17817
  *
17448
17818
  * A glTF may need one of Lite's run-time decoders: `KHR_texture_basisu` images go through the KTX2
17449
- * decoder and `EXT_meshopt_compression` buffers through the meshopt decoder. Both load from
17450
- * `cdn.babylonjs.com` unless told otherwise, so the loader calls `configureDecoders` first, which
17451
- * points Lite at the copies `@ignifx/vite-plugin` serves (`../decoder-urls.ts`).
17819
+ * decoder, `EXT_meshopt_compression` buffers through the meshopt decoder and
17820
+ * `KHR_draco_mesh_compression` primitives through the Draco decoder. Lite loads them from
17821
+ * `cdn.babylonjs.com` (Draco: from `/`) unless told otherwise, so the loader calls
17822
+ * `configureDecoders` first, which points Lite at the copies `@ignifx/vite-plugin` serves
17823
+ * (`../decoder-urls.ts`). Lite fetches a decoder only when a file uses its extension.
17452
17824
  *
17453
17825
  * ## Headless
17454
17826
  *
@@ -18413,6 +18785,46 @@ export declare class Model extends Component implements ComponentHooks {
18413
18785
  consumeCasterChange(): boolean;
18414
18786
  }
18415
18787
  //#endregion
18788
+ //#region src/lite/gpu/bloom-hdr.d.ts
18789
+ /**
18790
+ * The tuning a `PostProcessStack`'s `bloom` record feeds the chain.
18791
+ *
18792
+ * @internal
18793
+ */
18794
+ interface HdrBloomTuning {
18795
+ /** How much glow is mixed in, 0–1. */
18796
+ readonly intensity: number;
18797
+ /** How far the glow spreads, 0–1: the weight of each lower mip when it is upsampled. */
18798
+ readonly radius: number;
18799
+ /** The linear luminance below which nothing glows; `0` lets every pixel contribute. */
18800
+ readonly threshold: number;
18801
+ }
18802
+ /**
18803
+ * A recorded HDR bloom chain.
18804
+ *
18805
+ * @internal
18806
+ */
18807
+ interface HdrBloom {
18808
+ /** The mip chain, largest first. */
18809
+ readonly mips: readonly Texture2D[];
18810
+ /** How many frame-graph tasks it recorded. */
18811
+ readonly taskCount: number;
18812
+ /**
18813
+ * Switches every task of the chain on or off.
18814
+ *
18815
+ * @param enabled - `false` to skip the chain; the HDR target then reaches the output pass as is.
18816
+ */
18817
+ setEnabled(enabled: boolean): void;
18818
+ /**
18819
+ * Uploads the tuning, when it changed.
18820
+ *
18821
+ * @param tuning - The values.
18822
+ */
18823
+ apply(tuning: HdrBloomTuning): void;
18824
+ /** Disables the tasks, makes them inert to a rebuild, and frees the mips and effects. */
18825
+ dispose(): void;
18826
+ }
18827
+ //#endregion
18416
18828
  //#region src/render/post-process-stack.d.ts
18417
18829
  /**
18418
18830
  * The `PostProcessStack` component (`docs/architecture/07-rendering.md` §2.7): the three effects the
@@ -18485,23 +18897,36 @@ export declare class Model extends Component implements ComponentHooks {
18485
18897
  /**
18486
18898
  * The `bloom` record a `PostProcessStack` declares (`docs/architecture/07-rendering.md` §2.7).
18487
18899
  *
18900
+ * @remarks
18901
+ * Two bloom passes share the record. Without `rendering.hdr` it is Lite's LDR bloom, recorded in the
18902
+ * chain after tone mapping, and `order`, `weight`, `kernel`, `threshold`, `exposure` and `scale`
18903
+ * apply. With `rendering.hdr` the HDR bloom **replaces** it: a downsample/upsample chain on the
18904
+ * linear scene colour, always before the output pass whatever `order` says, tuned by `intensity`,
18905
+ * `radius` and `hdrThreshold` (GI plan step G12).
18906
+ *
18488
18907
  * @public
18489
18908
  */
18490
18909
  interface BloomEffectSettings {
18491
18910
  /** Whether the glow pass runs. */
18492
18911
  enabled: boolean;
18493
- /** Position in the chain; lower runs first. */
18912
+ /** Position in the chain; lower runs first. LDR bloom only. */
18494
18913
  order: number;
18495
- /** How strongly the glow is mixed back in. */
18914
+ /** How strongly the glow is mixed back in. LDR bloom only. */
18496
18915
  weight: number;
18497
- /** The blur kernel width, in pixels. */
18916
+ /** The blur kernel width, in pixels. LDR bloom only. */
18498
18917
  kernel: number;
18499
- /** The luminance above which a pixel glows. */
18918
+ /** The luminance above which a pixel glows. LDR bloom only; HDR bloom reads `hdrThreshold`. */
18500
18919
  threshold: number;
18501
- /** An exposure applied while extracting highlights. */
18920
+ /** An exposure applied while extracting highlights. LDR bloom only. */
18502
18921
  exposure: number;
18503
- /** The fraction of full resolution the blur runs at. */
18922
+ /** The fraction of full resolution the blur runs at. LDR bloom only. */
18504
18923
  scale: number;
18924
+ /** HDR bloom: how much glow is mixed into the frame, 0–1. */
18925
+ intensity: number;
18926
+ /** HDR bloom: how far the glow spreads, 0 (tight) to 1 (wide). */
18927
+ radius: number;
18928
+ /** HDR bloom: the linear luminance below which nothing glows; `0`, the default, lets every pixel glow by its energy. */
18929
+ hdrThreshold: number;
18505
18930
  }
18506
18931
  /**
18507
18932
  * The `smaa` record a `PostProcessStack` declares (`docs/architecture/07-rendering.md` §2.7).
@@ -18534,6 +18959,50 @@ interface ImageProcessingEffectSettings {
18534
18959
  /** Position in the chain; lower runs first. */
18535
18960
  order: number;
18536
18961
  }
18962
+ /**
18963
+ * The `contactShadows` record a `PostProcessStack` declares (GI plan step G10,
18964
+ * `docs/architecture/07-rendering.md` §2.7): Lite's screen-space contact shadows towards the main
18965
+ * directional light, fed from the shared scene-input depth.
18966
+ *
18967
+ * @public
18968
+ */
18969
+ interface ContactShadowsEffectSettings {
18970
+ /** Whether the pass runs. */
18971
+ enabled: boolean;
18972
+ /** How dark a contact gets, 0 to 4. */
18973
+ intensity: number;
18974
+ /** How far each ray marches towards the light, in world units. */
18975
+ length: number;
18976
+ /** How thick a surface is assumed to be behind its depth, in world units. */
18977
+ thickness: number;
18978
+ /** March steps per pixel, 1 to 64. */
18979
+ samples: number;
18980
+ }
18981
+ /**
18982
+ * The `ssgi` record a `PostProcessStack` declares (GI plan step G11,
18983
+ * `docs/architecture/07-rendering.md` §2.7): Lite's `@beta` screen-space global illumination, one
18984
+ * bounce of the lit scene colour. Desktop tier.
18985
+ *
18986
+ * @beta
18987
+ */
18988
+ interface SsgiEffectSettings {
18989
+ /** Whether the pass runs. */
18990
+ enabled: boolean;
18991
+ /** How strongly the bounce is added, 0 to 4. */
18992
+ intensity: number;
18993
+ /** How far each ray marches, in world units. */
18994
+ radius: number;
18995
+ /** March steps per ray, 1 to 64. */
18996
+ samples: number;
18997
+ /** Whether rays are traced at half resolution. A change rebuilds the pass. */
18998
+ halfResolution: boolean;
18999
+ /**
19000
+ * How much of the environment's diffuse light remains while SSGI runs, 0 to 1, so the bounce is
19001
+ * not counted twice. Needs `rendering.hdr` or the `materialPlugins` feature; without either the
19002
+ * environment is left as it is.
19003
+ */
19004
+ environmentDiffuse: number;
19005
+ }
18537
19006
  /**
18538
19007
  * One instance of a post-process chain, attached to the main camera's entity
18539
19008
  * (`docs/architecture/07-rendering.md` §2.7).
@@ -18568,6 +19037,13 @@ export declare class PostProcessStack extends Component implements ComponentHook
18568
19037
  smaa: SmaaEffectSettings;
18569
19038
  imageProcessing: ImageProcessingEffectSettings;
18570
19039
  custom: CustomEffectSettings[];
19040
+ contactShadows: ContactShadowsEffectSettings;
19041
+ /**
19042
+ * Screen-space global illumination; see {@link SsgiEffectSettings}.
19043
+ *
19044
+ * @beta
19045
+ */
19046
+ ssgi: SsgiEffectSettings;
18571
19047
  /** Applies the schema defaults, exactly as `Component.define` would. */
18572
19048
  constructor();
18573
19049
  /**
@@ -18577,6 +19053,15 @@ export declare class PostProcessStack extends Component implements ComponentHook
18577
19053
  * `postProcessing` rendering feature is off.
18578
19054
  */
18579
19055
  get taskCount(): number;
19056
+ /**
19057
+ * The HDR bloom chain, once it is recorded.
19058
+ *
19059
+ * @returns The chain, or `null` without `rendering.hdr`, before bloom was enabled, or while its
19060
+ * chunk loads.
19061
+ *
19062
+ * @internal
19063
+ */
19064
+ get hdrBloom(): HdrBloom | null;
18580
19065
  /** Nothing to do at attach: the chain is built on the first sync that wants an effect. */
18581
19066
  onAttach(): void;
18582
19067
  /** Disables and disposes every task the stack recorded. */
@@ -19972,5 +20457,5 @@ export declare function transformSchema(): Schema;
19972
20457
  */
19973
20458
  export declare const TWEEN_SYSTEM_ORDER = -100;
19974
20459
  //#endregion
19975
- export type { AddComponentFromRecordOptions, App, AppEvents, AppLiteHandles, AppSettings, ArrayFieldSpec, AssetFieldSpec, AssetHandle, AssetLoadErrorOptions, AssetLoader, AssetManifest, AssetManifestEntry, AssetProgress, AssetRef, AssetRefValue, AssetState, AssetTypeDefinition, AssetTypeToken, Assets, AssetsCreateOptions, AssetsSettings, BatchHandle, BloomEffectSettings, BoolFieldSpec, BoxMeshOptions, CameraProjection, CanvasAlphaMode, CapsuleMeshOptions, Clock, ColorFieldSpec, ColorLike, ComponentBuildResult, ComponentClassInfo, ComponentDefinition, ComponentHandle, ComponentHooks, ComponentInit, ComponentInitValue, ComponentRefFieldSpec, ComponentReplacement, ComponentStatics, ComponentType, ComponentTypeToken, ConcreteComponentType, ConnectOptions, ConsoleLike, ConsoleSinkOptions, Coroutine, CoroutineHandle, CoroutineHost, CoroutineYield, CreateAppOptions, CreateEntityOptions, CreateSceneOptions, CurveFieldSpec, CurveKey, CurveValue, CustomEffectInit, CustomEffectSettings, CustomFieldCodec, CustomFieldSpec, CylinderMeshOptions, DecodeResult, DeferredQueue, DeviceLostInfo, DiagnosticsGroup, DiagnosticsOptions, Disconnect, EasingFunction, EasingName, EntityHandle, EntityOverrideField, EntityPrefabLink, EntityRefFieldSpec, EnumFieldSpec, EnvironmentAssetLiteHandles, EnvironmentDefinition, EnvironmentFogMode, EnvironmentFogSettings, EnvironmentSkyboxSettings, ErrorCode, ErrorCodeDescription, ErrorCodeRegistry, ErrorContext, ErrorFormatMode, ErrorReport, Extension, ExtensionContext, FetchLike, FieldDefinition, FieldOptions, FieldSpec, FieldsOf, FileStorageOptions, FontAssetLiteHandles, FrameSample, FrameState, GpuAdapterInfo, GroundMeshOptions, HotReloadHost, HotReloadKind, HotReloadModule, HotReloadOptions, HotReloadPolicy, HotReloadReport, HotReloadStatics, IgnifxErrorOptions, IgnifxUniformName, ImageProcessingEffectSettings, ImageProcessingSettings, InstanceRange, InstancedMeshLod, InstancedMeshRendererLiteHandles, InstantiateOptions, InstantiateSceneOptions, JsonArray, JsonObject, JsonSchemaObject, JsonValue, LayerMaskFieldSpec, LayersSettings, LightShadowSettings, LightType, LiteAnimationGroup, LiteAssetContainer, LiteCamera, LiteEngine, LiteEnvironmentTextures, LiteFont, AdapterLight as LiteLight, LiteMaterial, LiteMaterialPluginPoint, LiteMesh, LitePbrMaterial, LiteScene, LiteSceneNode, LiteShaderMaterial, LiteShadowGenerator, LiteSkeleton, LiteStandardMaterial, LiteStorageBuffer, LiteSystemUniformName, LiteTexture2D, LoadOptions, LoadProgress, LoadSceneDependenciesOptions, LoadSceneFileOptions, LoadSceneOptions, LoaderContext, LogRecord, LogSink, LogThreshold, Logger, LoggerOptions, ManualClock, MapFieldSpec, Mat4Elements, Mat4Like, MaterialAlphaMode, MaterialAssetLiteHandles, MaterialDefinition, MaterialKind, MaterialPluginDefinition, MaterialPluginDefinitionInit, MemorySink, MeshAssetLiteHandles, MeshGeometryData, MeshOptionKind, MeshPrimitive, MeshPrimitiveDefinition, MeshPrimitiveOptionKinds, ModelAssetLiteHandles, ModelInstantiation, MutableQuat, MutableVec2, MutableVec3, MutableVec4, NumberFieldSpec, OptionalFieldSpec, OverridePath, PartialFieldsOf, PbrMaterialDefinition, PhaseIndex, PixelTextureOptions, PlaneMeshOptions, PlatformInfo, PlatformKind, PlatformOs, PrefabApplyResult, PrefabOverrideSelection, PrefabOverrideSkip, ProfileScope, QuatLike, RandomSource, Ray, RayVector, RecordFieldSpec, ReferenceDecoder, ReferenceEncoder, RegisterAssetOptions, RegisterComponentOptions, RegisterSystemOptions, RenderCapture, RenderOverlay, RenderOverlayLiteHandles, RenderPick, RenderPickIgnore, RenderPickOptions, RenderSurface, RenderTaskTiming, RenderTaskTimings, RenderTexture, Renderer, RenderingFeature, RenderingFeatureSettings, RenderingSettings, SceneAsset, SceneBuildResult, SceneFile, SceneFileAssetRef, SceneFileComponent, SceneFileEntity, SceneFileInstance, SceneFileIssue, SceneFileOverride, SceneFileTransform, SceneLoadIssue, SceneLoaderOptions, Schema, SchemaDescription, SchemaDescriptionMeta, SchemaFieldDescription, SchemaIssue, ScriptCallbacks, ScriptClassInfo, ScriptDefinition, ScriptStatics, SerializeIssue, SerializeSceneOptions, ServiceClassKey, ServiceKey, ServiceNameKey, ServiceRegistry, SetParentOptions, SettingsInput, ShaderAttributeName, ShaderBlendMode, ShaderCullMode, ShaderDeclaration, ShaderDefineDeclaration, ShaderInstancingMode, ShaderKind, ShaderMaterialDefinition, ShaderMaterialDefinitionInput, ShaderPipelineState, ShaderStorageDeclaration, ShaderTextureDeclaration, ShaderTextureFallback, ShaderUniformDeclaration, ShaderUniformType, ShadowTechniqueName, SignalHandler, SignalLike, SignalOptions, SignalOwner, SmaaEffectSettings, SortingLayersSettings, SphereMeshOptions, StandardMaterialDefinition, Storage, StorageBackend, StorageBufferAssetLiteHandles, StoredValue, StoredValueKind, StringFieldSpec, SurfaceHookName, SurfaceHostCapabilities, SurfaceHostFamily, SurfaceShaderBinding, SurfaceShaderInit, SurfaceShaderReference, System, SystemContext, SystemEditMode, TextureAssetLiteHandles, TextureImportOptions, Time, TimeSettings, ToneMappingCurve, TorusMeshOptions, TweenOptions, TweenProps, TweenTargetValue, TweenValueKind, TweenableValue, Tweens, UlidFactoryOptions, Vec2Like, Vec3Like, Vec4Like, VectorFieldSpec, WaitInstruction, WebGpuInfo, WorldLiteHandles };
20460
+ export type { AddComponentFromRecordOptions, AmbientOcclusionQuality, AmbientOcclusionSettings, App, AppEvents, AppLiteHandles, AppSettings, ArrayFieldSpec, AssetFieldSpec, AssetHandle, AssetLoadErrorOptions, AssetLoader, AssetManifest, AssetManifestEntry, AssetProgress, AssetRef, AssetRefValue, AssetState, AssetTypeDefinition, AssetTypeToken, Assets, AssetsCreateOptions, AssetsSettings, AutoExposureSettings, BatchHandle, BloomEffectSettings, BoolFieldSpec, BoxMeshOptions, CameraProjection, CanvasAlphaMode, CapsuleMeshOptions, Clock, ColorFieldSpec, ColorLike, ComponentBuildResult, ComponentClassInfo, ComponentDefinition, ComponentHandle, ComponentHooks, ComponentInit, ComponentInitValue, ComponentRefFieldSpec, ComponentReplacement, ComponentStatics, ComponentType, ComponentTypeToken, ConcreteComponentType, ConnectOptions, ConsoleLike, ConsoleSinkOptions, ContactShadowsEffectSettings, Coroutine, CoroutineHandle, CoroutineHost, CoroutineYield, CreateAppOptions, CreateEntityOptions, CreateSceneOptions, CurveFieldSpec, CurveKey, CurveValue, CustomEffectInit, CustomEffectSettings, CustomFieldCodec, CustomFieldSpec, CylinderMeshOptions, DecodeResult, DeferredQueue, DeviceLostInfo, DiagnosticsGroup, DiagnosticsOptions, Disconnect, EasingFunction, EasingName, EntityHandle, EntityOverrideField, EntityPrefabLink, EntityRefFieldSpec, EnumFieldSpec, EnvironmentAssetLiteHandles, EnvironmentDefinition, EnvironmentFogMode, EnvironmentFogSettings, EnvironmentSkyboxSettings, ErrorCode, ErrorCodeDescription, ErrorCodeRegistry, ErrorContext, ErrorFormatMode, ErrorReport, Extension, ExtensionContext, FetchLike, FieldDefinition, FieldOptions, FieldSpec, FieldsOf, FileStorageOptions, FontAssetLiteHandles, FrameSample, FrameState, GpuAdapterInfo, GroundMeshOptions, HotReloadHost, HotReloadKind, HotReloadModule, HotReloadOptions, HotReloadPolicy, HotReloadReport, HotReloadStatics, IgnifxErrorOptions, IgnifxUniformName, ImageProcessingEffectSettings, ImageProcessingSettings, InstanceRange, InstancedMeshLod, InstancedMeshRendererLiteHandles, InstantiateOptions, InstantiateSceneOptions, JsonArray, JsonObject, JsonSchemaObject, JsonValue, LayerMaskFieldSpec, LayersSettings, LightShadowSettings, LightType, LiteAnimationGroup, LiteAssetContainer, LiteCamera, LiteEngine, LiteEnvironmentTextures, LiteFont, AdapterLight as LiteLight, LiteMaterial, LiteMaterialPluginPoint, LiteMesh, LitePbrMaterial, LiteScene, LiteSceneNode, LiteShaderMaterial, LiteShadowGenerator, LiteSkeleton, LiteStandardMaterial, LiteStorageBuffer, LiteSystemUniformName, LiteTexture2D, LoadOptions, LoadProgress, LoadSceneDependenciesOptions, LoadSceneFileOptions, LoadSceneOptions, LoaderContext, LogRecord, LogSink, LogThreshold, Logger, LoggerOptions, ManualClock, MapFieldSpec, Mat4Elements, Mat4Like, MaterialAlphaMode, MaterialAssetLiteHandles, MaterialDefinition, MaterialKind, MaterialPluginDefinition, MaterialPluginDefinitionInit, MemorySink, MeshAssetLiteHandles, MeshGeometryData, MeshOptionKind, MeshPrimitive, MeshPrimitiveDefinition, MeshPrimitiveOptionKinds, ModelAssetLiteHandles, ModelInstantiation, MutableQuat, MutableVec2, MutableVec3, MutableVec4, NumberFieldSpec, OptionalFieldSpec, OverridePath, PartialFieldsOf, PbrMaterialDefinition, PhaseIndex, PixelTextureOptions, PlaneMeshOptions, PlatformInfo, PlatformKind, PlatformOs, PrefabApplyResult, PrefabOverrideSelection, PrefabOverrideSkip, ProfileScope, QuatLike, RandomSource, Ray, RayVector, RecordFieldSpec, ReferenceDecoder, ReferenceEncoder, RegisterAssetOptions, RegisterComponentOptions, RegisterSystemOptions, RenderCapture, RenderOverlay, RenderOverlayLiteHandles, RenderPick, RenderPickIgnore, RenderPickOptions, RenderSurface, RenderTaskTiming, RenderTaskTimings, RenderTexture, Renderer, RenderingFeature, RenderingFeatureSettings, RenderingQuality, RenderingSettings, SceneAsset, SceneBuildResult, SceneFile, SceneFileAssetRef, SceneFileComponent, SceneFileEntity, SceneFileInstance, SceneFileIssue, SceneFileOverride, SceneFileTransform, SceneLoadIssue, SceneLoaderOptions, Schema, SchemaDescription, SchemaDescriptionMeta, SchemaFieldDescription, SchemaIssue, ScriptCallbacks, ScriptClassInfo, ScriptDefinition, ScriptStatics, SerializeIssue, SerializeSceneOptions, ServiceClassKey, ServiceKey, ServiceNameKey, ServiceRegistry, SetParentOptions, SettingsInput, ShaderAttributeName, ShaderBlendMode, ShaderCullMode, ShaderDeclaration, ShaderDefineDeclaration, ShaderInstancingMode, ShaderKind, ShaderMaterialDefinition, ShaderMaterialDefinitionInput, ShaderPipelineState, ShaderStorageDeclaration, ShaderTextureDeclaration, ShaderTextureFallback, ShaderUniformDeclaration, ShaderUniformType, ShadowTechniqueName, SignalHandler, SignalLike, SignalOptions, SignalOwner, SmaaEffectSettings, SortingLayersSettings, SphereMeshOptions, SsgiEffectSettings, StandardMaterialDefinition, Storage, StorageBackend, StorageBufferAssetLiteHandles, StoredValue, StoredValueKind, StringFieldSpec, SurfaceHookName, SurfaceHostCapabilities, SurfaceHostFamily, SurfaceShaderBinding, SurfaceShaderInit, SurfaceShaderReference, System, SystemContext, SystemEditMode, TaaSettings, TextureAssetLiteHandles, TextureImportOptions, Time, TimeSettings, ToneMappingCurve, TorusMeshOptions, TweenOptions, TweenProps, TweenTargetValue, TweenValueKind, TweenableValue, Tweens, UlidFactoryOptions, Vec2Like, Vec3Like, Vec4Like, VectorFieldSpec, WaitInstruction, WebGpuInfo, WorldLiteHandles };
19976
20461
  //# sourceMappingURL=index.d.ts.map