hilo3d 2.0.0-alpha.2 → 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/CHANGELOG.md +40 -0
- package/README.md +31 -0
- package/README_ZH.md +29 -0
- package/dist/Hilo3d.d.ts +310 -3
- package/dist/Hilo3d.d.ts.map +1 -1
- package/dist/Hilo3d.js +6421 -5655
- package/dist/Hilo3d.js.map +1 -1
- package/dist/{web_naga-D4FbPGzE.js → web_naga-CFIYl7dc.js} +2 -2
- package/dist/{web_naga-D4FbPGzE.js.map → web_naga-CFIYl7dc.js.map} +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,35 @@
|
|
|
1
1
|
# 2.0.0-alpha.2 (2026-07-26)
|
|
2
2
|
|
|
3
|
+
### Breaking changes
|
|
4
|
+
|
|
5
|
+
- Expand the fixed `MaterialBlock` std140 ABI for layered PBR material data and reserve WebGPU group
|
|
6
|
+
3 bindings 0/1 for the pass-global opaque scene texture. Portable custom uniform blocks retain
|
|
7
|
+
registration order and now start at WebGPU group 3 binding 2.
|
|
8
|
+
|
|
3
9
|
### Changes
|
|
4
10
|
|
|
11
|
+
- Replace the legacy PBR lighting core with correlated Smith-GGX, Burley diffuse, anisotropic GGX,
|
|
12
|
+
energy-compensated/specular-occluded IBL, layered clearcoat, and physically smooth punctual-light
|
|
13
|
+
attenuation. Add glTF parsing and material shader support for `KHR_materials_anisotropy`,
|
|
14
|
+
`KHR_materials_clearcoat`, `KHR_materials_transmission`, `KHR_materials_volume`, and
|
|
15
|
+
`KHR_materials_ior`, plus spectrally integrated thin-film `KHR_materials_iridescence`.
|
|
16
|
+
- Add forward opaque scene-color capture and pass-global transparent-material sampling through the
|
|
17
|
+
Render Graph/RHI path. Add a linear-HDR `PostProcessRenderPipelineFactory`, engine-owned
|
|
18
|
+
soft-knee/13-tap/tent-pyramid `Bloom`, and a one-pass `ColorUber` display transform with LMS white
|
|
19
|
+
balance, grading, PBR Neutral/ACES/Reinhard tone mapping, vignette, exact sRGB output, and
|
|
20
|
+
display-space dithering.
|
|
21
|
+
- Replace the Bloom example's application-owned RenderTarget/Gaussian/composite implementation with
|
|
22
|
+
the built-in HDR Bloom and Color Uber pipeline.
|
|
23
|
+
- Add a layered PBR studio with live anisotropy, clearcoat, transmission, and volume comparisons,
|
|
24
|
+
plus a switchable Khronos glTF material gallery using the attributed Anisotropy Barn Lamp,
|
|
25
|
+
Clearcoat Wicker, Dragon Attenuation, and animated Iridescent Dish with Olives sample assets.
|
|
26
|
+
- Replace the overlapping legacy PBR sphere stack with a controlled 30-sample Material Lab,
|
|
27
|
+
switchable steel/copper/gold/ceramic families, explicit metallic/roughness axes, studio lighting,
|
|
28
|
+
and the engine HDR post-processing pipeline.
|
|
29
|
+
- Remove the twelve low-resolution baked/cloud cube-map images from the examples. Shared PBR and
|
|
30
|
+
glTF pages now use a seam-coherent procedural studio environment with neutral fill, warm/cool
|
|
31
|
+
softboxes, generated mipmaps, and runtime PNG face URLs for the CubeTextureLoader/image-release
|
|
32
|
+
examples.
|
|
5
33
|
- Add measured-width `Text2D` wrapping for mixed CJK/Latin content, max-line clipping and ellipsis,
|
|
6
34
|
baseline, paragraph spacing, and letter spacing. Add in-place Sprite source replacement,
|
|
7
35
|
material-only Sprite initialization, atlas-batched `SlicedSprite`, four-state `UiButton`, and
|
|
@@ -18,6 +46,18 @@
|
|
|
18
46
|
|
|
19
47
|
### Fixes
|
|
20
48
|
|
|
49
|
+
- Keep float scene-color variants linear by suppressing material-local gamma encoding and legacy
|
|
50
|
+
per-material tone mapping until the final display transform. Preserve HDR Bloom energy with
|
|
51
|
+
normalized Karis weights, remove the non-physical far-distance light floor, and use refracted
|
|
52
|
+
volume path length for Beer-Lambert attenuation.
|
|
53
|
+
- Rebalance the Khronos layered-material gallery around neutral photographic key/fill lighting,
|
|
54
|
+
readable opaque transmission backdrops, restrained warm highlights, and a 90-degree orbit pitch so
|
|
55
|
+
dark metals and iridescent glass remain legible without clipping the top view.
|
|
56
|
+
- Define one portable coordinate contract for fullscreen render targets, native fragment
|
|
57
|
+
coordinates, top-left managed 2D textures, cube-map face rows, BRDF/LTC lookup tables, compute
|
|
58
|
+
storage rows, pointer input, and readback. Apply it to Bloom, Color Uber, graph present,
|
|
59
|
+
transmission, ShaderToy, Life Game, the compute particle field, the compute path tracer, and
|
|
60
|
+
built-in material/environment sampling so WebGL 2 and WebGPU retain the same Y orientation.
|
|
21
61
|
- Correct `SpriteFrame`'s top-left atlas-row offset for `flipY` textures on both backends. Full
|
|
22
62
|
textures were unaffected, but subframes previously selected the vertically opposite source row,
|
|
23
63
|
swapping nine-slice top/bottom pieces and requiring reversed character-direction maps. Use a
|
package/README.md
CHANGED
|
@@ -192,6 +192,36 @@ failure handling, performance gates, and the capability-gated route to storage b
|
|
|
192
192
|
Those compute/storage capability names are currently fail-closed rather than partially emulated on
|
|
193
193
|
WebGL 2.
|
|
194
194
|
|
|
195
|
+
### HDR PBR and built-in post-processing
|
|
196
|
+
|
|
197
|
+
Use the turnkey post-process factory for linear `rgba16float` lighting, engine-owned opaque scene
|
|
198
|
+
color, high-quality pyramid Bloom, and one final Color Uber display transform:
|
|
199
|
+
|
|
200
|
+
```ts
|
|
201
|
+
const stage = await Hilo3d.Stage.create({
|
|
202
|
+
backend: 'auto',
|
|
203
|
+
container: document.querySelector('#app')!,
|
|
204
|
+
camera,
|
|
205
|
+
renderPipeline: new Hilo3d.PostProcessRenderPipelineFactory({
|
|
206
|
+
bloom: { threshold: 1, knee: 0.5, intensity: 0.8, scatter: 0.7 },
|
|
207
|
+
colorUber: { toneMapping: 'pbr-neutral', exposure: 0 },
|
|
208
|
+
opaqueTexture: true
|
|
209
|
+
})
|
|
210
|
+
});
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
PBR lighting uses correlated Smith-GGX, Burley diffuse, energy-compensated specular IBL, layered
|
|
214
|
+
clearcoat, thin-film iridescence, anisotropic GGX, inverse-square punctual lights, and screen-space
|
|
215
|
+
transmission with Beer-Lambert volume attenuation. The glTF loader supports
|
|
216
|
+
`KHR_materials_anisotropy`, `KHR_materials_clearcoat`, `KHR_materials_transmission`,
|
|
217
|
+
`KHR_materials_volume`, and `KHR_materials_ior`, plus `KHR_materials_iridescence`. See the
|
|
218
|
+
[PBR/HDR contract](./documentation/PBR_AND_POST_PROCESSING.md) for color-space rules, algorithms,
|
|
219
|
+
and the explicit screen-space transmission limits. The
|
|
220
|
+
[layered PBR studio](https://hilo3d.js.org/examples/pbr_layered_materials.html) demonstrates the
|
|
221
|
+
direct material API, while the
|
|
222
|
+
[Khronos material gallery](https://hilo3d.js.org/examples/gltf_material_extensions.html) exercises
|
|
223
|
+
the same path with attributed production glTF assets.
|
|
224
|
+
|
|
195
225
|
## Modern renderer architecture
|
|
196
226
|
|
|
197
227
|
- `src/render` owns the single public Renderer, scene traversal, frame planning, render-target
|
|
@@ -314,6 +344,7 @@ shared Renderer/RenderTarget API.
|
|
|
314
344
|
- [glTF viewer](https://hilo3d.js.org/examples/glTFViewer/index.html)
|
|
315
345
|
- [Engineering documentation index](./documentation/README.md)
|
|
316
346
|
- [Current rendering architecture](./documentation/RENDERING_ARCHITECTURE.md)
|
|
347
|
+
- [PBR, HDR, and post-processing](./documentation/PBR_AND_POST_PROCESSING.md)
|
|
317
348
|
- [vNext renderer engineering record](./documentation/ENGINEERING_MODERNIZATION.md#双后端渲染与-shader-abi)
|
|
318
349
|
- [ShaderMaterial migration guide](./documentation/ENGINEERING_MODERNIZATION.md#shadermaterial-迁移)
|
|
319
350
|
- [Breaking changes](./CHANGELOG.md#breaking-changes)
|
package/README_ZH.md
CHANGED
|
@@ -180,6 +180,34 @@ fullscreen feature 采样 scene color;
|
|
|
180
180
|
buffer/compute 的 capability-gated 扩展路线。当前 compute/storage
|
|
181
181
|
capability 会明确失败,不会在 WebGL 2 上提供不完整模拟。
|
|
182
182
|
|
|
183
|
+
### HDR PBR 与内置后处理
|
|
184
|
+
|
|
185
|
+
完整的线性 `rgba16float` 光照、引擎 opaque scene color、高质量 pyramid Bloom 与最终 Color
|
|
186
|
+
Uber 显示变换可以直接使用:
|
|
187
|
+
|
|
188
|
+
```ts
|
|
189
|
+
const stage = await Hilo3d.Stage.create({
|
|
190
|
+
backend: 'auto',
|
|
191
|
+
container: document.querySelector('#app')!,
|
|
192
|
+
camera,
|
|
193
|
+
renderPipeline: new Hilo3d.PostProcessRenderPipelineFactory({
|
|
194
|
+
bloom: { threshold: 1, knee: 0.5, intensity: 0.8, scatter: 0.7 },
|
|
195
|
+
colorUber: { toneMapping: 'pbr-neutral', exposure: 0 },
|
|
196
|
+
opaqueTexture: true
|
|
197
|
+
})
|
|
198
|
+
});
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
PBR 光照使用 correlated Smith-GGX、Burley diffuse、带能量补偿的 specular
|
|
202
|
+
IBL、分层 clearcoat、薄膜干涉 iridescence、anisotropic GGX、inverse-square punctual
|
|
203
|
+
light,以及 screen-space transmission 和 Beer-Lambert volume attenuation。glTF loader 支持
|
|
204
|
+
`KHR_materials_anisotropy`、
|
|
205
|
+
`KHR_materials_clearcoat`、`KHR_materials_transmission`、`KHR_materials_volume` 与
|
|
206
|
+
`KHR_materials_ior`,并支持 `KHR_materials_iridescence`。颜色空间、算法和屏幕空间折射边界见
|
|
207
|
+
[PBR/HDR 合同](./documentation/PBR_AND_POST_PROCESSING.md)。可在
|
|
208
|
+
[分层 PBR 材质展厅](https://hilo3d.js.org/examples/pbr_layered_materials.html)体验直接材质API,也可在
|
|
209
|
+
[Khronos 材质模型展厅](https://hilo3d.js.org/examples/gltf_material_extensions.html)检查同一渲染路径上的真实 glTF 资产。
|
|
210
|
+
|
|
183
211
|
## 现代渲染架构
|
|
184
212
|
|
|
185
213
|
- `src/render` 负责唯一公开的 Renderer、scene traversal、frame planning、render target 契约、std140
|
|
@@ -291,6 +319,7 @@ API。
|
|
|
291
319
|
- [glTF Viewer](https://hilo3d.js.org/examples/glTFViewer/index.html)
|
|
292
320
|
- [工程文档索引](./documentation/README.md)
|
|
293
321
|
- [当前渲染架构](./documentation/RENDERING_ARCHITECTURE.md)
|
|
322
|
+
- [PBR、HDR 与后处理](./documentation/PBR_AND_POST_PROCESSING.md)
|
|
294
323
|
- [vNext 渲染工程记录](./documentation/ENGINEERING_MODERNIZATION.md#双后端渲染与-shader-abi)
|
|
295
324
|
- [ShaderMaterial 迁移指南](./documentation/ENGINEERING_MODERNIZATION.md#shadermaterial-迁移)
|
|
296
325
|
- [Breaking changes](./CHANGELOG.md#breaking-changes)
|
package/dist/Hilo3d.d.ts
CHANGED
|
@@ -6838,6 +6838,23 @@ interface PBRMaterialParameters extends MaterialParameters {
|
|
|
6838
6838
|
clearcoatRoughnessFactor?: number;
|
|
6839
6839
|
clearcoatRoughnessMap?: Texture | null;
|
|
6840
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;
|
|
6841
6858
|
}
|
|
6842
6859
|
/**
|
|
6843
6860
|
* PBR材质
|
|
@@ -6974,6 +6991,42 @@ declare class PBRMaterial extends Material {
|
|
|
6974
6991
|
* The clearcoat normal map texture.
|
|
6975
6992
|
*/
|
|
6976
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;
|
|
6977
7030
|
usedUniformVectors: number;
|
|
6978
7031
|
/**
|
|
6979
7032
|
* @param params - 初始化参数,所有params都会复制到实例上
|
|
@@ -7277,6 +7330,32 @@ interface GLTFClearcoatExtension {
|
|
|
7277
7330
|
clearcoatRoughnessTexture?: GLTFTextureInfo;
|
|
7278
7331
|
clearcoatNormalTexture?: GLTFTextureInfo;
|
|
7279
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
|
+
}
|
|
7280
7359
|
interface GLTFMaterialsCommonExtension {
|
|
7281
7360
|
technique?: 'CONSTANT' | 'LAMBERT' | 'PHONG' | 'BLINN';
|
|
7282
7361
|
values: Readonly<Record<string, GLTFMaterialValue>>;
|
|
@@ -7683,6 +7762,25 @@ declare const KHR_materials_clearcoat: {
|
|
|
7683
7762
|
getUsedTextureNameMap(extensionData: unknown, map: Record<string, true>): void;
|
|
7684
7763
|
parse(extensionData: unknown, parser: GLTFParser, result: unknown): PBRMaterial;
|
|
7685
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
|
+
};
|
|
7686
7784
|
declare const KHR_lights_punctual: {
|
|
7687
7785
|
parse(extensionData: unknown, parser: GLTFParser, result: unknown): Node;
|
|
7688
7786
|
};
|
|
@@ -7691,8 +7789,13 @@ declare const GLTFExtensions_d_ALI_animation_clips: typeof ALI_animation_clips;
|
|
|
7691
7789
|
declare const GLTFExtensions_d_ALI_bounding_box: typeof ALI_bounding_box;
|
|
7692
7790
|
declare const GLTFExtensions_d_HILO_animation_clips: typeof HILO_animation_clips;
|
|
7693
7791
|
declare const GLTFExtensions_d_KHR_lights_punctual: typeof KHR_lights_punctual;
|
|
7792
|
+
declare const GLTFExtensions_d_KHR_materials_anisotropy: typeof KHR_materials_anisotropy;
|
|
7694
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;
|
|
7695
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;
|
|
7696
7799
|
declare const GLTFExtensions_d_WEB3D_quantized_attributes: typeof WEB3D_quantized_attributes;
|
|
7697
7800
|
declare namespace GLTFExtensions_d {
|
|
7698
7801
|
export {
|
|
@@ -7700,8 +7803,13 @@ declare namespace GLTFExtensions_d {
|
|
|
7700
7803
|
GLTFExtensions_d_ALI_bounding_box as ALI_bounding_box,
|
|
7701
7804
|
GLTFExtensions_d_HILO_animation_clips as HILO_animation_clips,
|
|
7702
7805
|
GLTFExtensions_d_KHR_lights_punctual as KHR_lights_punctual,
|
|
7806
|
+
GLTFExtensions_d_KHR_materials_anisotropy as KHR_materials_anisotropy,
|
|
7703
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,
|
|
7704
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,
|
|
7705
7813
|
GLTFExtensions_d_WEB3D_quantized_attributes as WEB3D_quantized_attributes,
|
|
7706
7814
|
};
|
|
7707
7815
|
}
|
|
@@ -9365,6 +9473,16 @@ interface ForwardRenderFeatureContext {
|
|
|
9365
9473
|
interface ForwardRenderPipelineFactoryOptions {
|
|
9366
9474
|
/** Ordered reusable feature configurations. */
|
|
9367
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;
|
|
9368
9486
|
}
|
|
9369
9487
|
/** Default forward pipeline factory. An empty feature set retains the direct renderer fast path. */
|
|
9370
9488
|
declare class ForwardRenderPipelineFactory implements RenderPipelineFactory {
|
|
@@ -9374,6 +9492,10 @@ declare class ForwardRenderPipelineFactory implements RenderPipelineFactory {
|
|
|
9374
9492
|
readonly requirements: Readonly<RenderPipelineRequirements>;
|
|
9375
9493
|
/** Constructor-snapshotted feature configurations in insertion order. */
|
|
9376
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;
|
|
9377
9499
|
constructor(options?: ForwardRenderPipelineFactoryOptions);
|
|
9378
9500
|
/** Create an independent forward runtime and feature runtime set for one Renderer. */
|
|
9379
9501
|
create(context: RenderPipelineCreateContext): RenderPipeline;
|
|
@@ -9533,8 +9655,10 @@ declare class Shader {
|
|
|
9533
9655
|
* @param lightManager -
|
|
9534
9656
|
* @param fog -
|
|
9535
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.
|
|
9536
9660
|
*/
|
|
9537
|
-
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;
|
|
9538
9662
|
/**
|
|
9539
9663
|
* 获取基础 shader
|
|
9540
9664
|
* @param material -
|
|
@@ -9766,6 +9890,11 @@ interface SceneRenderPassParameters {
|
|
|
9766
9890
|
readonly scissor?: RendererViewport;
|
|
9767
9891
|
/** Optional unsigned stencil reference set before drawing the list. */
|
|
9768
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;
|
|
9769
9898
|
/** Optional WebGPU-only storage-aware shader variant for the ordinary renderer-list path. */
|
|
9770
9899
|
readonly storageShaderVariant?: Readonly<SceneStorageShaderVariant>;
|
|
9771
9900
|
}
|
|
@@ -9822,6 +9951,128 @@ declare class TextureCopyPass implements ScriptableRenderPass<TextureCopyPassPar
|
|
|
9822
9951
|
execute(context: ScriptableRenderPassContext, parameters: TextureCopyPassParameters): void;
|
|
9823
9952
|
}
|
|
9824
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
|
+
|
|
9825
10076
|
type CubeTextureImage = (TextureImageSource | null)[];
|
|
9826
10077
|
interface CubeTextureParameters extends Omit<TextureParameters<CubeTextureImage>, 'target'> {
|
|
9827
10078
|
image?: CubeTextureImage | null;
|
|
@@ -10232,8 +10483,25 @@ interface SemanticMaterial extends Material {
|
|
|
10232
10483
|
clearcoatFactor: number;
|
|
10233
10484
|
clearcoatMap: Texture | null;
|
|
10234
10485
|
clearcoatNormalMap: Texture | null;
|
|
10486
|
+
clearcoatNormalScale: number;
|
|
10235
10487
|
clearcoatRoughnessFactor: number;
|
|
10236
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;
|
|
10237
10505
|
diffuse: MaterialTextureValue;
|
|
10238
10506
|
ambient: MaterialTextureValue;
|
|
10239
10507
|
specular: MaterialTextureValue;
|
|
@@ -10635,6 +10903,45 @@ declare const semantic: {
|
|
|
10635
10903
|
notSupportInstanced: boolean;
|
|
10636
10904
|
get(mesh: SemanticMesh, material: SemanticMaterial, _programInfo: ProgramBindingInfo): unknown;
|
|
10637
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
|
+
};
|
|
10638
10945
|
};
|
|
10639
10946
|
|
|
10640
10947
|
interface AxisHelperParameters extends NodeParameters {
|
|
@@ -13305,6 +13612,6 @@ declare const math: {
|
|
|
13305
13612
|
nextPowerOfTwo(value: number): number;
|
|
13306
13613
|
};
|
|
13307
13614
|
|
|
13308
|
-
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, 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 };
|
|
13309
|
-
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, 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, 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 };
|
|
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 };
|
|
13310
13617
|
//# sourceMappingURL=Hilo3d.d.ts.map
|