hilo3d 2.0.0-alpha.1 → 2.0.0-alpha.3

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/Hilo3d.d.ts CHANGED
@@ -6230,6 +6230,14 @@ interface NodeParameters {
6230
6230
  * camera's `visibility` mask.
6231
6231
  */
6232
6232
  layer?: number;
6233
+ /**
6234
+ * Coarse 2D display layer. Higher values render later.
6235
+ *
6236
+ * This is independent from `layer`, which is a camera-visibility bit mask.
6237
+ */
6238
+ sortingLayer?: number;
6239
+ /** Fine 2D display order within `sortingLayer`. Higher values render later. */
6240
+ zIndex?: number;
6233
6241
  pointerEnabled?: boolean;
6234
6242
  pointerChildren?: boolean;
6235
6243
  useHandCursor?: boolean;
@@ -6343,6 +6351,8 @@ declare class Node extends EventDispatcher {
6343
6351
  * `layer` controls per-camera collection for each renderable node.
6344
6352
  */
6345
6353
  layer: number;
6354
+ private sortingLayerValue;
6355
+ private zIndexValue;
6346
6356
  /**
6347
6357
  * 可视对象是否接受交互事件。默认为接受交互事件,即true。
6348
6358
  */
@@ -6594,6 +6604,18 @@ declare class Node extends EventDispatcher {
6594
6604
  * 位置
6595
6605
  */
6596
6606
  get position(): Vector3Notifier;
6607
+ /**
6608
+ * Coarse 2D display layer. Higher values render later.
6609
+ *
6610
+ * Unlike `layer`, this value does not affect Camera visibility. Sprite and Text2D ordering is
6611
+ * stable for equal `sortingLayer` and `zIndex`, so scene-tree traversal order remains the final
6612
+ * tie breaker.
6613
+ */
6614
+ get sortingLayer(): number;
6615
+ set sortingLayer(value: number);
6616
+ /** Fine 2D display order within `sortingLayer`. Higher values render later. */
6617
+ get zIndex(): number;
6618
+ set zIndex(value: number);
6597
6619
  /**
6598
6620
  * x轴坐标
6599
6621
  */
@@ -6816,6 +6838,23 @@ interface PBRMaterialParameters extends MaterialParameters {
6816
6838
  clearcoatRoughnessFactor?: number;
6817
6839
  clearcoatRoughnessMap?: Texture | null;
6818
6840
  clearcoatNormalMap?: Texture | null;
6841
+ clearcoatNormalScale?: number;
6842
+ anisotropyStrength?: number;
6843
+ anisotropyRotation?: number;
6844
+ anisotropyMap?: Texture | null;
6845
+ transmissionFactor?: number;
6846
+ transmissionMap?: Texture | null;
6847
+ thicknessFactor?: number;
6848
+ thicknessMap?: Texture | null;
6849
+ attenuationDistance?: number;
6850
+ attenuationColor?: Color;
6851
+ ior?: number;
6852
+ iridescenceFactor?: number;
6853
+ iridescenceMap?: Texture | null;
6854
+ iridescenceIor?: number;
6855
+ iridescenceThicknessMinimum?: number;
6856
+ iridescenceThicknessMaximum?: number;
6857
+ iridescenceThicknessMap?: Texture | null;
6819
6858
  }
6820
6859
  /**
6821
6860
  * PBR材质
@@ -6952,6 +6991,42 @@ declare class PBRMaterial extends Material {
6952
6991
  * The clearcoat normal map texture.
6953
6992
  */
6954
6993
  clearcoatNormalMap: Texture | null;
6994
+ /** Scale applied to the clearcoat normal texture XY channels. */
6995
+ clearcoatNormalScale: number;
6996
+ /** Strength of the anisotropic GGX lobe in the range [0, 1]. */
6997
+ anisotropyStrength: number;
6998
+ /** Counter-clockwise anisotropy direction rotation in tangent space, in radians. */
6999
+ anisotropyRotation: number;
7000
+ /** RG tangent-space direction and B strength texture from KHR_materials_anisotropy. */
7001
+ anisotropyMap: Texture | null;
7002
+ private _transmissionFactor;
7003
+ /** Thin-surface transmission fraction in the range [0, 1]. */
7004
+ get transmissionFactor(): number;
7005
+ set transmissionFactor(value: number);
7006
+ /** Linear R-channel transmission texture. */
7007
+ transmissionMap: Texture | null;
7008
+ /** Maximum volume thickness in scene units. */
7009
+ thicknessFactor: number;
7010
+ /** Linear G-channel thickness texture. */
7011
+ thicknessMap: Texture | null;
7012
+ /** Beer-Lambert attenuation distance; positive infinity disables attenuation. */
7013
+ attenuationDistance: number;
7014
+ /** Linear attenuation color reached after {@link PBRMaterial.attenuationDistance}. */
7015
+ attenuationColor: Color;
7016
+ /** Index of refraction used by screen-space volume refraction. */
7017
+ ior: number;
7018
+ /** Thin-film iridescence intensity in the range [0, 1]. */
7019
+ iridescenceFactor: number;
7020
+ /** Linear R-channel thin-film intensity texture. */
7021
+ iridescenceMap: Texture | null;
7022
+ /** Index of refraction of the thin-film layer. */
7023
+ iridescenceIor: number;
7024
+ /** Thin-film thickness represented by a zero texture sample, in nanometers. */
7025
+ iridescenceThicknessMinimum: number;
7026
+ /** Thin-film thickness represented by a one texture sample, in nanometers. */
7027
+ iridescenceThicknessMaximum: number;
7028
+ /** Linear G-channel thin-film thickness texture. */
7029
+ iridescenceThicknessMap: Texture | null;
6955
7030
  usedUniformVectors: number;
6956
7031
  /**
6957
7032
  * @param params - 初始化参数,所有params都会复制到实例上
@@ -7255,6 +7330,32 @@ interface GLTFClearcoatExtension {
7255
7330
  clearcoatRoughnessTexture?: GLTFTextureInfo;
7256
7331
  clearcoatNormalTexture?: GLTFTextureInfo;
7257
7332
  }
7333
+ interface GLTFAnisotropyExtension {
7334
+ anisotropyStrength?: number;
7335
+ anisotropyRotation?: number;
7336
+ anisotropyTexture?: GLTFTextureInfo;
7337
+ }
7338
+ interface GLTFTransmissionExtension {
7339
+ transmissionFactor?: number;
7340
+ transmissionTexture?: GLTFTextureInfo;
7341
+ }
7342
+ interface GLTFVolumeExtension {
7343
+ thicknessFactor?: number;
7344
+ thicknessTexture?: GLTFTextureInfo;
7345
+ attenuationDistance?: number;
7346
+ attenuationColor?: readonly [number, number, number];
7347
+ }
7348
+ interface GLTFIorExtension {
7349
+ ior?: number;
7350
+ }
7351
+ interface GLTFIridescenceExtension {
7352
+ iridescenceFactor?: number;
7353
+ iridescenceTexture?: GLTFTextureInfo;
7354
+ iridescenceIor?: number;
7355
+ iridescenceThicknessMinimum?: number;
7356
+ iridescenceThicknessMaximum?: number;
7357
+ iridescenceThicknessTexture?: GLTFTextureInfo;
7358
+ }
7258
7359
  interface GLTFMaterialsCommonExtension {
7259
7360
  technique?: 'CONSTANT' | 'LAMBERT' | 'PHONG' | 'BLINN';
7260
7361
  values: Readonly<Record<string, GLTFMaterialValue>>;
@@ -7661,6 +7762,25 @@ declare const KHR_materials_clearcoat: {
7661
7762
  getUsedTextureNameMap(extensionData: unknown, map: Record<string, true>): void;
7662
7763
  parse(extensionData: unknown, parser: GLTFParser, result: unknown): PBRMaterial;
7663
7764
  };
7765
+ declare const KHR_materials_anisotropy: {
7766
+ getUsedTextureNameMap(extensionData: unknown, map: Record<string, true>): void;
7767
+ parse(extensionData: unknown, parser: GLTFParser, result: unknown): PBRMaterial;
7768
+ };
7769
+ declare const KHR_materials_transmission: {
7770
+ getUsedTextureNameMap(extensionData: unknown, map: Record<string, true>): void;
7771
+ parse(extensionData: unknown, parser: GLTFParser, result: unknown): PBRMaterial;
7772
+ };
7773
+ declare const KHR_materials_volume: {
7774
+ getUsedTextureNameMap(extensionData: unknown, map: Record<string, true>): void;
7775
+ parse(extensionData: unknown, parser: GLTFParser, result: unknown): PBRMaterial;
7776
+ };
7777
+ declare const KHR_materials_ior: {
7778
+ parse(extensionData: unknown, _parser: GLTFParser, result: unknown): PBRMaterial;
7779
+ };
7780
+ declare const KHR_materials_iridescence: {
7781
+ getUsedTextureNameMap(extensionData: unknown, map: Record<string, true>): void;
7782
+ parse(extensionData: unknown, parser: GLTFParser, result: unknown): PBRMaterial;
7783
+ };
7664
7784
  declare const KHR_lights_punctual: {
7665
7785
  parse(extensionData: unknown, parser: GLTFParser, result: unknown): Node;
7666
7786
  };
@@ -7669,8 +7789,13 @@ declare const GLTFExtensions_d_ALI_animation_clips: typeof ALI_animation_clips;
7669
7789
  declare const GLTFExtensions_d_ALI_bounding_box: typeof ALI_bounding_box;
7670
7790
  declare const GLTFExtensions_d_HILO_animation_clips: typeof HILO_animation_clips;
7671
7791
  declare const GLTFExtensions_d_KHR_lights_punctual: typeof KHR_lights_punctual;
7792
+ declare const GLTFExtensions_d_KHR_materials_anisotropy: typeof KHR_materials_anisotropy;
7672
7793
  declare const GLTFExtensions_d_KHR_materials_clearcoat: typeof KHR_materials_clearcoat;
7794
+ declare const GLTFExtensions_d_KHR_materials_ior: typeof KHR_materials_ior;
7795
+ declare const GLTFExtensions_d_KHR_materials_iridescence: typeof KHR_materials_iridescence;
7673
7796
  declare const GLTFExtensions_d_KHR_materials_pbrSpecularGlossiness: typeof KHR_materials_pbrSpecularGlossiness;
7797
+ declare const GLTFExtensions_d_KHR_materials_transmission: typeof KHR_materials_transmission;
7798
+ declare const GLTFExtensions_d_KHR_materials_volume: typeof KHR_materials_volume;
7674
7799
  declare const GLTFExtensions_d_WEB3D_quantized_attributes: typeof WEB3D_quantized_attributes;
7675
7800
  declare namespace GLTFExtensions_d {
7676
7801
  export {
@@ -7678,8 +7803,13 @@ declare namespace GLTFExtensions_d {
7678
7803
  GLTFExtensions_d_ALI_bounding_box as ALI_bounding_box,
7679
7804
  GLTFExtensions_d_HILO_animation_clips as HILO_animation_clips,
7680
7805
  GLTFExtensions_d_KHR_lights_punctual as KHR_lights_punctual,
7806
+ GLTFExtensions_d_KHR_materials_anisotropy as KHR_materials_anisotropy,
7681
7807
  GLTFExtensions_d_KHR_materials_clearcoat as KHR_materials_clearcoat,
7808
+ GLTFExtensions_d_KHR_materials_ior as KHR_materials_ior,
7809
+ GLTFExtensions_d_KHR_materials_iridescence as KHR_materials_iridescence,
7682
7810
  GLTFExtensions_d_KHR_materials_pbrSpecularGlossiness as KHR_materials_pbrSpecularGlossiness,
7811
+ GLTFExtensions_d_KHR_materials_transmission as KHR_materials_transmission,
7812
+ GLTFExtensions_d_KHR_materials_volume as KHR_materials_volume,
7683
7813
  GLTFExtensions_d_WEB3D_quantized_attributes as WEB3D_quantized_attributes,
7684
7814
  };
7685
7815
  }
@@ -8680,9 +8810,9 @@ interface SpriteParameters extends Omit<MeshParameters, 'geometry' | 'material'
8680
8810
  width?: number;
8681
8811
  /** Logical display height. Defaults to the initial frame height. */
8682
8812
  height?: number;
8683
- /** Horizontal anchor in normalized local coordinates. */
8813
+ /** Horizontal anchor in normalized local coordinates. Defaults to the visual center (`0.5`). */
8684
8814
  anchorX?: number;
8685
- /** Vertical anchor in normalized local coordinates. */
8815
+ /** Vertical anchor in normalized local coordinates. Defaults to the visual center (`0.5`). */
8686
8816
  anchorY?: number;
8687
8817
  /** Per-instance color multiplier. */
8688
8818
  tint?: Color;
@@ -8693,16 +8823,29 @@ interface SpriteParameters extends Omit<MeshParameters, 'geometry' | 'material'
8693
8823
  /** Start sequence playback immediately when more than one frame exists. */
8694
8824
  autoPlay?: boolean;
8695
8825
  }
8826
+ interface SpriteFrameUpdateOptions {
8827
+ /** Resize the logical Sprite bounds to the new frame. Defaults to `false`. */
8828
+ resize?: boolean;
8829
+ }
8830
+ interface SpriteFramesUpdateOptions extends SpriteFrameUpdateOptions {
8831
+ /** Frame to display after replacement. Defaults to zero. */
8832
+ currentFrame?: number;
8833
+ /** Start playback after replacement. Defaults to `false`. */
8834
+ autoPlay?: boolean;
8835
+ }
8696
8836
  /**
8697
8837
  * Batched 2D sprite with atlas frames, per-instance tint/anchor/size, animation, and CPU hit tests.
8698
8838
  *
8699
- * Sprites use one shared quad geometry and opt into the renderer's portable instance path. Sprites
8700
- * using the same SpriteMaterial are grouped into draws of at most 128 instances on both backends.
8839
+ * Sprites use one shared quad geometry and opt into the renderer's portable instance path. They
8840
+ * render by Node `sortingLayer`, then `zIndex`, then stable scene-tree order. Adjacent Sprites using
8841
+ * the same SpriteMaterial are grouped into draws of at most 128 instances on both backends without
8842
+ * allowing batching to change that display order.
8701
8843
  */
8702
8844
  declare class Sprite extends Mesh {
8703
8845
  static readonly typeName: string;
8704
8846
  readonly isSprite = true;
8705
8847
  className: string;
8848
+ material: SpriteMaterial;
8706
8849
  readonly frames: SpriteFrame[];
8707
8850
  readonly tint: Color;
8708
8851
  readonly spriteUVRect: Float32Array<ArrayBuffer>;
@@ -8743,11 +8886,99 @@ declare class Sprite extends Mesh {
8743
8886
  * @param index - Integer frame index.
8744
8887
  */
8745
8888
  gotoFrame(index: number): this;
8889
+ /**
8890
+ * Replace the complete texture and display it as one frame.
8891
+ * @param texture - New complete-frame texture.
8892
+ * @param options - Optional logical-size update.
8893
+ */
8894
+ setTexture(texture: Texture, options?: SpriteFrameUpdateOptions): this;
8895
+ /**
8896
+ * Replace the active source with one atlas frame.
8897
+ * @param frame - New frame.
8898
+ * @param options - Optional logical-size update.
8899
+ */
8900
+ setFrame(frame: SpriteFrame, options?: SpriteFrameUpdateOptions): this;
8901
+ /**
8902
+ * Replace the animation sequence without recreating the Sprite.
8903
+ *
8904
+ * Existing UV, size, and tint arrays are mutated in place so renderer-side instance storage
8905
+ * remains reusable.
8906
+ * @param frames - Non-empty replacement sequence.
8907
+ * @param options - Initial frame, playback, and resize behavior.
8908
+ */
8909
+ setFrames(frames: readonly SpriteFrame[], options?: SpriteFramesUpdateOptions): this;
8746
8910
  update(dt: number): void;
8747
8911
  raycast(ray: Ray, _sort?: boolean): Vector3[] | null;
8748
8912
  private applyFrame;
8749
8913
  }
8750
8914
 
8915
+ interface SlicedSpriteInsets {
8916
+ /** Fixed source pixels at the left edge. */
8917
+ left: number;
8918
+ /** Fixed source pixels at the right edge. */
8919
+ right: number;
8920
+ /** Fixed source pixels at the top edge. */
8921
+ top: number;
8922
+ /** Fixed source pixels at the bottom edge. */
8923
+ bottom: number;
8924
+ }
8925
+ interface SlicedSpriteParameters extends NodeParameters {
8926
+ /** Source atlas frame. */
8927
+ frame?: SpriteFrame;
8928
+ /** Complete source texture shorthand. */
8929
+ texture?: Texture;
8930
+ /** Fixed corner and edge sizes in source pixels. */
8931
+ insets: SlicedSpriteInsets;
8932
+ /** Logical display width. Defaults to the source frame width. */
8933
+ width?: number;
8934
+ /** Logical display height. Defaults to the source frame height. */
8935
+ height?: number;
8936
+ /** Horizontal normalized anchor. Defaults to zero. */
8937
+ anchorX?: number;
8938
+ /** Vertical normalized anchor. Defaults to zero. */
8939
+ anchorY?: number;
8940
+ }
8941
+ /**
8942
+ * Nine-slice panel that preserves source corners while stretching edges and center.
8943
+ *
8944
+ * The nine child Sprites share one atlas material and remain adjacent, allowing the normal Sprite
8945
+ * batcher to submit the panel as one instanced draw when display ordering permits.
8946
+ */
8947
+ declare class SlicedSprite extends Node {
8948
+ static readonly typeName: string;
8949
+ readonly isSlicedSprite = true;
8950
+ className: string;
8951
+ readonly insets: Readonly<SlicedSpriteInsets>;
8952
+ readonly parts: readonly Sprite[];
8953
+ private readonly frameSlices;
8954
+ private frameValue;
8955
+ private widthValue;
8956
+ private heightValue;
8957
+ private anchorXValue;
8958
+ private anchorYValue;
8959
+ constructor(params: SlicedSpriteParameters);
8960
+ /** Active source atlas frame. */
8961
+ get frame(): SpriteFrame;
8962
+ /** Logical panel width. */
8963
+ get width(): number;
8964
+ set width(value: number);
8965
+ /** Logical panel height. */
8966
+ get height(): number;
8967
+ set height(value: number);
8968
+ /** Horizontal normalized anchor. */
8969
+ get anchorX(): number;
8970
+ set anchorX(value: number);
8971
+ /** Vertical normalized anchor. */
8972
+ get anchorY(): number;
8973
+ set anchorY(value: number);
8974
+ /** Resize the logical panel while preserving fixed corners. */
8975
+ setSize(width: number, height: number): this;
8976
+ /** Replace the atlas frame without recreating panel nodes or batch instance arrays. */
8977
+ setFrame(frame: SpriteFrame): this;
8978
+ private createFrames;
8979
+ private layoutParts;
8980
+ }
8981
+
8751
8982
  interface Text2DStyle {
8752
8983
  /** CSS canvas font string. */
8753
8984
  font?: string;
@@ -8763,6 +8994,20 @@ interface Text2DStyle {
8763
8994
  padding?: number;
8764
8995
  /** Explicit logical line height. */
8765
8996
  lineHeight?: number;
8997
+ /** Maximum content width in logical pixels. Zero disables width constraints. */
8998
+ maxWidth?: number;
8999
+ /** Automatically wrap measured words and CJK characters at `maxWidth`. */
9000
+ wordWrap?: boolean;
9001
+ /** Behavior when content exceeds `maxWidth` or `maxLines`. */
9002
+ overflow?: 'visible' | 'clip' | 'ellipsis';
9003
+ /** Maximum rendered lines. Zero allows any number of lines. */
9004
+ maxLines?: number;
9005
+ /** Canvas text baseline used inside each logical line box. */
9006
+ textBaseline?: CanvasTextBaseline;
9007
+ /** Additional space after explicit newline-separated paragraphs. */
9008
+ paragraphSpacing?: number;
9009
+ /** Additional space between Unicode characters in logical pixels. */
9010
+ letterSpacing?: number;
8766
9011
  /** Canvas backing pixels per logical sprite pixel. */
8767
9012
  resolution?: number;
8768
9013
  }
@@ -8799,6 +9044,57 @@ declare class Text2D extends Sprite {
8799
9044
  private replaceRaster;
8800
9045
  }
8801
9046
 
9047
+ type UiButtonState = 'up' | 'hover' | 'down' | 'disabled';
9048
+ interface UiButtonFrames {
9049
+ /** Default button frame. */
9050
+ up: SpriteFrame;
9051
+ /** Pointer-hover frame. Defaults to `up`. */
9052
+ hover?: SpriteFrame;
9053
+ /** Pressed frame. Defaults to `hover`. */
9054
+ down?: SpriteFrame;
9055
+ /** Disabled frame. Defaults to `up`. */
9056
+ disabled?: SpriteFrame;
9057
+ }
9058
+ interface UiButtonParameters extends Omit<SlicedSpriteParameters, 'frame' | 'texture'> {
9059
+ /** Per-state nine-slice atlas frames. */
9060
+ frames: UiButtonFrames;
9061
+ /** Optional centered label. */
9062
+ label?: string;
9063
+ /** Canvas text style for the label. */
9064
+ labelStyle?: Text2DStyle;
9065
+ /** Initial enabled state. Defaults to `true`. */
9066
+ enabled?: boolean;
9067
+ }
9068
+ /**
9069
+ * Nine-slice game UI button with hover, press, disabled, label, and click event support.
9070
+ *
9071
+ * Applications enable the desired pointer event types once through `Stage.enableDOMEvent()`.
9072
+ */
9073
+ declare class UiButton extends SlicedSprite {
9074
+ static readonly typeName: string;
9075
+ readonly isUiButton = true;
9076
+ className: string;
9077
+ readonly label: Text2D;
9078
+ readonly frames: Readonly<UiButtonFrames>;
9079
+ private enabledValue;
9080
+ private stateValue;
9081
+ constructor(params: UiButtonParameters);
9082
+ /** Whether pointer interaction is enabled. */
9083
+ get enabled(): boolean;
9084
+ /** Current visual state. */
9085
+ get state(): UiButtonState;
9086
+ /** Enable or disable interaction and update the visual frame. */
9087
+ setEnabled(enabled: boolean): this;
9088
+ /** Replace the centered label text. */
9089
+ setLabel(text: string): this;
9090
+ setSize(width: number, height: number): this;
9091
+ private readonly handlePointerOver;
9092
+ private readonly handlePointerOut;
9093
+ private readonly handlePointerDown;
9094
+ private readonly handlePointerUp;
9095
+ private updateState;
9096
+ }
9097
+
8802
9098
  /** Sample interpretation supported by whole-subresource compute graph textures. */
8803
9099
  type ComputeTextureSampleType = 'float' | 'unfilterable-float' | 'depth';
8804
9100
  /** Compute graph textures currently expose one complete two-dimensional subresource. */
@@ -9177,6 +9473,16 @@ interface ForwardRenderFeatureContext {
9177
9473
  interface ForwardRenderPipelineFactoryOptions {
9178
9474
  /** Ordered reusable feature configurations. */
9179
9475
  readonly features?: readonly ForwardRenderPipelineFeature[];
9476
+ /**
9477
+ * Linear scene-color format used before final output. Use `rgba16float` for HDR lighting,
9478
+ * Bloom, and display-referred color grading.
9479
+ */
9480
+ readonly sceneColorFormat?: RenderTargetColorFormat;
9481
+ /**
9482
+ * Capture opaque scene color before transparent rendering and bind it to transmission/volume
9483
+ * materials as `u_opaqueTexture`.
9484
+ */
9485
+ readonly opaqueTexture?: boolean;
9180
9486
  }
9181
9487
  /** Default forward pipeline factory. An empty feature set retains the direct renderer fast path. */
9182
9488
  declare class ForwardRenderPipelineFactory implements RenderPipelineFactory {
@@ -9186,6 +9492,10 @@ declare class ForwardRenderPipelineFactory implements RenderPipelineFactory {
9186
9492
  readonly requirements: Readonly<RenderPipelineRequirements>;
9187
9493
  /** Constructor-snapshotted feature configurations in insertion order. */
9188
9494
  readonly features: readonly ForwardRenderPipelineFeature[];
9495
+ /** Linear intermediate scene-color format, or null to match the selected output. */
9496
+ readonly sceneColorFormat: RenderTargetColorFormat | null;
9497
+ /** Whether the forward pipeline captures opaque scene color for transparent materials. */
9498
+ readonly opaqueTexture: boolean;
9189
9499
  constructor(options?: ForwardRenderPipelineFactoryOptions);
9190
9500
  /** Create an independent forward runtime and feature runtime set for one Renderer. */
9191
9501
  create(context: RenderPipelineCreateContext): RenderPipeline;
@@ -9345,8 +9655,10 @@ declare class Shader {
9345
9655
  * @param lightManager -
9346
9656
  * @param fog -
9347
9657
  * @param useLogDepth -
9658
+ * @param renderer - Renderer precision provider used to build the portable shader preamble.
9659
+ * @param linearOutput - Keep lighting in linear HDR space for floating-point scene targets.
9348
9660
  */
9349
- static getShader(mesh: Mesh, material: Material, isUseInstance: boolean, lightManager: LightManager, fog: Fog | null, useLogDepth: boolean, renderer?: ShaderPrecisionProvider): Shader | null;
9661
+ static getShader(mesh: Mesh, material: Material, isUseInstance: boolean, lightManager: LightManager, fog: Fog | null, useLogDepth: boolean, renderer?: ShaderPrecisionProvider, linearOutput?: boolean): Shader | null;
9350
9662
  /**
9351
9663
  * 获取基础 shader
9352
9664
  * @param material -
@@ -9578,6 +9890,11 @@ interface SceneRenderPassParameters {
9578
9890
  readonly scissor?: RendererViewport;
9579
9891
  /** Optional unsigned stencil reference set before drawing the list. */
9580
9892
  readonly stencilReference?: number;
9893
+ /**
9894
+ * Opaque scene color sampled by transmission/volume materials in this pass. The graph keeps
9895
+ * this input distinct from the active color attachment, preventing raster feedback.
9896
+ */
9897
+ readonly opaqueTexture?: RenderGraphTextureHandle;
9581
9898
  /** Optional WebGPU-only storage-aware shader variant for the ordinary renderer-list path. */
9582
9899
  readonly storageShaderVariant?: Readonly<SceneStorageShaderVariant>;
9583
9900
  }
@@ -9634,6 +9951,128 @@ declare class TextureCopyPass implements ScriptableRenderPass<TextureCopyPassPar
9634
9951
  execute(context: ScriptableRenderPassContext, parameters: TextureCopyPassParameters): void;
9635
9952
  }
9636
9953
 
9954
+ /** Quality and shape controls for the HDR bloom pyramid. */
9955
+ interface BloomOptions {
9956
+ /** Linear HDR threshold. Defaults to 1. */
9957
+ readonly threshold?: number;
9958
+ /** Soft-threshold width. Defaults to 0.5. */
9959
+ readonly knee?: number;
9960
+ /** Maximum prefilter value used to contain fireflies. Defaults to 65,000. */
9961
+ readonly clamp?: number;
9962
+ /** Final additive bloom intensity. Defaults to 0.8. */
9963
+ readonly intensity?: number;
9964
+ /** Energy passed from each coarser level during tent upsampling. Defaults to 0.7. */
9965
+ readonly scatter?: number;
9966
+ /** Bloom tint in linear color. Defaults to white. */
9967
+ readonly tint?: Color;
9968
+ /** Maximum number of half-resolution pyramid levels. Defaults to 6. */
9969
+ readonly maxLevels?: number;
9970
+ /** Smallest pyramid dimension. Defaults to 16 pixels. */
9971
+ readonly minResolution?: number;
9972
+ }
9973
+ /**
9974
+ * Built-in high-quality HDR bloom feature.
9975
+ *
9976
+ * It performs a soft-knee Karis prefilter, a bounded half-resolution pyramid, tent upsampling,
9977
+ * and linear HDR composition. Pair it with {@link ColorUber} or use
9978
+ * {@link PostProcessRenderPipelineFactory} so tone mapping happens after bloom.
9979
+ */
9980
+ declare class Bloom implements ForwardRenderPipelineFeature {
9981
+ #private;
9982
+ readonly name = "bloom";
9983
+ readonly injectionPoint: "after-transparent";
9984
+ readonly requirements: Readonly<{
9985
+ sampledSceneColor: true;
9986
+ sampledDepth: false;
9987
+ requiredTextureFormats: readonly (Readonly<{
9988
+ format: "rgba16float";
9989
+ use: "color-attachment";
9990
+ }> | Readonly<{
9991
+ format: "rgba16float";
9992
+ use: "filterable-sampled";
9993
+ }>)[];
9994
+ }>;
9995
+ constructor(options?: Readonly<BloomOptions>);
9996
+ create(): ForwardRenderPipelineFeatureRuntime;
9997
+ }
9998
+
9999
+ /** Display tone-mapping operator used by {@link ColorUber}. */
10000
+ type ToneMappingMode = 'pbr-neutral' | 'aces' | 'reinhard' | 'none';
10001
+ /** Linear-HDR color grading and display transform settings. */
10002
+ interface ColorUberOptions {
10003
+ /** Exposure compensation in EV stops. */
10004
+ readonly exposure?: number;
10005
+ /** Contrast adjustment where zero is neutral and one doubles contrast. */
10006
+ readonly contrast?: number;
10007
+ /** Saturation adjustment where zero is neutral and -1 is grayscale. */
10008
+ readonly saturation?: number;
10009
+ /** Hue rotation in degrees. */
10010
+ readonly hueShift?: number;
10011
+ /** White-balance temperature in the normalized range [-1, 1]. */
10012
+ readonly temperature?: number;
10013
+ /** White-balance green/magenta tint in the normalized range [-1, 1]. */
10014
+ readonly tint?: number;
10015
+ readonly colorFilter?: Color;
10016
+ readonly lift?: Color;
10017
+ readonly gamma?: Color;
10018
+ readonly gain?: Color;
10019
+ readonly channelRed?: Color;
10020
+ readonly channelGreen?: Color;
10021
+ readonly channelBlue?: Color;
10022
+ readonly vignetteColor?: Color;
10023
+ readonly vignetteIntensity?: number;
10024
+ readonly vignetteSmoothness?: number;
10025
+ readonly toneMapping?: ToneMappingMode;
10026
+ readonly dithering?: boolean;
10027
+ }
10028
+ /**
10029
+ * Built-in HDR color-grading and display transform inspired by a modern "uber post" pass.
10030
+ *
10031
+ * Bloom and lighting stay linear before this feature. The pass applies exposure, white balance,
10032
+ * channel grading, lift/gamma/gain, hue/saturation, vignette, tone mapping, sRGB output, and
10033
+ * optional 8-bit dithering in one fullscreen draw.
10034
+ */
10035
+ declare class ColorUber implements ForwardRenderPipelineFeature {
10036
+ #private;
10037
+ readonly name = "color-uber";
10038
+ readonly injectionPoint: "after-post-process";
10039
+ readonly requirements: Readonly<{
10040
+ sampledSceneColor: true;
10041
+ sampledDepth: false;
10042
+ requiredTextureFormats: readonly (Readonly<{
10043
+ format: "rgba8unorm";
10044
+ use: "color-attachment";
10045
+ }> | Readonly<{
10046
+ format: "rgba8unorm";
10047
+ use: "filterable-sampled";
10048
+ }>)[];
10049
+ }>;
10050
+ constructor(options?: Readonly<ColorUberOptions>);
10051
+ create(): ForwardRenderPipelineFeatureRuntime;
10052
+ }
10053
+
10054
+ /** Turnkey HDR forward/post-processing pipeline configuration. */
10055
+ interface PostProcessRenderPipelineOptions {
10056
+ /** Bloom settings, or false to omit bloom. Bloom is enabled by default. */
10057
+ readonly bloom?: Readonly<BloomOptions> | false;
10058
+ /** Final color grading/tone mapping settings. */
10059
+ readonly colorUber?: Readonly<ColorUberOptions>;
10060
+ /** Capture opaque scene color for transmission and volume. Defaults to true. */
10061
+ readonly opaqueTexture?: boolean;
10062
+ /** Additional ordered forward features inserted after the built-in features. */
10063
+ readonly features?: readonly ForwardRenderPipelineFeature[];
10064
+ }
10065
+ /**
10066
+ * Turnkey linear-HDR forward pipeline with high-quality bloom, Color Uber, and opaque scene color.
10067
+ */
10068
+ declare class PostProcessRenderPipelineFactory implements RenderPipelineFactory {
10069
+ #private;
10070
+ readonly name = "post-process-forward";
10071
+ readonly requirements: Readonly<RenderPipelineRequirements>;
10072
+ constructor(options?: Readonly<PostProcessRenderPipelineOptions>);
10073
+ create(context: RenderPipelineCreateContext): RenderPipeline;
10074
+ }
10075
+
9637
10076
  type CubeTextureImage = (TextureImageSource | null)[];
9638
10077
  interface CubeTextureParameters extends Omit<TextureParameters<CubeTextureImage>, 'target'> {
9639
10078
  image?: CubeTextureImage | null;
@@ -10044,8 +10483,25 @@ interface SemanticMaterial extends Material {
10044
10483
  clearcoatFactor: number;
10045
10484
  clearcoatMap: Texture | null;
10046
10485
  clearcoatNormalMap: Texture | null;
10486
+ clearcoatNormalScale: number;
10047
10487
  clearcoatRoughnessFactor: number;
10048
10488
  clearcoatRoughnessMap: Texture | null;
10489
+ anisotropyStrength: number;
10490
+ anisotropyRotation: number;
10491
+ anisotropyMap: Texture | null;
10492
+ transmissionFactor: number;
10493
+ transmissionMap: Texture | null;
10494
+ thicknessFactor: number;
10495
+ thicknessMap: Texture | null;
10496
+ attenuationDistance: number;
10497
+ attenuationColor: Color;
10498
+ ior: number;
10499
+ iridescenceFactor: number;
10500
+ iridescenceMap: Texture | null;
10501
+ iridescenceIor: number;
10502
+ iridescenceThicknessMinimum: number;
10503
+ iridescenceThicknessMaximum: number;
10504
+ iridescenceThicknessMap: Texture | null;
10049
10505
  diffuse: MaterialTextureValue;
10050
10506
  ambient: MaterialTextureValue;
10051
10507
  specular: MaterialTextureValue;
@@ -10447,6 +10903,45 @@ declare const semantic: {
10447
10903
  notSupportInstanced: boolean;
10448
10904
  get(mesh: SemanticMesh, material: SemanticMaterial, _programInfo: ProgramBindingInfo): unknown;
10449
10905
  };
10906
+ CLEARCOATNORMALSCALE: {
10907
+ get(_mesh: SemanticMesh, material: SemanticMaterial): unknown;
10908
+ };
10909
+ ANISOTROPYSTRENGTH: {
10910
+ get(_mesh: SemanticMesh, material: SemanticMaterial): unknown;
10911
+ };
10912
+ ANISOTROPYROTATION: {
10913
+ get(_mesh: SemanticMesh, material: SemanticMaterial): unknown;
10914
+ };
10915
+ TRANSMISSIONFACTOR: {
10916
+ get(_mesh: SemanticMesh, material: SemanticMaterial): unknown;
10917
+ };
10918
+ THICKNESSFACTOR: {
10919
+ get(_mesh: SemanticMesh, material: SemanticMaterial): unknown;
10920
+ };
10921
+ ATTENUATIONDISTANCE: {
10922
+ get(_mesh: SemanticMesh, material: SemanticMaterial): unknown;
10923
+ };
10924
+ ATTENUATIONCOLOR: {
10925
+ get(_mesh: SemanticMesh, material: SemanticMaterial): unknown;
10926
+ };
10927
+ IOR: {
10928
+ get(_mesh: SemanticMesh, material: SemanticMaterial): unknown;
10929
+ };
10930
+ IRIDESCENCEFACTOR: {
10931
+ get(_mesh: SemanticMesh, material: SemanticMaterial): unknown;
10932
+ };
10933
+ IRIDESCENCEIOR: {
10934
+ get(_mesh: SemanticMesh, material: SemanticMaterial): unknown;
10935
+ };
10936
+ IRIDESCENCETHICKNESSMINIMUM: {
10937
+ get(_mesh: SemanticMesh, material: SemanticMaterial): unknown;
10938
+ };
10939
+ IRIDESCENCETHICKNESSMAXIMUM: {
10940
+ get(_mesh: SemanticMesh, material: SemanticMaterial): unknown;
10941
+ };
10942
+ OPAQUETEXTURE: {
10943
+ get(): unknown;
10944
+ };
10450
10945
  };
10451
10946
 
10452
10947
  interface AxisHelperParameters extends NodeParameters {
@@ -13117,6 +13612,6 @@ declare const math: {
13117
13612
  nextPowerOfTwo(value: number): number;
13118
13613
  };
13119
13614
 
13120
- export { AmbientLight, Animation, AnimationStates, AreaLight, AxisHelper, AxisNetHelper, BUILTIN_UNIFORM_BLOCK_BINDING_COUNT, BasicLoader, BasicMaterial, BoxGeometry, Cache, Camera, Camera2D, CameraHelper, Color, ComputeKernel, ComputeRenderPass, ComputeSampler, ComputeShader, CubeTexture, CubeTextureLoader, DEFAULT_2D_LAYER, DataTexture, DirectionalLight, Euler, EulerNotifier, EventDispatcher, Fog, ForwardRenderPipelineFactory, Frustum, FullscreenRenderPass, GLTFExtensions_d as GLTFExtensions, GLTFLoader, GLTFParser, GPUDrivenRenderPass, Geometry, GeometryData, GeometryMaterial, HDRLoader, HiloEvent, KTXLoader, LazyTexture, Light, LightManager, LoadCache, LoadQueue, LoadState, Loader, LogLevel, Logger, Material, Matrix3, Matrix4, Matrix4Notifier, Mesh, MeshPicker, MorphGeometry, Node, OrthographicCamera, PBRMaterial, PerspectiveCamera, Plane, PlaneGeometry, PointLight, PresentRenderPass, Quaternion, QuaternionNotifier, Ray, RenderInfo, RenderPassParameterPool, Renderer, SCENE_STORAGE_BIND_GROUP, STATE_TYPES, SceneRenderPass, Shader, ShaderMaterial, ShaderMaterialLoader, ShadowRenderPass, Skeleton, SkinnedMesh, Sphere, SphereGeometry, SphericalHarmonics3, SpotLight, Sprite, SpriteFrame, SpriteMaterial, Stage, Std140Layout, StorageGraphicsShader, StorageLayout, Text2D, Texture, TextureCopyPass, TextureLoader, Ticker, Tween, UNIFORM_BLOCK_BINDINGS, UniformBuffer, Vector2, Vector3, Vector3Notifier, Vector4, WebGLSupport, browser, collectionEntries, constants, createEmptyGLTFRoot, createStd140Layout, createStorageLayout, detectBrowserFeatures, detectWebGLSupport, Hilo as engineConstants, getCollectionItem, getUniformBlockBinding, isArrayCollection, isGLTFRoot, log, math, parseRadianceHDR, registerUniformBlockBinding, semantic, util_d as util, version, webgl2 as webgl2Constants, webgl as webglConstants, webglExtensions as webglExtensionConstants };
13121
- export type { AccessorArray, AmbientLightParameters, AnimationClip, AnimationInterpolationType, AnimationParameters, AnimationStateHandler, AnimationStateType, AnimationStatesParameters, AnimationTimeRange, AreaLightInfo, AreaLightParameters, AxisAlignedBox, AxisHelperParameters, AxisNetHelperParameters, BackEaseObject, BasicLightType, BasicLoadRequest, BasicLoaderResource, BasicMaterialParameters, BasicResource, BasicResourceType, Bounds, BoxGeometryParameters, BrowserFeatures, BuiltInAnimationStateType, Camera2DParameters, CameraHelperParameters, CameraParameters, ComputeBufferBinding, ComputeDispatch, ComputeKernelDescriptor, ComputePipelineConstant, ComputeRenderPassParameters, ComputeSamplerAddressMode, ComputeSamplerDescriptor, ComputeSamplerFilterMode, ComputeShaderBinding, ComputeShaderDescriptor, ComputeStorageBufferAccess, ComputeStorageTextureFormat, ComputeStorageTextureViewDimension, ComputeTextureBinding, ComputeTextureSampleType, ComputeTextureViewDimension, ComputeUniformBufferBinding, CubeTextureImage, CubeTextureLoadRequest, CubeTextureParameters, CullingOptions, CullingResultsHandle, CustomRenderOptionProvider, DataTextureParameters, DirectionalLightInfo, DirectionalLightParameters, DispatchEvent, ElasticEaseObject, EulerOrder, EventListener, FogMode, FogParameters, ForwardRenderFeatureContext, ForwardRenderFeatureRequirements, ForwardRenderInjectionPoint, ForwardRenderPipelineFactoryOptions, ForwardRenderPipelineFeature, ForwardRenderPipelineFeatureRuntime, ForwardRenderPipelineResources, FullscreenRenderPassOptions, FullscreenRenderPassParameters, GLTFAccessor, GLTFAccessorResult, GLTFAccessorType, GLTFAnimation, GLTFAnimationChannel, GLTFAnimationClipsExtension, GLTFAnimationSampler, GLTFAnimationTarget, GLTFAsset, GLTFBoundingBoxExtension, GLTFBounds, GLTFBuffer, GLTFBufferView, GLTFBufferViewRuntime, GLTFCamera, GLTFClearcoatExtension, GLTFCollection, GLTFComponentType, GLTFExtensionHandler, GLTFExtensionHandlerRegistry, GLTFExtensionMap, GLTFExtensionMethodName, GLTFExtensionOptions, GLTFImage, GLTFIndex, GLTFLoadRequest, GLTFMaterial, GLTFMaterialValue, GLTFMaterialsCommonExtension, GLTFMesh, GLTFModel, GLTFMorphTarget, GLTFNode, GLTFOrthographicCamera, GLTFPBRMetallicRoughness, GLTFPBRSpecularGlossinessExtension, GLTFParserParameters, GLTFPerspectiveCamera, GLTFPrimitive, GLTFProgram, GLTFProgressivePrimitiveState, GLTFProperty, GLTFPunctualLight, GLTFPunctualLightNodeExtension, GLTFPunctualLightsExtension, GLTFPunctualSpotLight, GLTFQuantizedAttributesExtension, GLTFResourceLoader, GLTFRoot, GLTFSampler, GLTFScene, GLTFShader, GLTFSkin, GLTFSparseAccessor, GLTFSparseIndices, GLTFSparseValues, GLTFTechnique, GLTFTechniqueBinding, GLTFTechniqueStates, GLTFTexture, GLTFTextureInfo, GLTFTextureTransformExtension, GPUDrivenDraw, GPUDrivenRenderPassOptions, GPUDrivenRenderPassParameters, GPUDrivenVertexAttribute, GPUDrivenVertexBufferLayout, GPUDrivenVertexFormat, GeometryAttributeValue, GeometryComponentSize, GeometryDataComponentCallback, GeometryDataLike, GeometryDataParameters, GeometryDataTraverseCallback, GeometryMaterialParameters, GeometryParameters, GeometryVertexType, HDRLoadRequest, ImageCrossOrigin, InstancedUniform, InterpolatedValue, InterpolationFunction, JsonPrimitive, JsonValue, KTXLoadRequest, KTXTextureOptions, LazyTextureParameters, LightGroupName, LightInfo, LightManagerParameters, LightParameters, LightShadowOptions, ListenerEntry, ListenerMap, LoadCacheFile, LoadQueueItem, LoadQueueSource, LoadStateValue, LoaderRequest, LoaderTextureOptions, LogLevelValue, MaterialBeforeCompile, MaterialBinding, MaterialBindingInfo, MaterialBindingMap, MaterialParameters, MaterialShaderSource, MaterialTexture, MaterialTextureValue, MeshParameters, MeshPickerParameters, MorphGeometryParameters, MorphTargets, MutableArrayLike, MutableNumberArray, NetworkResourceType, NodeGetChildByCallback, NodeParameters, NodePointerEvent, NodeRaycastInfo, NodeTraverseCallback, NodeTraverseResult, NormalizedComputeWorkgroupSize, OrthographicCameraParameters, PBRMaterialParameters, PerspectiveCameraParameters, PlaneGeometryParameters, Point2, Point3, PointLightInfo, PointLightParameters, PointLightShadowOptions, PointShadowCameraParameters, ProgramBindingInfo, RadianceHDRImage, RayCamera, RayParameters, RenderGraphBufferHandle, RenderGraphBufferReadUse, RenderGraphBufferWriteUse, RenderGraphFramePlan, RenderGraphPassHandle, RenderGraphTextureHandle, RenderPassParameterFactory, RenderPassParameterReset, RenderPipeline, RenderPipelineBufferDescriptor, RenderPipelineCapabilities, RenderPipelineCapabilityName, RenderPipelineColorAttachment, RenderPipelineContext, RenderPipelineCreateContext, RenderPipelineDepthStencilAttachment, RenderPipelineExtent, RenderPipelineFactory, RenderPipelineLimits, RenderPipelineOutput, RenderPipelineOutputColorAttachment, RenderPipelineOutputDepthStencilAttachment, RenderPipelineOutputResources, RenderPipelinePersistentTargetDescriptor, RenderPipelineRequirements, RenderPipelineTargetResources, RenderPipelineTextureDescriptor, RenderPipelineTextureRequirement, RenderPipelineTextureUse, RenderTarget, RenderTargetColor, RenderTargetColorAttachmentOptions, RenderTargetColorAttachmentReadback, RenderTargetColorFormat, RenderTargetCompareFunction, RenderTargetDepthStencilAttachmentOptions, RenderTargetDepthStencilFormat, RenderTargetLoadOp, RenderTargetParameters, RenderTargetReadColorAttachmentOptions, RenderTargetSampleCount, RenderTargetSelectionOptions, RenderTargetStoreOp, RendererAdapterPowerPreference, RendererAutoOptions, RendererBackend, RendererCommonOptions, RendererContextPowerPreference, RendererContract, RendererCreateOptions, RendererExplicitOptions, RendererFeatureName, RendererFrame, RendererFrameCallback, RendererListDescriptor, RendererListHandle, RendererListQueue, RendererListSorting, RendererOptions, RendererOptionsMap, RendererResourceDiagnostics, RendererResourceManager, RendererScene, RendererSupportOptions, RendererViewport, RendererWebGL2Options, RendererWebGPUOptions, ResizableTextureImage, Resource, ResourceLoader, ResourceLoaderConstructor, ResourceRequestOptions, SceneRenderPassParameters, SceneStorageBufferBinding, SceneStorageShaderVariant, ScriptableRenderCommands, ScriptableRenderGraph, ScriptableRenderPass, ScriptableRenderPassBuilder, ScriptableRenderPassContext, ScriptableRenderPrepareContext, SemanticMaterial, SemanticMesh, SemanticRenderer, ShaderDefineValue, ShaderMaterialLoadRequest, ShaderMaterialParameters, ShaderOptions, ShaderParameters, ShaderPrecision, ShaderPrecisionProvider, ShaderReadBinding, ShaderRenderer, ShaderTextureSampleType, ShaderTextureViewDimension, ShadowCameraParameters, ShadowCastingLightParameters, ShadowRenderPassParameters, Size, SkeletonParameters, SkinnedMeshParameters, SphereGeometryParameters, SpotLightInfo, SpotLightParameters, SpriteFrameParameters, SpriteMaterialParameters, SpriteParameters, StageBackend, StageBackendParameters, StageCommonParameters, StageParameters, StagePointerEvent, Std140ArrayValue, Std140FieldDefinition, Std140FieldLayout, Std140FieldValue, Std140MatrixType, Std140ScalarType, Std140Schema, Std140Type, Std140Value, Std140Values, Std140VectorType, StorageArrayDefinition, StorageBuffer, StorageBufferDescriptor, StorageBufferRange, StorageBufferReadback, StorageBufferRecoveryPolicy, StorageBufferUsage, StorageFieldLayout, StorageGraphicsShaderDescriptor, StorageMatrixType, StoragePrimitiveType, StoragePrimitiveValue, StorageScalarType, StorageSchema, StorageStructDefinition, StorageType, StorageValue, StorageValues, StorageVectorType, StorageWriteResult, SubDataUpdate, Text2DParameters, Text2DStyle, TextureBinding, TextureCompressionFormat, TextureCopyPassParameters, TextureCubeFace, TextureImageSource, TextureLoadRequest, TextureMipmap, TextureParameters, TexturePixelData, TextureSource, TextureSubImage, TextureUVChannel, TextureUpdateSnapshot, Tickable, Triangle, TweenCompleteCallback, TweenEaseCollection, TweenEaseFunction, TweenEaseNoneObject, TweenEaseObject, TweenParameters, TweenProperties, TweenStartCallback, TweenUpdateCallback, TypedArray$1 as TypedArray, TypedArrayConstructor$1 as TypedArrayConstructor, UV, UniformBufferDirtyRange, UniformBufferRange, XYZObject };
13615
+ export { AmbientLight, Animation, AnimationStates, AreaLight, AxisHelper, AxisNetHelper, BUILTIN_UNIFORM_BLOCK_BINDING_COUNT, BasicLoader, BasicMaterial, Bloom, BoxGeometry, Cache, Camera, Camera2D, CameraHelper, Color, ColorUber, ComputeKernel, ComputeRenderPass, ComputeSampler, ComputeShader, CubeTexture, CubeTextureLoader, DEFAULT_2D_LAYER, DataTexture, DirectionalLight, Euler, EulerNotifier, EventDispatcher, Fog, ForwardRenderPipelineFactory, Frustum, FullscreenRenderPass, GLTFExtensions_d as GLTFExtensions, GLTFLoader, GLTFParser, GPUDrivenRenderPass, Geometry, GeometryData, GeometryMaterial, HDRLoader, HiloEvent, KTXLoader, LazyTexture, Light, LightManager, LoadCache, LoadQueue, LoadState, Loader, LogLevel, Logger, Material, Matrix3, Matrix4, Matrix4Notifier, Mesh, MeshPicker, MorphGeometry, Node, OrthographicCamera, PBRMaterial, PerspectiveCamera, Plane, PlaneGeometry, PointLight, PostProcessRenderPipelineFactory, PresentRenderPass, Quaternion, QuaternionNotifier, Ray, RenderInfo, RenderPassParameterPool, Renderer, SCENE_STORAGE_BIND_GROUP, STATE_TYPES, SceneRenderPass, Shader, ShaderMaterial, ShaderMaterialLoader, ShadowRenderPass, Skeleton, SkinnedMesh, SlicedSprite, Sphere, SphereGeometry, SphericalHarmonics3, SpotLight, Sprite, SpriteFrame, SpriteMaterial, Stage, Std140Layout, StorageGraphicsShader, StorageLayout, Text2D, Texture, TextureCopyPass, TextureLoader, Ticker, Tween, UNIFORM_BLOCK_BINDINGS, UiButton, UniformBuffer, Vector2, Vector3, Vector3Notifier, Vector4, WebGLSupport, browser, collectionEntries, constants, createEmptyGLTFRoot, createStd140Layout, createStorageLayout, detectBrowserFeatures, detectWebGLSupport, Hilo as engineConstants, getCollectionItem, getUniformBlockBinding, isArrayCollection, isGLTFRoot, log, math, parseRadianceHDR, registerUniformBlockBinding, semantic, util_d as util, version, webgl2 as webgl2Constants, webgl as webglConstants, webglExtensions as webglExtensionConstants };
13616
+ export type { AccessorArray, AmbientLightParameters, AnimationClip, AnimationInterpolationType, AnimationParameters, AnimationStateHandler, AnimationStateType, AnimationStatesParameters, AnimationTimeRange, AreaLightInfo, AreaLightParameters, AxisAlignedBox, AxisHelperParameters, AxisNetHelperParameters, BackEaseObject, BasicLightType, BasicLoadRequest, BasicLoaderResource, BasicMaterialParameters, BasicResource, BasicResourceType, BloomOptions, Bounds, BoxGeometryParameters, BrowserFeatures, BuiltInAnimationStateType, Camera2DParameters, CameraHelperParameters, CameraParameters, ColorUberOptions, ComputeBufferBinding, ComputeDispatch, ComputeKernelDescriptor, ComputePipelineConstant, ComputeRenderPassParameters, ComputeSamplerAddressMode, ComputeSamplerDescriptor, ComputeSamplerFilterMode, ComputeShaderBinding, ComputeShaderDescriptor, ComputeStorageBufferAccess, ComputeStorageTextureFormat, ComputeStorageTextureViewDimension, ComputeTextureBinding, ComputeTextureSampleType, ComputeTextureViewDimension, ComputeUniformBufferBinding, CubeTextureImage, CubeTextureLoadRequest, CubeTextureParameters, CullingOptions, CullingResultsHandle, CustomRenderOptionProvider, DataTextureParameters, DirectionalLightInfo, DirectionalLightParameters, DispatchEvent, ElasticEaseObject, EulerOrder, EventListener, FogMode, FogParameters, ForwardRenderFeatureContext, ForwardRenderFeatureRequirements, ForwardRenderInjectionPoint, ForwardRenderPipelineFactoryOptions, ForwardRenderPipelineFeature, ForwardRenderPipelineFeatureRuntime, ForwardRenderPipelineResources, FullscreenRenderPassOptions, FullscreenRenderPassParameters, GLTFAccessor, GLTFAccessorResult, GLTFAccessorType, GLTFAnimation, GLTFAnimationChannel, GLTFAnimationClipsExtension, GLTFAnimationSampler, GLTFAnimationTarget, GLTFAnisotropyExtension, GLTFAsset, GLTFBoundingBoxExtension, GLTFBounds, GLTFBuffer, GLTFBufferView, GLTFBufferViewRuntime, GLTFCamera, GLTFClearcoatExtension, GLTFCollection, GLTFComponentType, GLTFExtensionHandler, GLTFExtensionHandlerRegistry, GLTFExtensionMap, GLTFExtensionMethodName, GLTFExtensionOptions, GLTFImage, GLTFIndex, GLTFIorExtension, GLTFIridescenceExtension, GLTFLoadRequest, GLTFMaterial, GLTFMaterialValue, GLTFMaterialsCommonExtension, GLTFMesh, GLTFModel, GLTFMorphTarget, GLTFNode, GLTFOrthographicCamera, GLTFPBRMetallicRoughness, GLTFPBRSpecularGlossinessExtension, GLTFParserParameters, GLTFPerspectiveCamera, GLTFPrimitive, GLTFProgram, GLTFProgressivePrimitiveState, GLTFProperty, GLTFPunctualLight, GLTFPunctualLightNodeExtension, GLTFPunctualLightsExtension, GLTFPunctualSpotLight, GLTFQuantizedAttributesExtension, GLTFResourceLoader, GLTFRoot, GLTFSampler, GLTFScene, GLTFShader, GLTFSkin, GLTFSparseAccessor, GLTFSparseIndices, GLTFSparseValues, GLTFTechnique, GLTFTechniqueBinding, GLTFTechniqueStates, GLTFTexture, GLTFTextureInfo, GLTFTextureTransformExtension, GLTFTransmissionExtension, GLTFVolumeExtension, GPUDrivenDraw, GPUDrivenRenderPassOptions, GPUDrivenRenderPassParameters, GPUDrivenVertexAttribute, GPUDrivenVertexBufferLayout, GPUDrivenVertexFormat, GeometryAttributeValue, GeometryComponentSize, GeometryDataComponentCallback, GeometryDataLike, GeometryDataParameters, GeometryDataTraverseCallback, GeometryMaterialParameters, GeometryParameters, GeometryVertexType, HDRLoadRequest, ImageCrossOrigin, InstancedUniform, InterpolatedValue, InterpolationFunction, JsonPrimitive, JsonValue, KTXLoadRequest, KTXTextureOptions, LazyTextureParameters, LightGroupName, LightInfo, LightManagerParameters, LightParameters, LightShadowOptions, ListenerEntry, ListenerMap, LoadCacheFile, LoadQueueItem, LoadQueueSource, LoadStateValue, LoaderRequest, LoaderTextureOptions, LogLevelValue, MaterialBeforeCompile, MaterialBinding, MaterialBindingInfo, MaterialBindingMap, MaterialParameters, MaterialShaderSource, MaterialTexture, MaterialTextureValue, MeshParameters, MeshPickerParameters, MorphGeometryParameters, MorphTargets, MutableArrayLike, MutableNumberArray, NetworkResourceType, NodeGetChildByCallback, NodeParameters, NodePointerEvent, NodeRaycastInfo, NodeTraverseCallback, NodeTraverseResult, NormalizedComputeWorkgroupSize, OrthographicCameraParameters, PBRMaterialParameters, PerspectiveCameraParameters, PlaneGeometryParameters, Point2, Point3, PointLightInfo, PointLightParameters, PointLightShadowOptions, PointShadowCameraParameters, PostProcessRenderPipelineOptions, ProgramBindingInfo, RadianceHDRImage, RayCamera, RayParameters, RenderGraphBufferHandle, RenderGraphBufferReadUse, RenderGraphBufferWriteUse, RenderGraphFramePlan, RenderGraphPassHandle, RenderGraphTextureHandle, RenderPassParameterFactory, RenderPassParameterReset, RenderPipeline, RenderPipelineBufferDescriptor, RenderPipelineCapabilities, RenderPipelineCapabilityName, RenderPipelineColorAttachment, RenderPipelineContext, RenderPipelineCreateContext, RenderPipelineDepthStencilAttachment, RenderPipelineExtent, RenderPipelineFactory, RenderPipelineLimits, RenderPipelineOutput, RenderPipelineOutputColorAttachment, RenderPipelineOutputDepthStencilAttachment, RenderPipelineOutputResources, RenderPipelinePersistentTargetDescriptor, RenderPipelineRequirements, RenderPipelineTargetResources, RenderPipelineTextureDescriptor, RenderPipelineTextureRequirement, RenderPipelineTextureUse, RenderTarget, RenderTargetColor, RenderTargetColorAttachmentOptions, RenderTargetColorAttachmentReadback, RenderTargetColorFormat, RenderTargetCompareFunction, RenderTargetDepthStencilAttachmentOptions, RenderTargetDepthStencilFormat, RenderTargetLoadOp, RenderTargetParameters, RenderTargetReadColorAttachmentOptions, RenderTargetSampleCount, RenderTargetSelectionOptions, RenderTargetStoreOp, RendererAdapterPowerPreference, RendererAutoOptions, RendererBackend, RendererCommonOptions, RendererContextPowerPreference, RendererContract, RendererCreateOptions, RendererExplicitOptions, RendererFeatureName, RendererFrame, RendererFrameCallback, RendererListDescriptor, RendererListHandle, RendererListQueue, RendererListSorting, RendererOptions, RendererOptionsMap, RendererResourceDiagnostics, RendererResourceManager, RendererScene, RendererSupportOptions, RendererViewport, RendererWebGL2Options, RendererWebGPUOptions, ResizableTextureImage, Resource, ResourceLoader, ResourceLoaderConstructor, ResourceRequestOptions, SceneRenderPassParameters, SceneStorageBufferBinding, SceneStorageShaderVariant, ScriptableRenderCommands, ScriptableRenderGraph, ScriptableRenderPass, ScriptableRenderPassBuilder, ScriptableRenderPassContext, ScriptableRenderPrepareContext, SemanticMaterial, SemanticMesh, SemanticRenderer, ShaderDefineValue, ShaderMaterialLoadRequest, ShaderMaterialParameters, ShaderOptions, ShaderParameters, ShaderPrecision, ShaderPrecisionProvider, ShaderReadBinding, ShaderRenderer, ShaderTextureSampleType, ShaderTextureViewDimension, ShadowCameraParameters, ShadowCastingLightParameters, ShadowRenderPassParameters, Size, SkeletonParameters, SkinnedMeshParameters, SlicedSpriteInsets, SlicedSpriteParameters, SphereGeometryParameters, SpotLightInfo, SpotLightParameters, SpriteFrameParameters, SpriteFrameUpdateOptions, SpriteFramesUpdateOptions, SpriteMaterialParameters, SpriteParameters, StageBackend, StageBackendParameters, StageCommonParameters, StageParameters, StagePointerEvent, Std140ArrayValue, Std140FieldDefinition, Std140FieldLayout, Std140FieldValue, Std140MatrixType, Std140ScalarType, Std140Schema, Std140Type, Std140Value, Std140Values, Std140VectorType, StorageArrayDefinition, StorageBuffer, StorageBufferDescriptor, StorageBufferRange, StorageBufferReadback, StorageBufferRecoveryPolicy, StorageBufferUsage, StorageFieldLayout, StorageGraphicsShaderDescriptor, StorageMatrixType, StoragePrimitiveType, StoragePrimitiveValue, StorageScalarType, StorageSchema, StorageStructDefinition, StorageType, StorageValue, StorageValues, StorageVectorType, StorageWriteResult, SubDataUpdate, Text2DParameters, Text2DStyle, TextureBinding, TextureCompressionFormat, TextureCopyPassParameters, TextureCubeFace, TextureImageSource, TextureLoadRequest, TextureMipmap, TextureParameters, TexturePixelData, TextureSource, TextureSubImage, TextureUVChannel, TextureUpdateSnapshot, Tickable, ToneMappingMode, Triangle, TweenCompleteCallback, TweenEaseCollection, TweenEaseFunction, TweenEaseNoneObject, TweenEaseObject, TweenParameters, TweenProperties, TweenStartCallback, TweenUpdateCallback, TypedArray$1 as TypedArray, TypedArrayConstructor$1 as TypedArrayConstructor, UV, UiButtonFrames, UiButtonParameters, UiButtonState, UniformBufferDirtyRange, UniformBufferRange, XYZObject };
13122
13617
  //# sourceMappingURL=Hilo3d.d.ts.map