@null3d/engine 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE-APACHE +176 -0
- package/LICENSE-MIT +21 -0
- package/README.md +108 -2
- package/THIRD-PARTY-NOTICES.txt +637 -0
- package/dist/wasm/single/null3d.js +3972 -0
- package/dist/wasm/single/null3d_bg.wasm +0 -0
- package/dist/wasm/threaded/null3d.js +3988 -0
- package/dist/wasm/threaded/null3d_bg.wasm +0 -0
- package/docs/api/animation.md +492 -0
- package/docs/api/assets.md +400 -0
- package/docs/api/cameras.md +161 -0
- package/docs/api/controls.md +319 -0
- package/docs/api/debug.md +450 -0
- package/docs/api/engine.md +254 -0
- package/docs/api/feature-draws.md +172 -0
- package/docs/api/feature-effects.md +137 -0
- package/docs/api/feature-instances.md +154 -0
- package/docs/api/features.md +323 -0
- package/docs/api/geometry.md +307 -0
- package/docs/api/grass.md +114 -0
- package/docs/api/impostors.md +274 -0
- package/docs/api/input.md +238 -0
- package/docs/api/lights.md +266 -0
- package/docs/api/lines.md +163 -0
- package/docs/api/materials.md +875 -0
- package/docs/api/math.md +129 -0
- package/docs/api/objects.md +155 -0
- package/docs/api/page.md +97 -0
- package/docs/api/particles.md +205 -0
- package/docs/api/points.md +130 -0
- package/docs/api/post.md +494 -0
- package/docs/api/quality.md +200 -0
- package/docs/api/raycast.md +269 -0
- package/docs/api/reference/animation.md +158 -0
- package/docs/api/reference/assets.md +335 -0
- package/docs/api/reference/cameras.md +138 -0
- package/docs/api/reference/controls.md +463 -0
- package/docs/api/reference/debug.md +586 -0
- package/docs/api/reference/engine.md +647 -0
- package/docs/api/reference/feature-draws.md +94 -0
- package/docs/api/reference/feature-effects.md +32 -0
- package/docs/api/reference/feature-instances.md +63 -0
- package/docs/api/reference/features.md +361 -0
- package/docs/api/reference/geometry.md +856 -0
- package/docs/api/reference/grass.md +131 -0
- package/docs/api/reference/impostors.md +368 -0
- package/docs/api/reference/input.md +121 -0
- package/docs/api/reference/lights.md +257 -0
- package/docs/api/reference/lines.md +84 -0
- package/docs/api/reference/materials.md +375 -0
- package/docs/api/reference/math.md +229 -0
- package/docs/api/reference/objects.md +103 -0
- package/docs/api/reference/particles.md +336 -0
- package/docs/api/reference/points.md +57 -0
- package/docs/api/reference/post.md +244 -0
- package/docs/api/reference/quality.md +213 -0
- package/docs/api/reference/raycast.md +94 -0
- package/docs/api/reference/render.md +238 -0
- package/docs/api/reference/scene.md +543 -0
- package/docs/api/reference/sketch.md +125 -0
- package/docs/api/reference/sound.md +203 -0
- package/docs/api/reference/splats.md +214 -0
- package/docs/api/reference/sprites.md +71 -0
- package/docs/api/reference/tasks.md +92 -0
- package/docs/api/reference/terrain.md +161 -0
- package/docs/api/reference/textures.md +153 -0
- package/docs/api/reference/three-compat.md +60 -0
- package/docs/api/reference/time.md +25 -0
- package/docs/api/reference/ui.md +52 -0
- package/docs/api/reference/vertex-draws.md +55 -0
- package/docs/api/reference/water.md +430 -0
- package/docs/api/reference/wind.md +106 -0
- package/docs/api/render.md +499 -0
- package/docs/api/scene.md +606 -0
- package/docs/api/sketch.md +231 -0
- package/docs/api/sound.md +169 -0
- package/docs/api/splats.md +264 -0
- package/docs/api/sprites.md +169 -0
- package/docs/api/tasks.md +106 -0
- package/docs/api/terrain.md +118 -0
- package/docs/api/textures.md +272 -0
- package/docs/api/three-compat.md +102 -0
- package/docs/api/time.md +134 -0
- package/docs/api/ui.md +134 -0
- package/docs/api/vertex-draws.md +171 -0
- package/docs/api/water.md +486 -0
- package/docs/api/wind.md +375 -0
- package/docs/cli/null3d.md +603 -0
- package/docs/concepts/architecture.md +174 -0
- package/docs/concepts/assets.md +128 -0
- package/docs/concepts/backends.md +197 -0
- package/docs/concepts/color-management.md +134 -0
- package/docs/concepts/culling.md +227 -0
- package/docs/concepts/handles.md +93 -0
- package/docs/concepts/instances.md +285 -0
- package/docs/concepts/large-worlds.md +126 -0
- package/docs/concepts/lighting.md +587 -0
- package/docs/concepts/lod.md +241 -0
- package/docs/concepts/materials.md +128 -0
- package/docs/concepts/particle-buffer.md +201 -0
- package/docs/concepts/post-processing.md +420 -0
- package/docs/concepts/quality-preset-tables.md +94 -0
- package/docs/concepts/quality-presets.md +341 -0
- package/docs/concepts/render-graph.md +222 -0
- package/docs/concepts/render-layers.md +111 -0
- package/docs/concepts/shadows.md +448 -0
- package/docs/concepts/static-dynamic.md +113 -0
- package/docs/cookbook/index.md +664 -0
- package/docs/data/threejs-mapping.json +2152 -0
- package/docs/errors/E1101.md +23 -0
- package/docs/errors/E1102.md +23 -0
- package/docs/errors/E1103.md +23 -0
- package/docs/errors/E1104.md +23 -0
- package/docs/errors/E1105.md +23 -0
- package/docs/errors/E1106.md +23 -0
- package/docs/errors/E1107.md +23 -0
- package/docs/errors/E1108.md +23 -0
- package/docs/errors/E1109.md +23 -0
- package/docs/errors/E1110.md +23 -0
- package/docs/errors/E1111.md +23 -0
- package/docs/errors/E1112.md +23 -0
- package/docs/errors/E1203.md +23 -0
- package/docs/errors/E1204.md +23 -0
- package/docs/errors/E1205.md +23 -0
- package/docs/errors/E1206.md +23 -0
- package/docs/errors/E1207.md +23 -0
- package/docs/errors/E1208.md +23 -0
- package/docs/errors/E1209.md +23 -0
- package/docs/errors/E1213.md +23 -0
- package/docs/errors/E1214.md +23 -0
- package/docs/errors/E1215.md +23 -0
- package/docs/errors/E1216.md +23 -0
- package/docs/errors/E1217.md +23 -0
- package/docs/errors/E1218.md +23 -0
- package/docs/errors/E1219.md +23 -0
- package/docs/errors/E1220.md +23 -0
- package/docs/errors/E1221.md +23 -0
- package/docs/errors/E1222.md +23 -0
- package/docs/errors/E1223.md +23 -0
- package/docs/errors/E1224.md +23 -0
- package/docs/errors/E1225.md +23 -0
- package/docs/errors/E1301.md +23 -0
- package/docs/errors/E1302.md +23 -0
- package/docs/errors/E1303.md +23 -0
- package/docs/errors/E1304.md +23 -0
- package/docs/errors/E1305.md +23 -0
- package/docs/errors/E1306.md +23 -0
- package/docs/errors/E1307.md +23 -0
- package/docs/errors/E1401.md +23 -0
- package/docs/errors/E1402.md +23 -0
- package/docs/errors/E1403.md +23 -0
- package/docs/errors/E1404.md +23 -0
- package/docs/errors/E1405.md +23 -0
- package/docs/errors/E1406.md +23 -0
- package/docs/errors/E1407.md +23 -0
- package/docs/errors/E1408.md +23 -0
- package/docs/errors/E1409.md +23 -0
- package/docs/errors/E1410.md +23 -0
- package/docs/errors/E1411.md +23 -0
- package/docs/errors/E1412.md +23 -0
- package/docs/errors/E1413.md +23 -0
- package/docs/errors/E1414.md +23 -0
- package/docs/errors/E1415.md +23 -0
- package/docs/errors/E1416.md +23 -0
- package/docs/errors/E1417.md +23 -0
- package/docs/errors/E1418.md +23 -0
- package/docs/errors/E1419.md +23 -0
- package/docs/errors/E1420.md +23 -0
- package/docs/errors/E1421.md +23 -0
- package/docs/errors/E1422.md +23 -0
- package/docs/errors/E1423.md +23 -0
- package/docs/errors/E1424.md +23 -0
- package/docs/errors/E1425.md +23 -0
- package/docs/errors/E1426.md +23 -0
- package/docs/errors/E1430.md +23 -0
- package/docs/errors/E1431.md +23 -0
- package/docs/errors/E1432.md +23 -0
- package/docs/errors/E1433.md +23 -0
- package/docs/errors/E1434.md +23 -0
- package/docs/errors/E1435.md +23 -0
- package/docs/errors/E1436.md +23 -0
- package/docs/errors/E1437.md +23 -0
- package/docs/errors/E1501.md +23 -0
- package/docs/errors/E1502.md +23 -0
- package/docs/errors/E1503.md +23 -0
- package/docs/errors/E1504.md +23 -0
- package/docs/errors/E1505.md +23 -0
- package/docs/errors/E1506.md +23 -0
- package/docs/errors/index.md +93 -0
- package/docs/getting-started/cdn.md +235 -0
- package/docs/getting-started/first-scene.md +129 -0
- package/docs/getting-started/hosting.md +400 -0
- package/docs/getting-started/install.md +112 -0
- package/docs/getting-started/network-use.md +96 -0
- package/docs/getting-started/project-structure.md +78 -0
- package/docs/getting-started/third-party-notices.md +94 -0
- package/docs/guides/accessibility.md +96 -0
- package/docs/guides/add-ons.md +160 -0
- package/docs/guides/agents.md +77 -0
- package/docs/guides/assets-pipeline.md +505 -0
- package/docs/guides/audio.md +148 -0
- package/docs/guides/baked-light-data.md +176 -0
- package/docs/guides/car-paint.md +121 -0
- package/docs/guides/content-pages.md +238 -0
- package/docs/guides/custom-passes.md +586 -0
- package/docs/guides/custom-shaders.md +293 -0
- package/docs/guides/debugging.md +236 -0
- package/docs/guides/deploying.md +115 -0
- package/docs/guides/deterministic-simulation.md +226 -0
- package/docs/guides/first-use-shaders.md +57 -0
- package/docs/guides/lens-kit.md +134 -0
- package/docs/guides/loading-screens.md +263 -0
- package/docs/guides/multiple-views.md +122 -0
- package/docs/guides/performance.md +405 -0
- package/docs/guides/phones.md +138 -0
- package/docs/guides/physics.md +202 -0
- package/docs/guides/screens.md +125 -0
- package/docs/guides/start-time.md +328 -0
- package/docs/guides/testing.md +245 -0
- package/docs/guides/ui-overlays.md +182 -0
- package/docs/guides/video-textures.md +110 -0
- package/docs/index.md +49 -0
- package/docs/pages.md +242 -0
- package/docs/porting/react-three-fiber.md +238 -0
- package/docs/porting/threejs-loop-and-threads.md +229 -0
- package/docs/porting/threejs-mapping.md +297 -0
- package/docs/porting/threejs-materials.md +222 -0
- package/docs/porting/threejs-overview.md +228 -0
- package/docs/porting/threejs-postprocessing.md +256 -0
- package/docs/porting/threejs-shaders.md +308 -0
- package/docs/porting/threejs-unsupported.md +91 -0
- package/docs/porting/verification.md +191 -0
- package/docs/shaders/builtins.md +129 -0
- package/docs/shaders/library.md +1374 -0
- package/docs/shaders/surface-functions.md +626 -0
- package/docs/shaders/wgsl-rules.md +126 -0
- package/levels/pieces.d.ts +178 -0
- package/levels/pieces.js +759 -0
- package/levels/planner.d.ts +126 -0
- package/levels/planner.js +682 -0
- package/lib/debug/channel.d.ts +103 -0
- package/lib/debug/channel.js +269 -0
- package/lib/debug/debug.d.ts +180 -0
- package/lib/debug/debug.js +4 -0
- package/lib/debug/draw.d.ts +146 -0
- package/lib/debug/draw.js +719 -0
- package/lib/debug/frame-target.d.ts +11 -0
- package/lib/debug/frame-target.js +31 -0
- package/lib/debug/inspector.d.ts +60 -0
- package/lib/debug/inspector.js +475 -0
- package/lib/debug/overlay-look.d.ts +162 -0
- package/lib/debug/overlay-look.js +1365 -0
- package/lib/debug/overlay.d.ts +68 -0
- package/lib/debug/overlay.js +195 -0
- package/lib/debug/page-meters.d.ts +139 -0
- package/lib/debug/page-meters.js +267 -0
- package/lib/debug/sketch-debug.d.ts +41 -0
- package/lib/debug/sketch-debug.js +86 -0
- package/lib/debug/stats-options.d.ts +15 -0
- package/lib/debug/stats-options.js +3 -0
- package/lib/debug/stats-panel.d.ts +94 -0
- package/lib/debug/stats-panel.js +123 -0
- package/lib/debug/stats-text.d.ts +169 -0
- package/lib/debug/stats-text.js +126 -0
- package/lib/debug/stats.d.ts +195 -0
- package/lib/debug/stats.js +252 -0
- package/lib/debug/view-names.d.ts +15 -0
- package/lib/debug/view-names.js +22 -0
- package/lib/errors/checks.d.ts +24 -0
- package/lib/errors/checks.js +38 -0
- package/lib/errors/codes.d.ts +15 -0
- package/lib/errors/codes.js +489 -0
- package/lib/errors/core-failure.d.ts +19 -0
- package/lib/errors/core-failure.js +127 -0
- package/lib/errors/engine-error-core.d.ts +21 -0
- package/lib/errors/engine-error-core.js +39 -0
- package/lib/errors/engine-error.d.ts +38 -0
- package/lib/errors/engine-error.js +132 -0
- package/lib/errors/fixes.d.ts +89 -0
- package/lib/errors/fixes.js +86 -0
- package/lib/errors/message.d.ts +4 -0
- package/lib/errors/message.js +10 -0
- package/lib/generated/core.d.ts +657 -0
- package/lib/generated/core.js +659 -0
- package/lib/generated/gpu.d.ts +412 -0
- package/lib/generated/gpu.js +414 -0
- package/lib/generated/shader-features.d.ts +8 -0
- package/lib/generated/shader-permutations.d.ts +6 -0
- package/lib/generated/shader-permutations.js +9 -0
- package/lib/generated/shaders-environment-glsl.d.ts +11 -0
- package/lib/generated/shaders-environment-wgsl.d.ts +11 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coat-sheen-and-coverage-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coat-sheen-and-coverage.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coat-sheen-and-displacement-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coat-sheen-and-displacement.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coat-sheen-and-hash-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coat-sheen-and-hash.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coat-sheen-and-lod-fade-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coat-sheen-and-lod-fade.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coat-sheen-and-morph-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coat-sheen-and-morph.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coat-sheen-and-row-values-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coat-sheen-and-row-values.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coat-sheen-and-skinning-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coat-sheen-and-skinning.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coat-sheen-and-transmission-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coat-sheen-and-transmission.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coat-sheen-and-weighted-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coat-sheen-and-weighted.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coat-sheen-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coat-sheen.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coverage-and-displacement-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coverage-and-displacement.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coverage-and-lod-fade-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coverage-and-lod-fade.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coverage-and-morph-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coverage-and-morph.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coverage-and-row-values-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coverage-and-row-values.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coverage-and-skinning-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coverage-and-skinning.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coverage-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coverage-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coverage-and-transmission-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coverage-and-transmission.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coverage-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coverage.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-displacement-and-hash-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-displacement-and-hash.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-displacement-and-morph-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-displacement-and-morph.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-displacement-and-row-values-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-displacement-and-row-values.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-displacement-and-skinning-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-displacement-and-skinning.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-displacement-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-displacement-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-displacement-and-transmission-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-displacement-and-transmission.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-displacement-and-weighted-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-displacement-and-weighted.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-displacement-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-displacement.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-hash-and-morph-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-hash-and-morph.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-hash-and-row-values-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-hash-and-row-values.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-hash-and-skinning-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-hash-and-skinning.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-hash-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-hash-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-hash-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-hash.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-lod-fade-and-row-values-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-lod-fade-and-row-values.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-lod-fade-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-lod-fade-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-lod-fade-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-lod-fade.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-morph-and-skinning-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-morph-and-skinning.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-morph-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-morph-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-morph-and-transmission-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-morph-and-transmission.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-morph-and-weighted-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-morph-and-weighted.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-morph-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-morph.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-row-values-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-row-values-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-row-values-and-weighted-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-row-values-and-weighted.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-row-values-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-row-values.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-skinning-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-skinning-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-skinning-and-transmission-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-skinning-and-transmission.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-skinning-and-weighted-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-skinning-and-weighted.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-skinning-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-skinning.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-transmission-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-transmission.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-weighted-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-weighted.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-bump.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-coverage-and-displacement-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-coverage-and-displacement.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-coverage-and-lod-fade-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-coverage-and-lod-fade.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-coverage-and-morph-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-coverage-and-morph.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-coverage-and-row-values-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-coverage-and-row-values.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-coverage-and-skinning-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-coverage-and-skinning.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-coverage-and-transmission-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-coverage-and-transmission.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-coverage-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-coverage.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-displacement-and-hash-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-displacement-and-hash.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-displacement-and-morph-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-displacement-and-morph.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-displacement-and-row-values-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-displacement-and-row-values.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-displacement-and-skinning-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-displacement-and-skinning.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-displacement-and-transmission-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-displacement-and-transmission.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-displacement-and-weighted-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-displacement-and-weighted.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-displacement-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-displacement.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-hash-and-morph-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-hash-and-morph.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-hash-and-row-values-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-hash-and-row-values.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-hash-and-skinning-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-hash-and-skinning.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-hash-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-hash.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-lod-fade-and-row-values-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-lod-fade-and-row-values.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-lod-fade-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-lod-fade.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-morph-and-skinning-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-morph-and-skinning.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-morph-and-transmission-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-morph-and-transmission.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-morph-and-weighted-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-morph-and-weighted.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-morph-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-morph.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-row-values-and-weighted-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-row-values-and-weighted.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-row-values-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-row-values.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-skinning-and-transmission-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-skinning-and-transmission.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-skinning-and-weighted-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-skinning-and-weighted.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-skinning-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-skinning.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-transmission-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-transmission.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-weighted-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-weighted.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-displacement-and-morph-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-displacement-and-morph.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-displacement-and-row-values-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-displacement-and-row-values.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-displacement-and-skinning-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-displacement-and-skinning.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-displacement-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-displacement-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-displacement-and-transmission-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-displacement-and-transmission.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-displacement-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-displacement.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-lod-fade-and-row-values-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-lod-fade-and-row-values.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-lod-fade-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-lod-fade-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-lod-fade-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-lod-fade.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-morph-and-skinning-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-morph-and-skinning.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-morph-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-morph-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-morph-and-transmission-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-morph-and-transmission.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-morph-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-morph.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-row-values-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-row-values-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-row-values-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-row-values.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-skinning-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-skinning-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-skinning-and-transmission-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-skinning-and-transmission.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-skinning-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-skinning.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-transmission-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-transmission.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-coverage.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-hash-and-morph-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-hash-and-morph.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-hash-and-row-values-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-hash-and-row-values.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-hash-and-skinning-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-hash-and-skinning.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-hash-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-hash-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-hash-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-hash.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-moment-and-morph-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-moment-and-morph.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-moment-and-row-values-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-moment-and-row-values.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-moment-and-skinning-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-moment-and-skinning.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-moment-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-moment-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-moment-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-moment.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-morph-and-skinning-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-morph-and-skinning.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-morph-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-morph-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-morph-and-transmission-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-morph-and-transmission.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-morph-and-weighted-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-morph-and-weighted.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-morph-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-morph.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-row-values-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-row-values-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-row-values-and-weighted-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-row-values-and-weighted.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-row-values-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-row-values.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-skinning-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-skinning-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-skinning-and-transmission-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-skinning-and-transmission.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-skinning-and-weighted-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-skinning-and-weighted.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-skinning-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-skinning.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-transmission-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-transmission.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-weighted-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-weighted.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-displacement.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-hash-and-morph-and-skinning-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-hash-and-morph-and-skinning.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-hash-and-morph-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-hash-and-morph-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-hash-and-morph-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-hash-and-morph.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-hash-and-row-values-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-hash-and-row-values-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-hash-and-row-values-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-hash-and-row-values.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-hash-and-skinning-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-hash-and-skinning-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-hash-and-skinning-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-hash-and-skinning.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-hash-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-hash-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-hash-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-hash.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-lines.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-lod-fade-and-row-values-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-lod-fade-and-row-values-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-lod-fade-and-row-values-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-lod-fade-and-row-values.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-lod-fade-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-lod-fade-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-lod-fade-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-lod-fade.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-moment-and-morph-and-skinning-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-moment-and-morph-and-skinning.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-moment-and-morph-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-moment-and-morph-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-moment-and-morph-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-moment-and-morph.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-moment-and-row-values-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-moment-and-row-values-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-moment-and-row-values-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-moment-and-row-values.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-moment-and-skinning-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-moment-and-skinning-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-moment-and-skinning-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-moment-and-skinning.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-moment-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-moment-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-moment-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-moment.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-morph-and-skinning-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-morph-and-skinning-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-morph-and-skinning-and-transmission-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-morph-and-skinning-and-transmission.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-morph-and-skinning-and-weighted-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-morph-and-skinning-and-weighted.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-morph-and-skinning-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-morph-and-skinning.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-morph-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-morph-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-morph-and-transmission-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-morph-and-transmission.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-morph-and-weighted-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-morph-and-weighted.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-morph-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-morph.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-row-values-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-row-values-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-row-values-and-weighted-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-row-values-and-weighted.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-row-values-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-row-values.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-skinning-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-skinning-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-skinning-and-transmission-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-skinning-and-transmission.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-skinning-and-weighted-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-skinning-and-weighted.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-skinning-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-skinning.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-transmission-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-transmission.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-weighted-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-area-lights-and-weighted.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-coat-sheen-and-coverage-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-coat-sheen-and-coverage.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-coat-sheen-and-displacement-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-coat-sheen-and-displacement.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-coat-sheen-and-hash-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-coat-sheen-and-hash.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-coat-sheen-and-lod-fade-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-coat-sheen-and-lod-fade.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-coat-sheen-and-morph-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-coat-sheen-and-morph.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-coat-sheen-and-row-values-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-coat-sheen-and-row-values.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-coat-sheen-and-skinning-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-coat-sheen-and-skinning.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-coat-sheen-and-transmission-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-coat-sheen-and-transmission.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-coat-sheen-and-weighted-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-coat-sheen-and-weighted.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-coat-sheen-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-coat-sheen.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-coverage-and-displacement-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-coverage-and-displacement.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-coverage-and-lod-fade-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-coverage-and-lod-fade.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-coverage-and-morph-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-coverage-and-morph.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-coverage-and-row-values-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-coverage-and-row-values.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-coverage-and-skinning-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-coverage-and-skinning.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-coverage-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-coverage-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-coverage-and-transmission-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-coverage-and-transmission.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-coverage-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-coverage.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-displacement-and-hash-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-displacement-and-hash.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-displacement-and-morph-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-displacement-and-morph.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-displacement-and-row-values-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-displacement-and-row-values.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-displacement-and-skinning-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-displacement-and-skinning.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-displacement-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-displacement-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-displacement-and-transmission-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-displacement-and-transmission.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-displacement-and-weighted-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-displacement-and-weighted.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-displacement-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-displacement.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-hash-and-morph-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-hash-and-morph.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-hash-and-row-values-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-hash-and-row-values.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-hash-and-skinning-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-hash-and-skinning.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-hash-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-hash-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-hash-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-hash.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-lod-fade-and-row-values-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-lod-fade-and-row-values.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-lod-fade-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-lod-fade-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-lod-fade-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-lod-fade.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-morph-and-skinning-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-morph-and-skinning.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-morph-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-morph-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-morph-and-transmission-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-morph-and-transmission.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-morph-and-weighted-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-morph-and-weighted.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-morph-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-morph.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-row-values-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-row-values-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-row-values-and-weighted-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-row-values-and-weighted.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-row-values-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-row-values.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-skinning-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-skinning-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-skinning-and-transmission-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-skinning-and-transmission.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-skinning-and-weighted-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-skinning-and-weighted.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-skinning-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-skinning.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-transmission-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-transmission.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-weighted-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-bump-and-weighted.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-coat-sheen-and-coverage-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-coat-sheen-and-coverage.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-coat-sheen-and-displacement-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-coat-sheen-and-displacement.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-coat-sheen-and-hash-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-coat-sheen-and-hash.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-coat-sheen-and-lod-fade-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-coat-sheen-and-lod-fade.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-coat-sheen-and-morph-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-coat-sheen-and-morph.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-coat-sheen-and-row-values-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-coat-sheen-and-row-values.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-coat-sheen-and-skinning-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-coat-sheen-and-skinning.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-coat-sheen-and-transmission-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-coat-sheen-and-transmission.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-coat-sheen-and-weighted-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-coat-sheen-and-weighted.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-coverage-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-coverage.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-cutout.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-decals-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-decals.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-displacement-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-displacement.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-hash-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-hash.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-lod-fade-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-lod-fade.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-moment-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-moment.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-morph-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-morph.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-motion.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-picking.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-probe-grid-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-probe-grid.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-row-values-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-row-values.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-skinning-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-skinning.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-sprites.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-subsurface-half.d.ts +3 -0
- package/lib/generated/shaders-glsl-combos-subsurface.d.ts +3 -0
- package/lib/generated/shaders-probe-glsl.d.ts +11 -0
- package/lib/generated/shaders-probe-wgsl.d.ts +11 -0
- package/lib/generated/shaders-sky-volume-env-glsl.d.ts +11 -0
- package/lib/generated/shaders-sky-volume-env-wgsl.d.ts +11 -0
- package/lib/generated/shaders-sky-volume-panorama-glsl.d.ts +11 -0
- package/lib/generated/shaders-sky-volume-panorama-wgsl.d.ts +11 -0
- package/lib/generated/shaders-wgsl-combos-area-lights-and-bump-half.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-area-lights-and-bump.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-area-lights-and-coat-sheen-half.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-area-lights-and-coat-sheen.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-area-lights-and-coverage-half.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-area-lights-and-coverage.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-area-lights-and-displacement-half.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-area-lights-and-displacement.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-area-lights-and-hash-half.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-area-lights-and-hash.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-area-lights-and-instance-index-half.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-area-lights-and-instance-index.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-area-lights-and-lines.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-area-lights-and-lod-fade-half.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-area-lights-and-lod-fade.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-area-lights-and-moment-half.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-area-lights-and-moment.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-area-lights-and-row-values-half.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-area-lights-and-row-values.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-area-lights-and-skinning-half.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-area-lights-and-skinning.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-area-lights-and-translucency-half.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-area-lights-and-translucency.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-area-lights-and-transmission-half.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-area-lights-and-transmission.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-area-lights-and-weighted-half.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-area-lights-and-weighted.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-bump-half.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-bump.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-coat-sheen-half.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-coat-sheen.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-coverage-half.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-coverage.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-cutout.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-decals-half.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-decals.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-displacement-half.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-displacement.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-hash-half.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-hash.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-instance-index-half.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-instance-index.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-lod-fade-half.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-lod-fade.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-moment-half.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-moment.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-motion.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-picking.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-probe-grid-half.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-probe-grid.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-row-values-half.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-row-values.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-skinning-half.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-skinning.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-sprites.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-subsurface-half.d.ts +3 -0
- package/lib/generated/shaders-wgsl-combos-subsurface.d.ts +3 -0
- package/lib/generated/shaders.d.ts +1146 -0
- package/lib/gpu/canvas-release.d.ts +20 -0
- package/lib/gpu/canvas-release.js +67 -0
- package/lib/gpu/completion.d.ts +35 -0
- package/lib/gpu/completion.js +256 -0
- package/lib/gpu/device-shaders.d.ts +69 -0
- package/lib/gpu/device-shaders.js +177 -0
- package/lib/gpu/early-builds.d.ts +68 -0
- package/lib/gpu/early-builds.js +158 -0
- package/lib/gpu/effect-join.d.ts +83 -0
- package/lib/gpu/effect-join.js +134 -0
- package/lib/gpu/effect-joiner.d.ts +14 -0
- package/lib/gpu/effect-joiner.js +165 -0
- package/lib/gpu/environment-steps.d.ts +135 -0
- package/lib/gpu/environment-steps.js +210 -0
- package/lib/gpu/environment-words.d.ts +14 -0
- package/lib/gpu/environment-words.js +19 -0
- package/lib/gpu/environment.d.ts +4 -0
- package/lib/gpu/environment.js +8 -0
- package/lib/gpu/float-bits.d.ts +2 -0
- package/lib/gpu/float-bits.js +9 -0
- package/lib/gpu/line-vertices.d.ts +1 -0
- package/lib/gpu/line-vertices.js +14 -0
- package/lib/gpu/memory.d.ts +19 -0
- package/lib/gpu/memory.js +50 -0
- package/lib/gpu/particle-records.d.ts +1 -0
- package/lib/gpu/particle-records.js +15 -0
- package/lib/gpu/pipeline-name.d.ts +6 -0
- package/lib/gpu/pipeline-name.js +23 -0
- package/lib/gpu/probe-steps.d.ts +22 -0
- package/lib/gpu/probe-steps.js +43 -0
- package/lib/gpu/readback.d.ts +32 -0
- package/lib/gpu/readback.js +163 -0
- package/lib/gpu/variants.d.ts +16 -0
- package/lib/gpu/variants.js +67 -0
- package/lib/gpu/vertex-format.d.ts +46 -0
- package/lib/gpu/vertex-format.js +111 -0
- package/lib/gpu/webgl2/backend.d.ts +714 -0
- package/lib/gpu/webgl2/backend.js +2964 -0
- package/lib/gpu/webgl2/call-timing.d.ts +34 -0
- package/lib/gpu/webgl2/call-timing.js +143 -0
- package/lib/gpu/webgl2/context.d.ts +31 -0
- package/lib/gpu/webgl2/context.js +111 -0
- package/lib/gpu/webgl2/depth.d.ts +25 -0
- package/lib/gpu/webgl2/depth.js +30 -0
- package/lib/gpu/webgl2/environment.d.ts +65 -0
- package/lib/gpu/webgl2/environment.js +572 -0
- package/lib/gpu/webgl2/gpu-timer.d.ts +25 -0
- package/lib/gpu/webgl2/gpu-timer.js +93 -0
- package/lib/gpu/webgl2/probes.d.ts +38 -0
- package/lib/gpu/webgl2/probes.js +117 -0
- package/lib/gpu/webgl2/programs.d.ts +238 -0
- package/lib/gpu/webgl2/programs.js +487 -0
- package/lib/gpu/webgpu/backend.d.ts +460 -0
- package/lib/gpu/webgpu/backend.js +1812 -0
- package/lib/gpu/webgpu/buffer-reads.d.ts +42 -0
- package/lib/gpu/webgpu/buffer-reads.js +95 -0
- package/lib/gpu/webgpu/culled-counts.d.ts +79 -0
- package/lib/gpu/webgpu/culled-counts.js +259 -0
- package/lib/gpu/webgpu/draw-path-probe.d.ts +37 -0
- package/lib/gpu/webgpu/draw-path-probe.js +187 -0
- package/lib/gpu/webgpu/environment.d.ts +36 -0
- package/lib/gpu/webgpu/environment.js +735 -0
- package/lib/gpu/webgpu/first-pass.d.ts +13 -0
- package/lib/gpu/webgpu/first-pass.js +61 -0
- package/lib/gpu/webgpu/gpu-timer.d.ts +67 -0
- package/lib/gpu/webgpu/gpu-timer.js +328 -0
- package/lib/gpu/webgpu/indirect-arguments.d.ts +42 -0
- package/lib/gpu/webgpu/indirect-arguments.js +156 -0
- package/lib/gpu/webgpu/pipelines.d.ts +264 -0
- package/lib/gpu/webgpu/pipelines.js +2013 -0
- package/lib/gpu/webgpu/probes.d.ts +27 -0
- package/lib/gpu/webgpu/probes.js +190 -0
- package/lib/gpu/webgpu/reusable.d.ts +74 -0
- package/lib/gpu/webgpu/reusable.js +212 -0
- package/lib/gpu/webgpu/staging.d.ts +79 -0
- package/lib/gpu/webgpu/staging.js +238 -0
- package/lib/gpu/webgpu/upload-routes.d.ts +55 -0
- package/lib/gpu/webgpu/upload-routes.js +128 -0
- package/lib/index.d.ts +121 -0
- package/lib/index.js +54 -0
- package/lib/math/color.d.ts +18 -0
- package/lib/math/color.js +71 -0
- package/lib/math/create-math.d.ts +101 -0
- package/lib/math/create-math.js +207 -0
- package/lib/math/hex.d.ts +8 -0
- package/lib/math/hex.js +38 -0
- package/lib/math/index.d.ts +2 -0
- package/lib/math/index.js +11 -0
- package/lib/math/mat4.d.ts +22 -0
- package/lib/math/mat4.js +206 -0
- package/lib/math/math.d.ts +16 -0
- package/lib/math/math.js +42 -0
- package/lib/math/namespaces/math.d.ts +7 -0
- package/lib/math/namespaces/math.js +14 -0
- package/lib/math/namespaces/quat.d.ts +20 -0
- package/lib/math/namespaces/quat.js +30 -0
- package/lib/math/namespaces/vec3.d.ts +4 -0
- package/lib/math/namespaces/vec3.js +8 -0
- package/lib/math/quat.d.ts +36 -0
- package/lib/math/quat.js +224 -0
- package/lib/math/random.d.ts +16 -0
- package/lib/math/random.js +57 -0
- package/lib/math/types.d.ts +43 -0
- package/lib/math/types.js +4 -0
- package/lib/math/vec3.d.ts +43 -0
- package/lib/math/vec3.js +187 -0
- package/lib/page/abortable.d.ts +2 -0
- package/lib/page/abortable.js +19 -0
- package/lib/page/browser-check.d.ts +8 -0
- package/lib/page/browser-check.js +23 -0
- package/lib/page/canvas-watch.d.ts +34 -0
- package/lib/page/canvas-watch.js +141 -0
- package/lib/page/capabilities.d.ts +201 -0
- package/lib/page/capabilities.js +409 -0
- package/lib/page/check-store.d.ts +54 -0
- package/lib/page/check-store.js +169 -0
- package/lib/page/display.d.ts +2 -0
- package/lib/page/display.js +25 -0
- package/lib/page/early-core.d.ts +1 -0
- package/lib/page/early-core.js +23 -0
- package/lib/page/engine.d.ts +942 -0
- package/lib/page/engine.js +2459 -0
- package/lib/page/first-frame.d.ts +16 -0
- package/lib/page/first-frame.js +35 -0
- package/lib/page/frame-stats.d.ts +402 -0
- package/lib/page/frame-stats.js +389 -0
- package/lib/page/gamepads.d.ts +37 -0
- package/lib/page/gamepads.js +123 -0
- package/lib/page/held-input.d.ts +19 -0
- package/lib/page/held-input.js +54 -0
- package/lib/page/hold.d.ts +186 -0
- package/lib/page/hold.js +49 -0
- package/lib/page/input-ring.d.ts +13 -0
- package/lib/page/input-ring.js +25 -0
- package/lib/page/input.d.ts +6 -0
- package/lib/page/input.js +159 -0
- package/lib/page/isolation-check.d.ts +14 -0
- package/lib/page/isolation-check.js +21 -0
- package/lib/page/label-loop.d.ts +80 -0
- package/lib/page/label-loop.js +417 -0
- package/lib/page/labels.d.ts +56 -0
- package/lib/page/labels.js +102 -0
- package/lib/page/limits.d.ts +321 -0
- package/lib/page/limits.js +323 -0
- package/lib/page/loader.d.ts +78 -0
- package/lib/page/loader.js +149 -0
- package/lib/page/main-thread.d.ts +10 -0
- package/lib/page/main-thread.js +41 -0
- package/lib/page/memory-pool.d.ts +26 -0
- package/lib/page/memory-pool.js +69 -0
- package/lib/page/ownership.d.ts +65 -0
- package/lib/page/ownership.js +166 -0
- package/lib/page/permutation-recording.d.ts +26 -0
- package/lib/page/permutation-recording.js +32 -0
- package/lib/page/pipeline-store.d.ts +25 -0
- package/lib/page/pipeline-store.js +84 -0
- package/lib/page/pointer-lock.d.ts +14 -0
- package/lib/page/pointer-lock.js +60 -0
- package/lib/page/preferences.d.ts +2 -0
- package/lib/page/preferences.js +11 -0
- package/lib/page/record-button.d.ts +5 -0
- package/lib/page/record-button.js +60 -0
- package/lib/page/start-marker.d.ts +47 -0
- package/lib/page/start-marker.js +119 -0
- package/lib/page/stats-switch.d.ts +16 -0
- package/lib/page/stats-switch.js +38 -0
- package/lib/page/stop-jobs.d.ts +37 -0
- package/lib/page/stop-jobs.js +87 -0
- package/lib/page/switches.d.ts +347 -0
- package/lib/page/switches.js +150 -0
- package/lib/page/videos.d.ts +70 -0
- package/lib/page/videos.js +244 -0
- package/lib/quality/budget.d.ts +14 -0
- package/lib/quality/budget.js +25 -0
- package/lib/quality/check.d.ts +119 -0
- package/lib/quality/check.js +84 -0
- package/lib/quality/chooser.d.ts +98 -0
- package/lib/quality/chooser.js +108 -0
- package/lib/quality/device-hints.d.ts +8 -0
- package/lib/quality/device-hints.js +18 -0
- package/lib/quality/governor.d.ts +571 -0
- package/lib/quality/governor.js +1293 -0
- package/lib/quality/preset-docs.d.ts +402 -0
- package/lib/quality/preset-docs.js +179 -0
- package/lib/quality/presets.d.ts +821 -0
- package/lib/quality/presets.js +678 -0
- package/lib/render/direct-loop.d.ts +4 -0
- package/lib/render/direct-loop.js +52 -0
- package/lib/render/draw.d.ts +66 -0
- package/lib/render/draw.js +111 -0
- package/lib/render/load-draw.d.ts +12 -0
- package/lib/render/load-draw.js +18 -0
- package/lib/render/loop.d.ts +241 -0
- package/lib/render/loop.js +566 -0
- package/lib/render/loss.d.ts +53 -0
- package/lib/render/loss.js +127 -0
- package/lib/render/pacer.d.ts +24 -0
- package/lib/render/pacer.js +51 -0
- package/lib/render/recovery.d.ts +82 -0
- package/lib/render/recovery.js +160 -0
- package/lib/render/refresh.d.ts +38 -0
- package/lib/render/refresh.js +111 -0
- package/lib/render/renderer.d.ts +192 -0
- package/lib/render/renderer.js +295 -0
- package/lib/render/scene-renderer.d.ts +135 -0
- package/lib/render/scene-renderer.js +216 -0
- package/lib/render/shader-salt.d.ts +5 -0
- package/lib/render/shader-salt.js +31 -0
- package/lib/render/webgl2-renderers.d.ts +11 -0
- package/lib/render/webgl2-renderers.js +227 -0
- package/lib/render/webgpu-renderers.d.ts +10 -0
- package/lib/render/webgpu-renderers.js +254 -0
- package/lib/scene/addon-debug-views.d.ts +30 -0
- package/lib/scene/addon-debug-views.js +63 -0
- package/lib/scene/animation.d.ts +547 -0
- package/lib/scene/animation.js +1425 -0
- package/lib/scene/area-light-tables.d.ts +32 -0
- package/lib/scene/area-light-tables.js +89 -0
- package/lib/scene/assets.d.ts +375 -0
- package/lib/scene/assets.js +736 -0
- package/lib/scene/background.d.ts +238 -0
- package/lib/scene/background.js +470 -0
- package/lib/scene/baked-light.d.ts +60 -0
- package/lib/scene/baked-light.js +300 -0
- package/lib/scene/builtin-environments.d.ts +36 -0
- package/lib/scene/builtin-environments.js +43 -0
- package/lib/scene/chunk-rows.d.ts +81 -0
- package/lib/scene/chunk-rows.js +146 -0
- package/lib/scene/color.d.ts +22 -0
- package/lib/scene/color.js +45 -0
- package/lib/scene/derived-cache.d.ts +139 -0
- package/lib/scene/derived-cache.js +547 -0
- package/lib/scene/downloads.d.ts +2 -0
- package/lib/scene/downloads.js +371 -0
- package/lib/scene/effects.d.ts +193 -0
- package/lib/scene/effects.js +476 -0
- package/lib/scene/environment-file.d.ts +22 -0
- package/lib/scene/environment-file.js +81 -0
- package/lib/scene/environment.d.ts +57 -0
- package/lib/scene/environment.js +131 -0
- package/lib/scene/fake-call-values.d.ts +8 -0
- package/lib/scene/fake-call-values.js +51 -0
- package/lib/scene/feature-draws.d.ts +169 -0
- package/lib/scene/feature-draws.js +269 -0
- package/lib/scene/feature-effects.d.ts +42 -0
- package/lib/scene/feature-effects.js +155 -0
- package/lib/scene/feature-host.d.ts +129 -0
- package/lib/scene/feature-host.js +299 -0
- package/lib/scene/feature-instances.d.ts +130 -0
- package/lib/scene/feature-instances.js +326 -0
- package/lib/scene/features.d.ts +412 -0
- package/lib/scene/features.js +550 -0
- package/lib/scene/file-limits.d.ts +70 -0
- package/lib/scene/file-limits.js +224 -0
- package/lib/scene/fog.d.ts +101 -0
- package/lib/scene/fog.js +148 -0
- package/lib/scene/frame-cameras.d.ts +175 -0
- package/lib/scene/frame-cameras.js +492 -0
- package/lib/scene/gltf-animation.d.ts +129 -0
- package/lib/scene/gltf-animation.js +887 -0
- package/lib/scene/gltf-draco.d.ts +9 -0
- package/lib/scene/gltf-draco.js +224 -0
- package/lib/scene/gltf-extensions.d.ts +31 -0
- package/lib/scene/gltf-extensions.js +92 -0
- package/lib/scene/gltf-json.d.ts +49 -0
- package/lib/scene/gltf-json.js +94 -0
- package/lib/scene/gltf-math.d.ts +16 -0
- package/lib/scene/gltf-math.js +129 -0
- package/lib/scene/gltf-meshopt.d.ts +3 -0
- package/lib/scene/gltf-meshopt.js +48 -0
- package/lib/scene/gltf-parse.d.ts +600 -0
- package/lib/scene/gltf-parse.js +1854 -0
- package/lib/scene/gltf.d.ts +189 -0
- package/lib/scene/gltf.js +1589 -0
- package/lib/scene/grade-table.d.ts +9 -0
- package/lib/scene/grade-table.js +23 -0
- package/lib/scene/grade-task.d.ts +12 -0
- package/lib/scene/grade-task.js +11 -0
- package/lib/scene/grading.d.ts +110 -0
- package/lib/scene/grading.js +142 -0
- package/lib/scene/half-float.d.ts +4 -0
- package/lib/scene/half-float.js +42 -0
- package/lib/scene/ktx2-cache.d.ts +32 -0
- package/lib/scene/ktx2-cache.js +62 -0
- package/lib/scene/ktx2-file.d.ts +57 -0
- package/lib/scene/ktx2-file.js +207 -0
- package/lib/scene/ktx2-transcode.d.ts +15 -0
- package/lib/scene/ktx2-transcode.js +94 -0
- package/lib/scene/ktx2.d.ts +42 -0
- package/lib/scene/ktx2.js +179 -0
- package/lib/scene/lens.d.ts +61 -0
- package/lib/scene/lens.js +101 -0
- package/lib/scene/level-meshopt.d.ts +20 -0
- package/lib/scene/level-meshopt.js +122 -0
- package/lib/scene/level-pieces.d.ts +24 -0
- package/lib/scene/level-pieces.js +138 -0
- package/lib/scene/level-rule.d.ts +120 -0
- package/lib/scene/level-rule.js +130 -0
- package/lib/scene/level-words.d.ts +19 -0
- package/lib/scene/level-words.js +34 -0
- package/lib/scene/levels-task.d.ts +51 -0
- package/lib/scene/levels-task.js +132 -0
- package/lib/scene/light-images.d.ts +36 -0
- package/lib/scene/light-images.js +88 -0
- package/lib/scene/light-probes.d.ts +240 -0
- package/lib/scene/light-probes.js +644 -0
- package/lib/scene/lines.d.ts +188 -0
- package/lib/scene/lines.js +257 -0
- package/lib/scene/lut-files.d.ts +41 -0
- package/lib/scene/lut-files.js +399 -0
- package/lib/scene/lut.d.ts +55 -0
- package/lib/scene/lut.js +47 -0
- package/lib/scene/memory.d.ts +72 -0
- package/lib/scene/memory.js +159 -0
- package/lib/scene/mesh-arrays.d.ts +110 -0
- package/lib/scene/mesh-arrays.js +701 -0
- package/lib/scene/mesh-levels.d.ts +10 -0
- package/lib/scene/mesh-levels.js +52 -0
- package/lib/scene/namespaces.d.ts +125 -0
- package/lib/scene/namespaces.js +313 -0
- package/lib/scene/panorama-files.d.ts +71 -0
- package/lib/scene/panorama-files.js +1103 -0
- package/lib/scene/panorama.d.ts +23 -0
- package/lib/scene/panorama.js +108 -0
- package/lib/scene/particles.d.ts +452 -0
- package/lib/scene/particles.js +814 -0
- package/lib/scene/pass-reads.d.ts +70 -0
- package/lib/scene/pass-reads.js +220 -0
- package/lib/scene/picks.d.ts +69 -0
- package/lib/scene/picks.js +208 -0
- package/lib/scene/pointer-events.d.ts +202 -0
- package/lib/scene/pointer-events.js +500 -0
- package/lib/scene/post.d.ts +567 -0
- package/lib/scene/post.js +928 -0
- package/lib/scene/prefab.d.ts +109 -0
- package/lib/scene/prefab.js +166 -0
- package/lib/scene/probes.d.ts +71 -0
- package/lib/scene/probes.js +169 -0
- package/lib/scene/property-animation.d.ts +160 -0
- package/lib/scene/property-animation.js +276 -0
- package/lib/scene/queries.d.ts +176 -0
- package/lib/scene/queries.js +393 -0
- package/lib/scene/render.d.ts +487 -0
- package/lib/scene/render.js +829 -0
- package/lib/scene/resources.d.ts +1598 -0
- package/lib/scene/resources.js +2843 -0
- package/lib/scene/rotation.d.ts +6 -0
- package/lib/scene/rotation.js +12 -0
- package/lib/scene/scene.d.ts +1858 -0
- package/lib/scene/scene.js +4680 -0
- package/lib/scene/serial-loads.d.ts +29 -0
- package/lib/scene/serial-loads.js +68 -0
- package/lib/scene/shader-preloads.d.ts +74 -0
- package/lib/scene/shader-preloads.js +116 -0
- package/lib/scene/shader-templates.d.ts +60 -0
- package/lib/scene/shader-templates.js +156 -0
- package/lib/scene/sprites.d.ts +262 -0
- package/lib/scene/sprites.js +292 -0
- package/lib/scene/stale-calls-scenario.d.ts +20 -0
- package/lib/scene/stale-calls-scenario.js +175 -0
- package/lib/scene/textures.d.ts +323 -0
- package/lib/scene/textures.js +953 -0
- package/lib/scene/time-of-day.d.ts +145 -0
- package/lib/scene/time-of-day.js +644 -0
- package/lib/scene/unmarked-writes.d.ts +118 -0
- package/lib/scene/unmarked-writes.js +283 -0
- package/lib/scene/unread-extensions-scenario.d.ts +6 -0
- package/lib/scene/unread-extensions-scenario.js +26 -0
- package/lib/scene/vertex-draws.d.ts +82 -0
- package/lib/scene/vertex-draws.js +85 -0
- package/lib/scene/wgsl-uniforms.d.ts +167 -0
- package/lib/scene/wgsl-uniforms.js +12 -0
- package/lib/shader-artifact.json +1 -0
- package/lib/shared/await-later.d.ts +5 -0
- package/lib/shared/await-later.js +10 -0
- package/lib/shared/control.d.ts +94 -0
- package/lib/shared/control.js +150 -0
- package/lib/shared/core-sources.d.ts +2 -0
- package/lib/shared/core-sources.js +7 -0
- package/lib/shared/core.d.ts +1254 -0
- package/lib/shared/core.js +381 -0
- package/lib/shared/counter.d.ts +52 -0
- package/lib/shared/counter.js +55 -0
- package/lib/shared/dev.d.ts +8 -0
- package/lib/shared/dev.js +13 -0
- package/lib/shared/feature-stats.d.ts +16 -0
- package/lib/shared/feature-stats.js +27 -0
- package/lib/shared/frame-image.d.ts +13 -0
- package/lib/shared/frame-image.js +32 -0
- package/lib/shared/gpu-clock.d.ts +14 -0
- package/lib/shared/gpu-clock.js +38 -0
- package/lib/shared/gpu-counter.d.ts +12 -0
- package/lib/shared/gpu-counter.js +15 -0
- package/lib/shared/gpu-scope.d.ts +14 -0
- package/lib/shared/gpu-scope.js +104 -0
- package/lib/shared/helper-workers.d.ts +4 -0
- package/lib/shared/helper-workers.js +23 -0
- package/lib/shared/images.d.ts +255 -0
- package/lib/shared/images.js +450 -0
- package/lib/shared/import-once.d.ts +6 -0
- package/lib/shared/import-once.js +19 -0
- package/lib/shared/key-codes.d.ts +2 -0
- package/lib/shared/key-codes.js +69 -0
- package/lib/shared/labels.d.ts +94 -0
- package/lib/shared/labels.js +172 -0
- package/lib/shared/memory-area.d.ts +6 -0
- package/lib/shared/memory-area.js +21 -0
- package/lib/shared/memory-figure.d.ts +14 -0
- package/lib/shared/memory-figure.js +18 -0
- package/lib/shared/memory-views.d.ts +48 -0
- package/lib/shared/memory-views.js +90 -0
- package/lib/shared/metrics.d.ts +353 -0
- package/lib/shared/metrics.js +799 -0
- package/lib/shared/page-measurement.d.ts +9 -0
- package/lib/shared/page-measurement.js +37 -0
- package/lib/shared/phase.d.ts +17 -0
- package/lib/shared/phase.js +20 -0
- package/lib/shared/policy.d.ts +20 -0
- package/lib/shared/policy.js +46 -0
- package/lib/shared/recording.d.ts +100 -0
- package/lib/shared/recording.js +378 -0
- package/lib/shared/role.d.ts +10 -0
- package/lib/shared/role.js +13 -0
- package/lib/shared/run-task.d.ts +39 -0
- package/lib/shared/run-task.js +69 -0
- package/lib/shared/slot.d.ts +218 -0
- package/lib/shared/slot.js +221 -0
- package/lib/shared/software.d.ts +24 -0
- package/lib/shared/software.js +22 -0
- package/lib/shared/stats.d.ts +62 -0
- package/lib/shared/stats.js +86 -0
- package/lib/shared/task-failure.d.ts +24 -0
- package/lib/shared/task-failure.js +36 -0
- package/lib/shared/task-host.d.ts +42 -0
- package/lib/shared/task-host.js +60 -0
- package/lib/shared/task-load-error.d.ts +10 -0
- package/lib/shared/task-load-error.js +13 -0
- package/lib/shared/task-modules.d.ts +2 -0
- package/lib/shared/task-modules.js +8 -0
- package/lib/shared/task-pending.d.ts +24 -0
- package/lib/shared/task-pending.js +101 -0
- package/lib/shared/tasks.d.ts +54 -0
- package/lib/shared/tasks.js +426 -0
- package/lib/shared/tier.d.ts +7 -0
- package/lib/shared/tier.js +3 -0
- package/lib/shared/version.d.ts +72 -0
- package/lib/shared/version.js +103 -0
- package/lib/shared/videos.d.ts +15 -0
- package/lib/shared/videos.js +11 -0
- package/lib/shared/wake.d.ts +38 -0
- package/lib/shared/wake.js +76 -0
- package/lib/shared/wasm-limits.d.ts +13 -0
- package/lib/shared/wasm-limits.js +75 -0
- package/lib/shared/wasm.d.ts +34 -0
- package/lib/shared/wasm.js +151 -0
- package/lib/shared/webkit.d.ts +33 -0
- package/lib/shared/webkit.js +59 -0
- package/lib/shared/wgsl-updates.d.ts +9 -0
- package/lib/shared/wgsl-updates.js +8 -0
- package/lib/shared/worker-start.d.ts +56 -0
- package/lib/shared/worker-start.js +186 -0
- package/lib/sketch/clock.d.ts +61 -0
- package/lib/sketch/clock.js +98 -0
- package/lib/sketch/define-sketch.d.ts +269 -0
- package/lib/sketch/define-sketch.js +103 -0
- package/lib/sketch/input-off-scenario.d.ts +7 -0
- package/lib/sketch/input-off-scenario.js +24 -0
- package/lib/sketch/input-off.d.ts +16 -0
- package/lib/sketch/input-off.js +38 -0
- package/lib/sketch/input.d.ts +243 -0
- package/lib/sketch/input.js +554 -0
- package/lib/sketch/preset-check.d.ts +42 -0
- package/lib/sketch/preset-check.js +120 -0
- package/lib/sketch/quality.d.ts +392 -0
- package/lib/sketch/quality.js +355 -0
- package/lib/sketch/random.d.ts +13 -0
- package/lib/sketch/random.js +25 -0
- package/lib/sketch/runner.d.ts +574 -0
- package/lib/sketch/runner.js +2159 -0
- package/lib/sketch/ui.d.ts +94 -0
- package/lib/sketch/ui.js +391 -0
- package/lib/stats.d.ts +4 -0
- package/lib/stats.js +8 -0
- package/lib/workers/drawing-host.d.ts +24 -0
- package/lib/workers/drawing-host.js +48 -0
- package/lib/workers/gltf-worker.d.ts +35 -0
- package/lib/workers/gltf-worker.js +210 -0
- package/lib/workers/job-worker.d.ts +1 -0
- package/lib/workers/job-worker.js +102 -0
- package/lib/workers/panorama-worker.d.ts +15 -0
- package/lib/workers/panorama-worker.js +21 -0
- package/lib/workers/probe-worker.d.ts +34 -0
- package/lib/workers/probe-worker.js +58 -0
- package/lib/workers/protocol.d.ts +377 -0
- package/lib/workers/protocol.js +57 -0
- package/lib/workers/render-worker.d.ts +1 -0
- package/lib/workers/render-worker.js +103 -0
- package/lib/workers/sketch-worker.d.ts +1 -0
- package/lib/workers/sketch-worker.js +295 -0
- package/lib/workers/task-worker.d.ts +1 -0
- package/lib/workers/task-worker.js +5 -0
- package/lib/workers/tasks.d.ts +65 -0
- package/lib/workers/tasks.js +85 -0
- package/package.json +106 -5
- package/vendor/basis/LICENSE +201 -0
- package/vendor/basis/LICENSE-zstd +30 -0
- package/vendor/basis/NOTICE +15 -0
- package/vendor/basis/basis_transcoder.d.mts +36 -0
- package/vendor/basis/basis_transcoder.mjs +2 -0
- package/vendor/basis/basis_transcoder.wasm +0 -0
- package/vendor/draco/LICENSE +252 -0
- package/vendor/draco/draco_decoder_gltf.wasm +0 -0
- package/vendor/draco/draco_wasm_wrapper_gltf.d.ts +71 -0
- package/vendor/draco/draco_wasm_wrapper_gltf.js +116 -0
- package/vendor/ltc/LICENSE +31 -0
- package/vendor/ltc/area-light-tables.bin +0 -0
- package/vendor/meshopt/LICENSE.md +21 -0
- package/vendor/meshopt/meshopt_clusterizer.wasm +0 -0
- package/vendor/meshopt/meshopt_decoder.wasm +0 -0
- package/vendor/meshopt/meshopt_encoder.wasm +0 -0
- package/vendor/meshopt/meshopt_simplifier.wasm +0 -0
|
@@ -0,0 +1,1254 @@
|
|
|
1
|
+
import type { CoreErrors } from '../errors/core-failure.js';
|
|
2
|
+
import { EngineError } from '../errors/engine-error.js';
|
|
3
|
+
export type Build = 'threaded' | 'single';
|
|
4
|
+
export interface InitOptions {
|
|
5
|
+
module: WebAssembly.Module;
|
|
6
|
+
memory?: WebAssembly.Memory;
|
|
7
|
+
/** Stack size for this thread in bytes, a multiple of 64 KB. */
|
|
8
|
+
thread_stack_size?: number;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* The functions of the generated module that the engine calls. Functions that can fail return an
|
|
12
|
+
* error code (0 for success), or 0 in place of a handle, id or address; `lastErrorCode` and
|
|
13
|
+
* `lastErrorDetail` then describe the failure.
|
|
14
|
+
*/
|
|
15
|
+
export interface CoreGlue extends CoreErrors {
|
|
16
|
+
/** Instantiates the core; returns the instance's exports, which include its memory. */
|
|
17
|
+
initSync(options: InitOptions): {
|
|
18
|
+
memory?: WebAssembly.Memory;
|
|
19
|
+
};
|
|
20
|
+
engineVersion(): string;
|
|
21
|
+
isThreadedBuild(): boolean;
|
|
22
|
+
initEngine(jobWorkers: number, expectedObjects: number, maxBatches: number, commands: number, storageBindingBytes: number, webgl2: boolean, capabilities: number, maxTextureSize: number, sceneColor: number, antialias: number, transparent: boolean, cellCulling: boolean, depthPrepass: boolean, prepassColor: number, skinning: number, indexInstances: boolean, largeWorld: boolean, gpuOcclusion: boolean, directDraws: boolean, shadowDepthBits: number): number;
|
|
23
|
+
/**
|
|
24
|
+
* Counts the frame chunk that job worker `index` held when its loop failed as done and as
|
|
25
|
+
* failed, so the sketch thread's wait for it ends. The worker's own thread calls it.
|
|
26
|
+
*/
|
|
27
|
+
jobWorkerFailed(index: number): void;
|
|
28
|
+
/**
|
|
29
|
+
* Serves the job system on a job worker until it returns: `JOB_LOOP_STOPPED` at stop,
|
|
30
|
+
* `JOB_LOOP_CALLED` for a task call, `JOB_LOOP_YIELDED` to let the thread run its own tasks.
|
|
31
|
+
*/
|
|
32
|
+
jobWorkerLoop(index: number): number;
|
|
33
|
+
/** Asks a job worker to leave the job loop for one more task. */
|
|
34
|
+
callJobWorker(index: number): void;
|
|
35
|
+
/** Ends one task call of a job worker. */
|
|
36
|
+
jobWorkerCallDone(index: number): void;
|
|
37
|
+
/** The task calls of a job worker that it has not finished. */
|
|
38
|
+
jobWorkerCalls(index: number): number;
|
|
39
|
+
/** Whole microseconds a job worker spent on work since the last call for it; resets its total. */
|
|
40
|
+
takeJobBusyUs(index: number): number;
|
|
41
|
+
/** Whole microseconds the sketch thread spent in parallel loops it handed out since the last call. */
|
|
42
|
+
takeHandedUs(): number;
|
|
43
|
+
/** Starts or stops the timing of the parallel loops that the sketch thread hands out. */
|
|
44
|
+
timeHandedLoops(on: boolean): void;
|
|
45
|
+
/** The address of the job system's wake word, or 0 before it exists. */
|
|
46
|
+
jobsWakeAddress(): number;
|
|
47
|
+
/** The address of the job system's stop flag, a byte, or 0 before it exists. */
|
|
48
|
+
jobsStopAddress(): number;
|
|
49
|
+
/** The address of the job system's yield word, or 0 before it exists. */
|
|
50
|
+
jobsYieldAddress(): number;
|
|
51
|
+
/** Drops the engine, so this instance can create another; the page's own instance needs it. */
|
|
52
|
+
destroyEngine(): void;
|
|
53
|
+
/**
|
|
54
|
+
* Drops the instance that the threaded build's glue keeps for this thread, so the browser can
|
|
55
|
+
* free its memory, and the next start makes a new instance. The single-threaded build lacks it:
|
|
56
|
+
* the page keeps that instance for the next engine.
|
|
57
|
+
*/
|
|
58
|
+
releaseInstance?(): void;
|
|
59
|
+
/**
|
|
60
|
+
* Forgets the views of the shared memory that the threaded build's glue keeps for passing
|
|
61
|
+
* strings and arrays, which it makes again at its next use. Without it, a view made before the
|
|
62
|
+
* memory grew keeps the old buffer object. The single-threaded build lacks it: its memory is
|
|
63
|
+
* not shared, and a growth empties the old views.
|
|
64
|
+
*/
|
|
65
|
+
dropMemoryViews?(): void;
|
|
66
|
+
sceneCapacity(): number;
|
|
67
|
+
/**
|
|
68
|
+
* The address of a 32-bit count that grows each time arrays that views read move without the
|
|
69
|
+
* memory growing, as when the scene grows. Views made at another count are stale.
|
|
70
|
+
*/
|
|
71
|
+
arraysMovedAddress(): number;
|
|
72
|
+
sceneArrays(field: number): number;
|
|
73
|
+
reserveObject(): number;
|
|
74
|
+
/**
|
|
75
|
+
* Reserves `count` object slots at once, or none, and returns the address of their handles:
|
|
76
|
+
* `count` 32-bit words, valid until the next call that reserves staging words.
|
|
77
|
+
*/
|
|
78
|
+
reserveObjects(count: number): number;
|
|
79
|
+
/**
|
|
80
|
+
* Copies a world matrix into the 12 numbers at `worldMatrixAddress`, with the translation from
|
|
81
|
+
* the origin in 64 bits.
|
|
82
|
+
*/
|
|
83
|
+
worldMatrix(handle: number): number;
|
|
84
|
+
/** The address of the 64-bit floats that `worldMatrix` writes. */
|
|
85
|
+
worldMatrixAddress(): number;
|
|
86
|
+
/**
|
|
87
|
+
* The address of the call values (`CALL_VALUE_COUNT` 64-bit floats): the numbers that
|
|
88
|
+
* TypeScript writes, from the first on, before it calls a setter that takes numbers.
|
|
89
|
+
*/
|
|
90
|
+
callValues(): number;
|
|
91
|
+
commandRing(field: number): number;
|
|
92
|
+
/**
|
|
93
|
+
* Wakes the job workers at the start of a frame when the previous frame gave them work, so they
|
|
94
|
+
* are ready when this frame's parallel work comes.
|
|
95
|
+
*/
|
|
96
|
+
prepareJobs(): void;
|
|
97
|
+
/**
|
|
98
|
+
* Starts a frame, with the sketch time in whole milliseconds and the step since the frame
|
|
99
|
+
* before in whole microseconds, and applies every pending command.
|
|
100
|
+
*/
|
|
101
|
+
beginFrame(frame: number, timeMs: number, stepUs: number): number;
|
|
102
|
+
updateTransforms(): number;
|
|
103
|
+
/**
|
|
104
|
+
* Updates the objects that the sketch moved after `updateTransforms`, and the objects below
|
|
105
|
+
* them, so culling and drawing see the moves in the same frame.
|
|
106
|
+
*/
|
|
107
|
+
updateLateTransforms(): number;
|
|
108
|
+
updateBatches(frame: number): number;
|
|
109
|
+
/**
|
|
110
|
+
* The times that an object or an instance row entered a new grid cell while every cell was in
|
|
111
|
+
* use, so that it went into the origin's cell instead.
|
|
112
|
+
*/
|
|
113
|
+
cellsRefused(): number;
|
|
114
|
+
/**
|
|
115
|
+
* Finds the frame's visible objects on the job workers, where the path culls on the CPU. `scale`
|
|
116
|
+
* is the frame's render scale in thousandths, which picks levels of detail, and `built` the
|
|
117
|
+
* newest frame that the thread that draws drew with every pipeline built, as for `recordFrame`.
|
|
118
|
+
*/
|
|
119
|
+
cullFrame(frame: number, width: number, height: number, scale: number, built: number): number;
|
|
120
|
+
/**
|
|
121
|
+
* Records the frame's draw list. `built` is the newest frame that the thread that draws drew
|
|
122
|
+
* with every pipeline built.
|
|
123
|
+
*/
|
|
124
|
+
recordFrame(frame: number, width: number, height: number, scale: number, built: number): number;
|
|
125
|
+
/**
|
|
126
|
+
* The index list entries that a recorded frame draws, where the path culls on the CPU, or
|
|
127
|
+
* `CORE_NOT_COUNTED` where the GPU culls.
|
|
128
|
+
*/
|
|
129
|
+
visibleEntries(frame: number): number;
|
|
130
|
+
/**
|
|
131
|
+
* The sources inside the camera's frustum that occlusion culling hid: in a recorded frame, where
|
|
132
|
+
* the path culls on the CPU, or in the newest frame whose counts the GPU sent back, where GPU
|
|
133
|
+
* occlusion culling runs. `CORE_NOT_COUNTED` where neither runs.
|
|
134
|
+
*/
|
|
135
|
+
occludedEntries(frame: number): number;
|
|
136
|
+
/**
|
|
137
|
+
* The ranges of cluster-tree patches that a recorded frame's camera view draws, where the path
|
|
138
|
+
* walks the trees, or `CORE_NOT_COUNTED` where the GPU picks the patches itself. Zero where
|
|
139
|
+
* the view draws the trees' whole levels.
|
|
140
|
+
*/
|
|
141
|
+
patchRanges(frame: number): number;
|
|
142
|
+
/** True when the last recorded frame rebuilt its draw tables after a structure change. */
|
|
143
|
+
drawTablesRebuilt(): boolean;
|
|
144
|
+
/** True when the last recorded frame's still view has accumulated enough frames to rest. */
|
|
145
|
+
frameRests(): boolean;
|
|
146
|
+
/**
|
|
147
|
+
* Says whether a still view may accumulate its frames and rest. The image tests and hold mode
|
|
148
|
+
* turn the accumulation off, so a captured frame is the frame the sketch drew once.
|
|
149
|
+
*/
|
|
150
|
+
setStillEnabled(enabled: boolean): void;
|
|
151
|
+
resetGpu(): number;
|
|
152
|
+
drawListAddress(parity: number): number;
|
|
153
|
+
drawListWords(frame: number): number;
|
|
154
|
+
/**
|
|
155
|
+
* Fills the memory register with what each table and allocator holds, and returns the address
|
|
156
|
+
* of three numbers per area: the bytes that it reserves, uses and has used at most. A
|
|
157
|
+
* development build asks for a report while the stats overlay shows its card.
|
|
158
|
+
*/
|
|
159
|
+
updateMemoryRegister(): number;
|
|
160
|
+
/** The number of memory areas that `updateMemoryRegister` reports. */
|
|
161
|
+
/** Notes the shared memory's declared maximum in MiB, ahead of `initEngine`. */
|
|
162
|
+
setMemoryMaximum(mib: number): void;
|
|
163
|
+
/** For a test: fills the heap until only its reserve's reach is left. */
|
|
164
|
+
fillHeapForTest(): void;
|
|
165
|
+
memoryAreas(): number;
|
|
166
|
+
/**
|
|
167
|
+
* Makes room for `points` points of debug lines, keeping those written since the last recorded
|
|
168
|
+
* frame. The arrays can move, so their addresses must be read again.
|
|
169
|
+
*/
|
|
170
|
+
reserveDebugLines(points: number): number;
|
|
171
|
+
/** The address of a debug line array: `DEBUG_LINE_FIELD_POSITIONS` or `..._COLORS`. */
|
|
172
|
+
debugLineArrays(field: number): number;
|
|
173
|
+
/** Draws the first `points` points of the debug line arrays in the next recorded frame. */
|
|
174
|
+
drawDebugLines(points: number): number;
|
|
175
|
+
/**
|
|
176
|
+
* Creates an instance batch. With `rowValues`, each row has a color and four values of its
|
|
177
|
+
* own, which shaders read.
|
|
178
|
+
*/
|
|
179
|
+
createBatch(capacity: number, dynamic: boolean, rowValues: boolean, mesh: number, material: number): number;
|
|
180
|
+
/**
|
|
181
|
+
* Creates one part of a model as a batch: `part` places the mesh in the space of each row, 12
|
|
182
|
+
* numbers of a 3 × 4 matrix by rows. With a `source` batch other than 0, it reads that batch's
|
|
183
|
+
* rows and takes its capacity, dynamic flag and row values.
|
|
184
|
+
*/
|
|
185
|
+
createBatchPart(source: number, capacity: number, dynamic: boolean, rowValues: boolean, mesh: number, material: number, part: Float32Array): number;
|
|
186
|
+
/**
|
|
187
|
+
* Creates a sprite batch of a quad mesh and a sprite material, with an atlas of `columns` by
|
|
188
|
+
* `rows` frames, sized in CSS pixels of the screen with `screenSize`. `points` marks a batch of
|
|
189
|
+
* points, which a raycast's point threshold reaches.
|
|
190
|
+
*/
|
|
191
|
+
createSpriteBatch(capacity: number, dynamic: boolean, mesh: number, material: number, columns: number, rows: number, screenSize: boolean, points: boolean): number;
|
|
192
|
+
/**
|
|
193
|
+
* Creates a line batch of `points` points of the segment mesh and a line material, joined as
|
|
194
|
+
* `mode` says (a `LINE_MODE_*` code), `width` CSS pixels wide, or world units with `worldUnits`.
|
|
195
|
+
*/
|
|
196
|
+
createLineBatch(points: number, dynamic: boolean, mesh: number, material: number, mode: number, width: number, worldUnits: boolean, dashed: boolean): number;
|
|
197
|
+
/**
|
|
198
|
+
* Sets the width of a line batch's segments to the first call value, which updates every
|
|
199
|
+
* segment again.
|
|
200
|
+
*/
|
|
201
|
+
setLineWidth(batch: number): number;
|
|
202
|
+
destroyBatch(batch: number, frame: number): number;
|
|
203
|
+
/**
|
|
204
|
+
* Places a batch's origin, which its rows are relative to, at the first three call values, and
|
|
205
|
+
* marks every row for update.
|
|
206
|
+
*/
|
|
207
|
+
setBatchOrigin(batch: number): number;
|
|
208
|
+
batchArrays(batch: number, field: number): number;
|
|
209
|
+
setBatchActiveCount(batch: number, count: number): number;
|
|
210
|
+
/** Keeps every row of a batch whatever a view's frustum says, or culls its rows again. */
|
|
211
|
+
setBatchUnculled(batch: number, unculled: boolean): number;
|
|
212
|
+
/** Gives every row of a batch a bounding sphere of `radius` meters around its own origin. */
|
|
213
|
+
/** Sets a batch's own bounding radius, which the next frame reads from the call values. */
|
|
214
|
+
setBatchBounds(batch: number): number;
|
|
215
|
+
/**
|
|
216
|
+
* Sets the distances between which every row of a batch draws, from the first two call values:
|
|
217
|
+
* its start distance and its end distance.
|
|
218
|
+
*/
|
|
219
|
+
setBatchDrawRange(batch: number): number;
|
|
220
|
+
/**
|
|
221
|
+
* Makes a batch's array of row distance ranges, two floats per row, if it has none, and
|
|
222
|
+
* returns its address. The rows start with the batch's range.
|
|
223
|
+
*/
|
|
224
|
+
reserveBatchRanges(batch: number): number;
|
|
225
|
+
/** Sets the layer mask of every row of a batch, as an unsigned 32-bit number. */
|
|
226
|
+
setBatchLayers(batch: number, mask: number): number;
|
|
227
|
+
/** Sets whether every row of a batch casts and receives shadows, from an object's flag bits. */
|
|
228
|
+
setBatchShadows(batch: number, bits: number): number;
|
|
229
|
+
markBatchDirty(batch: number, start: number, count: number): number;
|
|
230
|
+
/** Makes room for `slots` chunk places in a cloud of the chunked row table. */
|
|
231
|
+
splatChunksReserve(cloud: number, slots: number): number;
|
|
232
|
+
/** Stores `count` rows at a chunk of a cloud, replacing what the slot held. */
|
|
233
|
+
splatChunkPrepare(cloud: number, slot: number, count: number): number;
|
|
234
|
+
/** The address of one of a chunk's arrays, or 0 for a slot or field that holds none. */
|
|
235
|
+
splatChunkField(cloud: number, slot: number, field: number): number;
|
|
236
|
+
/** Forgets a chunk, so its slot draws nothing. */
|
|
237
|
+
splatChunkDestroy(cloud: number, slot: number): number;
|
|
238
|
+
/** Forgets every chunk of a cloud. */
|
|
239
|
+
splatChunksDrop(cloud: number): number;
|
|
240
|
+
/** Makes room for `slots` chosen counts of the pack's plan and returns their address. */
|
|
241
|
+
splatPackPlan(slots: number): number;
|
|
242
|
+
/** Packs a cloud's chosen prefixes into a batch's rows, in the core's memory. */
|
|
243
|
+
splatPack(batch: number, cloud: number, slots: number): number;
|
|
244
|
+
/** The number of rows that the last pack wrote. */
|
|
245
|
+
splatPackedCount(): number;
|
|
246
|
+
memoryEpoch(): number;
|
|
247
|
+
/**
|
|
248
|
+
* The address of a query array (`QUERY_INPUT`, `QUERY_HITS` or `QUERY_RAYS`), or with
|
|
249
|
+
* `QUERY_HIT_CAPACITY` the hit records the hit array holds. The hit array moves when it grows.
|
|
250
|
+
*/
|
|
251
|
+
queryArrays(field: number): number;
|
|
252
|
+
/** Makes room for a batch of rays and their hit records. */
|
|
253
|
+
reserveRays(count: number): number;
|
|
254
|
+
/**
|
|
255
|
+
* Casts the ray of the input array: its closest hit, whether it hits anything, or every hit
|
|
256
|
+
* (`QUERY_CLOSEST`, `QUERY_ANY` or `QUERY_ALL`). Returns the hit count, or `QUERY_FAILED`.
|
|
257
|
+
*/
|
|
258
|
+
raycast(kind: number, layers: number): number;
|
|
259
|
+
/** Casts the first `count` rays of the ray array on the job workers; returns the hit count. */
|
|
260
|
+
raycastBatch(count: number, layers: number): number;
|
|
261
|
+
/**
|
|
262
|
+
* Finds the objects with a triangle in the input's sphere or box (`QUERY_SPHERE` or
|
|
263
|
+
* `QUERY_BOX`); returns their count, or `QUERY_FAILED`.
|
|
264
|
+
*/
|
|
265
|
+
overlap(kind: number, layers: number): number;
|
|
266
|
+
/**
|
|
267
|
+
* Asks the next recorded frame to answer which object draws at a point of the canvas: `x` and
|
|
268
|
+
* `y` in CSS pixels, `ring` the read of the pick ring, and `slot` the control slot that the
|
|
269
|
+
* read raises. Returns 0 when the frame will draw the pick, and another number when a pick
|
|
270
|
+
* already waits.
|
|
271
|
+
*/
|
|
272
|
+
requestPick(x: number, y: number, ring: number, slot: number): number;
|
|
273
|
+
/** The address in engine memory of the pick ring's results, four words for each read. */
|
|
274
|
+
pickResultAddress(): number;
|
|
275
|
+
/** True when GPU picking finds every source that the scene draws. */
|
|
276
|
+
pickCoversScene(): number;
|
|
277
|
+
/**
|
|
278
|
+
* The engine frame that recorded the landed pick, or -1 when no pick has landed. A ray from that
|
|
279
|
+
* frame's camera finds the texture coordinates of its pixel.
|
|
280
|
+
*/
|
|
281
|
+
pickFrame(): number;
|
|
282
|
+
/**
|
|
283
|
+
* Asks the next recorded frame to copy a region of the compute pass at view place `place` back
|
|
284
|
+
* into engine memory: `x` and `y` texels from the texture's stored first row, `width` and
|
|
285
|
+
* `height` its size, `layer` its array layer, `ring` the read of the readback ring, and `slot`
|
|
286
|
+
* the control slot that rises once the bytes land. Returns 0 when another read waits, the
|
|
287
|
+
* target's format code plus one when the frame copies the region, or -1 as a 32-bit number when
|
|
288
|
+
* the pass or the region cannot be read.
|
|
289
|
+
*/
|
|
290
|
+
requestPassRead(place: number, x: number, y: number, width: number, height: number, layer: number, ring: number, slot: number): number;
|
|
291
|
+
/** The address in engine memory of the readback ring's regions, one after another. */
|
|
292
|
+
passReadAddress(): number;
|
|
293
|
+
/** The bytes of one readback ring region. */
|
|
294
|
+
passReadStride(): number;
|
|
295
|
+
/** The object or batch id that a pick's source key names, or 0 for a key that names nothing. */
|
|
296
|
+
pickTargetId(key: number): number;
|
|
297
|
+
/** The instance row that a pick's source key names, or 0 for an object of the scene. */
|
|
298
|
+
pickTargetRow(key: number): number;
|
|
299
|
+
/**
|
|
300
|
+
* A mesh from a geometry generator: `shape` is one of the `SHAPE_*` codes, and the numbers after
|
|
301
|
+
* it are the arguments of the three.js class's constructor, in their order. Returns the mesh id.
|
|
302
|
+
*/
|
|
303
|
+
createShapeMesh(shape: number, a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number): number;
|
|
304
|
+
/**
|
|
305
|
+
* Makes room for a mesh's arrays in engine memory, `words` 32-bit words, and returns their
|
|
306
|
+
* address; `createMeshFromArrays` reads and frees them.
|
|
307
|
+
*/
|
|
308
|
+
meshArrays(words: number): number;
|
|
309
|
+
/**
|
|
310
|
+
* A mesh from the arrays at `meshArrays`'s address, as `layout` (the `MESH_ARRAYS_*` bits)
|
|
311
|
+
* describes them. `types` gives each array's type in its attribute's field of a vertex format.
|
|
312
|
+
* With `targets` morph targets, the arrays that `morph` (the `MORPH_*` bits) names follow the
|
|
313
|
+
* indices. Returns the mesh id.
|
|
314
|
+
*/
|
|
315
|
+
createMeshFromArrays(vertices: number, indices: number, layout: number, types: number, targets: number, morph: number): number;
|
|
316
|
+
/**
|
|
317
|
+
* A mesh that draws the live mesh `base`'s vertices with the `indices` triangles at `meshArrays`'s
|
|
318
|
+
* address, which the call frees. Returns the mesh id, or 0 when the base cannot share its
|
|
319
|
+
* vertices: it is split into parts, or joints or morph targets pose them.
|
|
320
|
+
*/
|
|
321
|
+
createLevelMesh(base: number, indices: number): number;
|
|
322
|
+
/**
|
|
323
|
+
* A level of the live mesh `base` that holds its own copy of the vertices that the `indices`
|
|
324
|
+
* triangles at `meshArrays`'s address name, which the call frees: the level of a split base,
|
|
325
|
+
* which cannot share its vertices. Returns the mesh id, or 0 on failure.
|
|
326
|
+
*/
|
|
327
|
+
createLevelCopy(base: number, indices: number): number;
|
|
328
|
+
/**
|
|
329
|
+
* A level of the live mesh `base`, which is split into parts, that draws the base's own
|
|
330
|
+
* vertices from triangles at `meshArrays`'s address, which the call frees, and copies only the
|
|
331
|
+
* vertices of the triangles that span the parts' seams. The words hold the level's `count`
|
|
332
|
+
* pieces and `groups` groups, as `setMeshPieces` lays them out, then its `indices` indices. A
|
|
333
|
+
* level with pieces
|
|
334
|
+
* keeps its triangles' order, which must come part by part as the parts draw them; one whose
|
|
335
|
+
* triangles do not draws them part by part, without pieces. Returns the mesh id, or 0 on
|
|
336
|
+
* failure.
|
|
337
|
+
*/
|
|
338
|
+
createSplitLevel(base: number, count: number, groups: number, indices: number): number;
|
|
339
|
+
/**
|
|
340
|
+
* Writes part `part` of the live mesh `mesh`'s vertices and triangles as the level planner
|
|
341
|
+
* reads them, and returns their address, or 0 for a mesh or part that does not exist: the
|
|
342
|
+
* mesh's part count, vertex count, index count and vertex format, the part's vertex and index
|
|
343
|
+
* counts, the mesh vertex that each of the part's vertices holds, then the floats of the
|
|
344
|
+
* position, the normal, the first and second texture coordinates, the tangent and the color
|
|
345
|
+
* where the format has them, attribute after attribute, then the part's indices in the mesh's
|
|
346
|
+
* numbering. The next call that uses the same words overwrites them.
|
|
347
|
+
*/
|
|
348
|
+
meshPlanningPart(mesh: number, part: number): number;
|
|
349
|
+
/**
|
|
350
|
+
* Gives the live mesh `mesh` the `indices` triangles at `meshArrays`'s address in place of the
|
|
351
|
+
* ones it draws, which the call frees. 0 when the mesh takes them. A mesh that is split into
|
|
352
|
+
* parts, morphed, a level of its own or drawn as lines returns its fault code, and keeps the
|
|
353
|
+
* triangles it had.
|
|
354
|
+
*/
|
|
355
|
+
replaceMeshIndices(mesh: number, indices: number): number;
|
|
356
|
+
/**
|
|
357
|
+
* Gives a mesh the tree over its triangles that a model file stores, from the first `bytes`
|
|
358
|
+
* bytes at `meshArrays`'s address. 1 when the mesh takes it, 0 when the tree does not fit the
|
|
359
|
+
* mesh, which then gets a tree of its own on the first query.
|
|
360
|
+
*/
|
|
361
|
+
setMeshBvh(mesh: number, bytes: number): number;
|
|
362
|
+
/**
|
|
363
|
+
* Gives a mesh a blocker of its own for software occlusion culling: `vertices` corners of three
|
|
364
|
+
* floats, then `indices` indices, at `meshArrays`'s address. 1 when the mesh takes it.
|
|
365
|
+
*/
|
|
366
|
+
setMeshBlocker(mesh: number, vertices: number, indices: number): number;
|
|
367
|
+
/**
|
|
368
|
+
* Gives a mesh the tree of cluster patches that a model file stores: `patches` records of
|
|
369
|
+
* eight words each, four floats of a bounding sphere and four integers of a run of indices,
|
|
370
|
+
* a parent and an error, then `indices` indices, at `meshArrays`'s address. `root` names the
|
|
371
|
+
* patch that the walk starts at. 1 when the mesh takes the tree, 0 when the tree does not
|
|
372
|
+
* cover the mesh's vertices.
|
|
373
|
+
*/
|
|
374
|
+
setMeshPatches(mesh: number, patches: number, indices: number, root: number): number;
|
|
375
|
+
/**
|
|
376
|
+
* Gives a mesh `count` pieces of its triangle list, at `meshArrays`'s address: nine words each,
|
|
377
|
+
* the piece's triangles, then four floats of its bounding sphere and four of its cone of
|
|
378
|
+
* facings. The pieces follow the list's order. `groups` groups of the pieces follow them, nine
|
|
379
|
+
* words each in the same layout, in the list's order, and the groups of each piece hold its
|
|
380
|
+
* triangles and no other. 1 when the mesh takes them, 0 when they do not fit its list, which
|
|
381
|
+
* then draws whole. Groups that do not split the pieces leave the pieces without groups.
|
|
382
|
+
*/
|
|
383
|
+
setMeshPieces(mesh: number, count: number, groups: number): number;
|
|
384
|
+
/**
|
|
385
|
+
* Gives a mesh `count` pieces over a triangle list of their own: the pieces and their `groups`
|
|
386
|
+
* groups as `setMeshPieces` lays them out, then `indices` indices that hold the mesh's
|
|
387
|
+
* triangles in piece order, at
|
|
388
|
+
* `meshArrays`'s address. The mesh keeps its own list. A mesh of several parts takes a list
|
|
389
|
+
* whose triangles come part by part, as `createSplitLevel` draws them. A list that the mesh held
|
|
390
|
+
* before goes, with its pieces. 1 when the mesh takes them, 0 when it cannot: a list in another
|
|
391
|
+
* order.
|
|
392
|
+
*/
|
|
393
|
+
setMeshPieceList(mesh: number, count: number, groups: number, indices: number): number;
|
|
394
|
+
/**
|
|
395
|
+
* Appends one band to a mesh's tree of cluster patches: `patches` records of eight words each,
|
|
396
|
+
* four floats of a bounding sphere and four integers of a run of indices, a parent and an
|
|
397
|
+
* error, then `indices` indices, at `meshArrays`'s address. A run's first index counts from the
|
|
398
|
+
* band's own indices, and a parent names a patch that the tree already holds. 1 when the mesh
|
|
399
|
+
* takes the band, 0 when it has no tree, and the code of the rule that refused it otherwise.
|
|
400
|
+
*/
|
|
401
|
+
appendMeshPatches(mesh: number, patches: number, indices: number): number;
|
|
402
|
+
meshRadius(mesh: number): number;
|
|
403
|
+
/** One axis of a mesh's bounding center, 0 for x, 1 for y and 2 for z, or 0 for an unknown mesh. */
|
|
404
|
+
meshCenter(mesh: number, axis: number): number;
|
|
405
|
+
/** A mesh's vertex count, or 0 for an unknown mesh. */
|
|
406
|
+
meshVertexCount(mesh: number): number;
|
|
407
|
+
/** A mesh's vertex format: its attribute bits and type fields, or 0 for an unknown mesh. */
|
|
408
|
+
meshFormat(mesh: number): number;
|
|
409
|
+
/**
|
|
410
|
+
* Turns a rectangle's rows over in place, so that its last row comes first, at `address` in the
|
|
411
|
+
* engine's memory: a canvas counts rows from its top, and a texture from the bottom. Each row is
|
|
412
|
+
* `rowBytes` long and there are `height` of them. The caller writes the rectangle first.
|
|
413
|
+
*/
|
|
414
|
+
turnRows(address: number, rowBytes: number, height: number): void;
|
|
415
|
+
/**
|
|
416
|
+
* Writes new values of the attribute at vertex shader `location` into vertices `start` to
|
|
417
|
+
* `start + count` of a mesh, from `meshArrays`'s words: `components` values per vertex in the
|
|
418
|
+
* attribute's own type. The next frame uploads the bytes that changed. Returns the status.
|
|
419
|
+
*/
|
|
420
|
+
updateVertices(mesh: number, location: number, components: number, start: number, count: number): number;
|
|
421
|
+
/**
|
|
422
|
+
* Destroys `count` meshes whose ids `meshArrays`'s words hold: their data goes at once, and the
|
|
423
|
+
* next frame gives their ids to later meshes once no object or batch names them.
|
|
424
|
+
*/
|
|
425
|
+
destroyMeshes(count: number): number;
|
|
426
|
+
/**
|
|
427
|
+
* Gives mesh `base` `count` lower levels of detail, whose mesh ids, then whose switch values as
|
|
428
|
+
* 32-bit floats, then whose switch measures, `meshArrays`'s words hold, from the most detailed
|
|
429
|
+
* down. The low 16 bits of `flags`, from the base level, mark the levels that hand over in a
|
|
430
|
+
* fading band, and the high 16 bits the levels whose switch is a measured error. With `count`
|
|
431
|
+
* 0 the mesh loses its levels. 0 for success.
|
|
432
|
+
*/
|
|
433
|
+
setMeshLevels(base: number, count: number, flags: number): number;
|
|
434
|
+
/**
|
|
435
|
+
* Watches the levels that the views pick for the mesh `base`, from the frame that the renderer
|
|
436
|
+
* began last on, in place of a watch that the mesh had. The loader of a model with staged levels
|
|
437
|
+
* waits on the watch before it downloads the next stage.
|
|
438
|
+
*/
|
|
439
|
+
watchStageLevels(base: number): number;
|
|
440
|
+
/**
|
|
441
|
+
* The levels of the mesh `base` that a view picked since its watch began, one bit each, bit 0
|
|
442
|
+
* for the mesh itself. 0 for a mesh that no loader watches.
|
|
443
|
+
*/
|
|
444
|
+
stageLevelPicks(base: number): number;
|
|
445
|
+
/**
|
|
446
|
+
* The bands of the mesh `base`'s tree of cluster patches that a view drew since its watch
|
|
447
|
+
* began, one bit each, bit 0 for the band that the file holds. 0 for a mesh that no loader
|
|
448
|
+
* watches.
|
|
449
|
+
*/
|
|
450
|
+
stageBandPicks(base: number): number;
|
|
451
|
+
/** The frames that drew the mesh `base` since its watch began, 0 for a mesh that no watch has. */
|
|
452
|
+
stageFrames(base: number): number;
|
|
453
|
+
/**
|
|
454
|
+
* Stops watching the levels that the views pick for the mesh `base`, so the frames that follow
|
|
455
|
+
* pay nothing while no loader waits on it. The loader watches the mesh again when its camera
|
|
456
|
+
* could want another stage.
|
|
457
|
+
*/
|
|
458
|
+
unwatchStageLevels(base: number): number;
|
|
459
|
+
/** The GPU bytes of every mesh: the mesh pages' buffers and the texture of morph deltas. */
|
|
460
|
+
meshMemoryBytes(): number;
|
|
461
|
+
/**
|
|
462
|
+
* A material with a linear color and opacity. `shading` is one of the `SHADING_*` codes, and
|
|
463
|
+
* `features` holds `MATERIAL_FEATURE_*` bits, fixed from then on, as is the depth bias: three.js's
|
|
464
|
+
* polygon offset units and factor. `swayDistance` is the distance from the camera out to which a
|
|
465
|
+
* custom material's vertex offset moves, in meters, or 0 for every distance. A `singleLayer` of
|
|
466
|
+
* 1 draws the material's blended surfaces in the camera's one-sample layer while the scene has
|
|
467
|
+
* more than one sample, and 0 draws them in the transparent pass.
|
|
468
|
+
*/
|
|
469
|
+
createMaterial(shading: number, features: number, r: number, g: number, b: number, a: number, biasConstant: number, biasSlope: number, swayDistance: number, singleLayer: number): number;
|
|
470
|
+
/**
|
|
471
|
+
* Changes one value of a material, `param` (a `MATERIAL_PARAM_*` code), and keeps the others.
|
|
472
|
+
* The value takes as many of the first three call values as it has numbers. Colors are linear.
|
|
473
|
+
*/
|
|
474
|
+
setMaterialValue(material: number, param: number): number;
|
|
475
|
+
/**
|
|
476
|
+
* Changes `count` custom values of a material, the first call values, from float `at` of its row
|
|
477
|
+
* of custom values: a custom material's uniform, as the shader compiler placed it.
|
|
478
|
+
*/
|
|
479
|
+
setMaterialValues(material: number, at: number, count: number): number;
|
|
480
|
+
/**
|
|
481
|
+
* Gives a material a map in `slot` (a `MAP_SLOT_*` code): a texture's handle, or none with 0.
|
|
482
|
+
* The shader reads it at the second texture coordinates when `secondUv` is 1.
|
|
483
|
+
*/
|
|
484
|
+
setMaterialMap(material: number, slot: number, texture: number, secondUv: number): number;
|
|
485
|
+
/**
|
|
486
|
+
* Changes how far a standard material's displacement map moves vertices: `scale` for the
|
|
487
|
+
* map's white, plus `bias` for every vertex, in the mesh's units.
|
|
488
|
+
*/
|
|
489
|
+
setMaterialDisplacement(material: number, scale: number, bias: number): number;
|
|
490
|
+
/** Destroys a material: objects that still use it draw nothing. */
|
|
491
|
+
destroyMaterial(material: number): number;
|
|
492
|
+
/**
|
|
493
|
+
* A texture with no texels yet, in `depth` layers of a texture array. `format` is a `FORMAT_*` code.
|
|
494
|
+
* `mipmaps` has the GPU make the mip levels; without it, `levels` is the mip levels that its data
|
|
495
|
+
* brings. The rest set its sampler with `ADDRESS_*` and `FILTER_*` codes. Returns its handle.
|
|
496
|
+
*/
|
|
497
|
+
createTexture(width: number, height: number, depth: number, format: number, mipmaps: boolean, levels: number, wrapU: number, wrapV: number, magFilter: number, minFilter: number, mipFilter: number, anisotropy: number): number;
|
|
498
|
+
/**
|
|
499
|
+
* A 3D texture with no texels yet, in a `FORMAT_*` code of linear 8-bit color or half floats,
|
|
500
|
+
* read with a linear filter and clamped at its edges. Returns its handle.
|
|
501
|
+
*/
|
|
502
|
+
createVolumeTexture(width: number, height: number, depth: number, format: number): number;
|
|
503
|
+
/**
|
|
504
|
+
* A cube texture with faces of `size` texels a side and `levels` mip levels, in a `FORMAT_*`
|
|
505
|
+
* code of shared-exponent floats or half floats, whose texels bring every level, each level's
|
|
506
|
+
* six faces in turn, or of 8-bit sRGB texels and one level, whose faces come from six images.
|
|
507
|
+
* It has no texels yet. Returns its handle.
|
|
508
|
+
*/
|
|
509
|
+
createCubeTexture(size: number, levels: number, format: number): number;
|
|
510
|
+
/**
|
|
511
|
+
* Gives a texture an image, uploaded with the `TEXTURE_PREMULTIPLIED_ALPHA` flag or 0, and
|
|
512
|
+
* returns the image's id for the thread that draws. An image of another size resizes it.
|
|
513
|
+
*/
|
|
514
|
+
setTextureImage(texture: number, width: number, height: number, flags: number): number;
|
|
515
|
+
/**
|
|
516
|
+
* Gives a cube texture of 8-bit texels six images, one for each face from +X to -Z, uploaded
|
|
517
|
+
* with the `TEXTURE_PREMULTIPLIED_ALPHA` flag or 0, and returns the first image's id for the
|
|
518
|
+
* thread that draws. The other five take the ids after it.
|
|
519
|
+
*/
|
|
520
|
+
setCubeImages(texture: number, flags: number): number;
|
|
521
|
+
/**
|
|
522
|
+
* Gives a cube texture of shared-exponent floats texels that a generator makes on the GPU, all
|
|
523
|
+
* in the first frame after the generator arrives, and returns the generator's id among the
|
|
524
|
+
* images' ids, for the thread that draws.
|
|
525
|
+
*/
|
|
526
|
+
generateTexture(texture: number): number;
|
|
527
|
+
/**
|
|
528
|
+
* Makes a generated cube texture a map of the scene's sky, which fills once its generator ran
|
|
529
|
+
* and refreshes over the next frames, one of its `stages` stages a frame, whenever the sky
|
|
530
|
+
* changes. Before the scene's first sky background, the maps show the sky of the background's
|
|
531
|
+
* values, which TypeScript writes first.
|
|
532
|
+
*/
|
|
533
|
+
addSkyMap(texture: number, stages: number, capture: number): number;
|
|
534
|
+
/**
|
|
535
|
+
* Sets reflection probe `slot`, adding it when the slot is empty: its box from the low corner to
|
|
536
|
+
* the high one, the point it captures from, its blend and intensity, its flags
|
|
537
|
+
* (`REFLECTION_PROBE_*`), the layers its captures draw and its priority. The first probe adds
|
|
538
|
+
* the six capture views, and fails when the view list has no room for them.
|
|
539
|
+
*/
|
|
540
|
+
setReflectionProbe(slot: number, lowX: number, lowY: number, lowZ: number, highX: number, highY: number, highZ: number, captureX: number, captureY: number, captureZ: number, blend: number, intensity: number, flags: number, layers: number, priority: number): number;
|
|
541
|
+
/** Removes reflection probe `slot`. The last probe takes the capture views with it. */
|
|
542
|
+
removeReflectionProbe(slot: number): number;
|
|
543
|
+
/** Makes reflection probe `slot` capture the scene again, in a frame soon. */
|
|
544
|
+
captureReflectionProbe(slot: number): number;
|
|
545
|
+
/** Sets the texels across each reflection probe map's largest level, 128, 256 or 512. */
|
|
546
|
+
setProbeSize(size: number): number;
|
|
547
|
+
/** 1 while a reflection probe waits for its first capture, and 0 otherwise. */
|
|
548
|
+
probesWaiting(): number;
|
|
549
|
+
/** 1 while a light's picture waits for its texture's texels to be copied, and 0 otherwise. */
|
|
550
|
+
lightImagesWaiting(): number;
|
|
551
|
+
/**
|
|
552
|
+
* Returns the image id under which TypeScript sends the generator that runs reflection probes'
|
|
553
|
+
* filters, once.
|
|
554
|
+
*/
|
|
555
|
+
probeGenerator(): number;
|
|
556
|
+
/**
|
|
557
|
+
* Gives a texture texels of `width` x `height` in each layer, and returns the address that
|
|
558
|
+
* TypeScript writes them at: tightly packed rows, of blocks in a compressed format, layer after
|
|
559
|
+
* layer, and level after level for a texture whose data brings its mip levels.
|
|
560
|
+
*/
|
|
561
|
+
setTextureData(texture: number, width: number, height: number): number;
|
|
562
|
+
/**
|
|
563
|
+
* Gives a rectangle of a texture new texels: `width` x `height` at (`x`, `y`) in its first
|
|
564
|
+
* layer's level 0, and returns the address that TypeScript writes them at: tightly packed rows,
|
|
565
|
+
* the rectangle's bottom row first. Returns 0 while the texture still waits for all its texels,
|
|
566
|
+
* because a rectangle cannot fill the rest. The rectangle uploads within the frame's budget and
|
|
567
|
+
* makes its mip levels again.
|
|
568
|
+
*/
|
|
569
|
+
setTextureRegion(texture: number, x: number, y: number, width: number, height: number): number;
|
|
570
|
+
destroyTexture(texture: number, frame: number): number;
|
|
571
|
+
/**
|
|
572
|
+
* Tells the texture store what the thread that draws has: images received, and frames taken.
|
|
573
|
+
* Then the store fits the textures to their memory budget.
|
|
574
|
+
*/
|
|
575
|
+
syncTextures(imagesArrived: number, framesTaken: number): void;
|
|
576
|
+
/** Notes that the page can load a texture's texels again from its file, at any mip level. */
|
|
577
|
+
setTextureReloadable(texture: number): number;
|
|
578
|
+
/**
|
|
579
|
+
* The next texture whose texels the page should load again, or 0 for none. `textureStat` gives
|
|
580
|
+
* the levels to leave out and the hidden texture that takes the texels.
|
|
581
|
+
*/
|
|
582
|
+
takeTextureReload(): number;
|
|
583
|
+
/** Stops a texture's load again for good: it keeps the levels it holds and drops no more. */
|
|
584
|
+
failTextureReload(texture: number): void;
|
|
585
|
+
/** One of the texture store's numbers, by `TEXTURE_STAT_*` code; `texture` names one texture. */
|
|
586
|
+
textureStat(field: number, texture: number): number;
|
|
587
|
+
/** The array layer that a map of the texture samples now. */
|
|
588
|
+
textureLayer(texture: number): number;
|
|
589
|
+
/** Changes one of the texture store's settings, by `TEXTURE_OPTION_*` code. */
|
|
590
|
+
setTextureOption(option: number, value: number): number;
|
|
591
|
+
/**
|
|
592
|
+
* Sets up the shadow atlas of point and spot lights: its most tiles, the texels on each side of
|
|
593
|
+
* each, and whether point lights cast shadows.
|
|
594
|
+
*/
|
|
595
|
+
setShadowTiles(tiles: number, size: number, pointShadows: boolean): number;
|
|
596
|
+
/**
|
|
597
|
+
* Draws from a camera object with a perspective lens and the objects on `layers`. The call
|
|
598
|
+
* values give the vertical field of view in degrees, the near distance and the far distance.
|
|
599
|
+
* With `target` set to `CAMERA_TARGET_SHADOWS`, the camera fits the main directional light's
|
|
600
|
+
* shadow cascades instead.
|
|
601
|
+
*/
|
|
602
|
+
setPerspectiveCamera(camera: number, layers: number, target: number): number;
|
|
603
|
+
/**
|
|
604
|
+
* Draws from a camera object with an orthographic lens and the objects on `layers`. The call
|
|
605
|
+
* values give the view's height and width, where a width of 0 follows the canvas's aspect
|
|
606
|
+
* ratio, how far right of and above the camera's axis it is centered, and the near and far
|
|
607
|
+
* distances. `target` acts as in `setPerspectiveCamera`.
|
|
608
|
+
*/
|
|
609
|
+
setOrthographicCamera(camera: number, layers: number, target: number): number;
|
|
610
|
+
/** Fits the main directional light's shadow cascades to the drawing camera's view again. */
|
|
611
|
+
clearShadowCamera(): number;
|
|
612
|
+
/**
|
|
613
|
+
* Adds a pass of `kind` (`PASS_KIND_SCENE` or `PASS_KIND_REFLECTION`) named `pass`, which draws
|
|
614
|
+
* into a target named `target` and reads the targets named in `reads`, one per line. With
|
|
615
|
+
* `clears`, the target clears to the exposed linear color `r`, `g`, `b`, `a`. A scene pass has
|
|
616
|
+
* a `width` x `height` target, or with a width of 0, one of `scale` of the render size each
|
|
617
|
+
* way. A reflection pass mirrors across the plane through the point (`px`, `py`, `pz`) with
|
|
618
|
+
* normal (`nx`, `ny`, `nz`), its target takes `scale` of the render size each way, or the share
|
|
619
|
+
* that `setReflectionScale` sets for 0, and it draws the objects on `layers`, or the camera's
|
|
620
|
+
* for -1. Either draws in one frame of every `every`. Returns the view's place from 1, or 0 on
|
|
621
|
+
* failure: the render graph's errors (1502 to 1505), whose message `renderGraphMessage` gives.
|
|
622
|
+
*/
|
|
623
|
+
addPass(kind: number, pass: string, target: string, reads: string, width: number, height: number, clears: boolean, r: number, g: number, b: number, a: number, scale: number, every: number, layers: number, nx: number, ny: number, nz: number, px: number, py: number, pz: number): number;
|
|
624
|
+
/**
|
|
625
|
+
* Adds a full-screen pass named `pass`, which draws the compiled WGSL of render pipeline
|
|
626
|
+
* template `template` over the whole of a target named `target`: of `width` x `height`
|
|
627
|
+
* texels, or with a width of 0, of `scale` of the render size each way. It reads the input
|
|
628
|
+
* image `source` (`PASS_SOURCE_*`), the scene's depth with the flag `EFFECT_DEPTH`, the
|
|
629
|
+
* uniforms at `effectValues` and the textures at `effectTextures`, in one frame of every
|
|
630
|
+
* `every`. A fragment form of a compute pass draws a target of `format`, a draw list format
|
|
631
|
+
* code, or of the scene's views' format with 0. Returns the view's place from 1, or 0 on
|
|
632
|
+
* failure, as `addPass` does.
|
|
633
|
+
*/
|
|
634
|
+
addFullscreenPass(pass: string, target: string, width: number, height: number, scale: number, every: number, template: number, flags: number, source: number, fallback: number, history: number, layers: number, steps: number, format: number): number;
|
|
635
|
+
/**
|
|
636
|
+
* Adds a compute pass named `pass`, which runs the compiled WGSL of compute pipeline template
|
|
637
|
+
* `template` over the whole of a target named `target`: of `width` x `height` texels, or with
|
|
638
|
+
* a width of 0, of `scale` of the render size each way. It writes the target as a storage
|
|
639
|
+
* texture of `format`, a draw list format code, over a workgroup of `workgroup` invocations
|
|
640
|
+
* packed one axis to a byte, and dispatches `counts` workgroups along each axis packed the same
|
|
641
|
+
* way, or covers the target when every count is 0. It reads its uniforms at `effectValues` and
|
|
642
|
+
* its textures at `effectTextures`, in one frame of every `every`. Returns the view's place
|
|
643
|
+
* from 1, or 0 on failure, as `addPass` does.
|
|
644
|
+
*/
|
|
645
|
+
addComputePass(pass: string, target: string, width: number, height: number, scale: number, every: number, template: number, format: number, workgroup: number, counts: number, afterScene: number, countsBuffer: number, instancesBuffer: number, instancesBytes: number, history: number, layers: number, steps: number): number;
|
|
646
|
+
/**
|
|
647
|
+
* Gives the compute pass of view place `place` the uniforms at `effectValues` and the textures
|
|
648
|
+
* at `effectTextures`, from the next frame on. Returns 0, or the render graph's code for a
|
|
649
|
+
* texture that closes a loop of passes.
|
|
650
|
+
*/
|
|
651
|
+
setComputeValues(place: number): number;
|
|
652
|
+
/** Gives the compute pass of view place `place` the runs that a frame records. */
|
|
653
|
+
setComputeSteps(place: number, steps: number): number;
|
|
654
|
+
/** Asks the compute pass of view place `place` to clear both states before its next run. */
|
|
655
|
+
resetComputeState(place: number): number;
|
|
656
|
+
/**
|
|
657
|
+
* Adds a view that draws the scene into a rectangle of the canvas, which the first four call
|
|
658
|
+
* values name: its left and top, then its width and height, as fractions of the canvas. The
|
|
659
|
+
* view's lens goes to it through `setPerspectiveCamera` or `setOrthographicCamera` with
|
|
660
|
+
* `CAMERA_TARGET_PASS_VIEWS` plus its place. Returns the view's place from 1, or 0 when the
|
|
661
|
+
* frame draws the most views already.
|
|
662
|
+
*/
|
|
663
|
+
addSceneView(): number;
|
|
664
|
+
/**
|
|
665
|
+
* Sets the rectangle of the view at `place` from the first four call values, as `addSceneView`
|
|
666
|
+
* gives them.
|
|
667
|
+
*/
|
|
668
|
+
setSceneViewRect(place: number): number;
|
|
669
|
+
/** Removes the view at `place`, from the next frame on. */
|
|
670
|
+
removeSceneView(place: number): number;
|
|
671
|
+
/**
|
|
672
|
+
* Gives the full-screen pass of a view place the uniforms at `effectValues` and the textures at
|
|
673
|
+
* `effectTextures`, from the next frame on, or fails with the render graph's error.
|
|
674
|
+
*/
|
|
675
|
+
setPassValues(place: number): number;
|
|
676
|
+
/**
|
|
677
|
+
* Sets the share of the render size each way that the targets of reflection passes without a
|
|
678
|
+
* scale of their own take: the first call value.
|
|
679
|
+
*/
|
|
680
|
+
setReflectionScale(): number;
|
|
681
|
+
/** Sets the most area lights that one frame shades. */
|
|
682
|
+
setAreaLightCap(cap: number): number;
|
|
683
|
+
/** Fits the light clusters' depth slices to the depth that the frame before measured, or not. */
|
|
684
|
+
setLightFit(enabled: number): number;
|
|
685
|
+
/** Makes room for the area lights' tables; the address of their half floats, or 0. */
|
|
686
|
+
areaLightTables(): number;
|
|
687
|
+
/** Marks the area lights' tables as written, so frames light with area lights. */
|
|
688
|
+
finishAreaLightTables(): number;
|
|
689
|
+
/**
|
|
690
|
+
* Makes room for a light's image of `size` texels a side; the address of its half floats, or 0.
|
|
691
|
+
*/
|
|
692
|
+
lightImage(light: number, size: number): number;
|
|
693
|
+
/** Marks a light's image as written, so frames show it. */
|
|
694
|
+
finishLightImage(light: number): number;
|
|
695
|
+
/**
|
|
696
|
+
* Gives a light an image of `size` texels a side whose texels come from a texture, which a
|
|
697
|
+
* frame copies into the image once the texture's texels are on the GPU.
|
|
698
|
+
*/
|
|
699
|
+
setLightMapTexture(light: number, texture: number, size: number): number;
|
|
700
|
+
/** Takes a light's image away. */
|
|
701
|
+
removeLightImage(light: number): number;
|
|
702
|
+
/** Draws the physical sky from its tables while `on`, else the analytic sky in its place. */
|
|
703
|
+
setPhysicalSky(on: boolean): number;
|
|
704
|
+
/** Sets the steps of each ray of the sky's volumetric cloud tier: 0 draws the flat layer. */
|
|
705
|
+
setCloudSteps(steps: number): number;
|
|
706
|
+
/** Removes the scene pass of a view place, or fails with the render graph's error. */
|
|
707
|
+
removeScenePass(place: number): number;
|
|
708
|
+
/** Switches the scene pass of a view place on or off. */
|
|
709
|
+
setScenePassEnabled(place: number, enabled: boolean): number;
|
|
710
|
+
/** Gives the scene pass of a view place a cadence of one frame in `every`, without a compile. */
|
|
711
|
+
setScenePassEvery(place: number, every: number): number;
|
|
712
|
+
/** Creates a texture that shows the target of a scene pass's view place; 0 on failure. */
|
|
713
|
+
createPassTexture(place: number, width: number, height: number): number;
|
|
714
|
+
/** The message of the last render graph error, with the passes and resources by name. */
|
|
715
|
+
renderGraphMessage(): string;
|
|
716
|
+
/** The render graph of the passes as they are now, as Graphviz DOT text. */
|
|
717
|
+
renderGraphDot(): string;
|
|
718
|
+
/**
|
|
719
|
+
* Turns the development probe of the two-step pass on. Its answers stay zero until it is on, so
|
|
720
|
+
* nothing reads them unless the page asked.
|
|
721
|
+
*/
|
|
722
|
+
setDebugTwoStep(on: boolean): void;
|
|
723
|
+
/**
|
|
724
|
+
* The two-step answers of the last recorded frame, as the address of five 32-bit words: whether
|
|
725
|
+
* the frame wanted the two-step pass, declared it, had its second step built and drew it, then
|
|
726
|
+
* the render scale in thousandths. Zero until `setDebugTwoStep(true)`.
|
|
727
|
+
*/
|
|
728
|
+
debugTwoStep(): number;
|
|
729
|
+
/**
|
|
730
|
+
* Adds a row to the light table for the object `handle`; `kind` is one of the `LIGHT_KIND_*`
|
|
731
|
+
* codes. Returns the light's id.
|
|
732
|
+
*/
|
|
733
|
+
createLight(handle: number, kind: number): number;
|
|
734
|
+
/** Adds a light for object `handle` with the kind, colors and numbers of `light`. */
|
|
735
|
+
copyLight(light: number, handle: number): number;
|
|
736
|
+
destroyLight(light: number): number;
|
|
737
|
+
/**
|
|
738
|
+
* Sets one of a light's linear colors to the first three call values: `which` is one of the
|
|
739
|
+
* `LIGHT_COLOR_*` codes.
|
|
740
|
+
*/
|
|
741
|
+
setLightColor(light: number, which: number): number;
|
|
742
|
+
/**
|
|
743
|
+
* Sets one of a light's numbers to the first call value: `which` is one of the `LIGHT_VALUE_*`
|
|
744
|
+
* codes.
|
|
745
|
+
*/
|
|
746
|
+
setLightValue(light: number, which: number): number;
|
|
747
|
+
/**
|
|
748
|
+
* Sets the object whose shadow a directional light draws into a tile of its own to `object`, or
|
|
749
|
+
* stops with 0.
|
|
750
|
+
*/
|
|
751
|
+
setLightHero(light: number, object: number): number;
|
|
752
|
+
/**
|
|
753
|
+
* Sets the number that each light created from now on starts with to the first call value:
|
|
754
|
+
* `which` is one of the `LIGHT_VALUE_*` codes.
|
|
755
|
+
*/
|
|
756
|
+
setLightDefault(which: number): number;
|
|
757
|
+
/** Sets the linear background color to the first three call values. */
|
|
758
|
+
setBackground(): number;
|
|
759
|
+
/**
|
|
760
|
+
* The address of the block of post-processing values (`POST_VALUE_*`), 32-bit floats that
|
|
761
|
+
* TypeScript writes before it calls `setOutput`, `setBloom`, `setAo`, `setLut`, `setVignette`,
|
|
762
|
+
* `setSharpen` or `setOutline`.
|
|
763
|
+
*/
|
|
764
|
+
postValues(): number;
|
|
765
|
+
/** The tone mapping, by code, and the exposure from the post-processing values, from the next frame on. */
|
|
766
|
+
setOutput(toneMapping: number): number;
|
|
767
|
+
/** Turns bloom on with the post-processing values' intensity, threshold, blend and weights, or off. */
|
|
768
|
+
setBloom(on: boolean): number;
|
|
769
|
+
/** The texels on the short side of bloom's base, and the governor's halvings of it, from the next frame on. */
|
|
770
|
+
setBloomChain(size: number, halvings: number): number;
|
|
771
|
+
/** Turns ambient occlusion on with the post-processing values' settings, or off. */
|
|
772
|
+
setAo(on: boolean): number;
|
|
773
|
+
/**
|
|
774
|
+
* The size of ambient occlusion's targets, in thousandths of the render size each way, from
|
|
775
|
+
* the next frame on: 0 draws none.
|
|
776
|
+
*/
|
|
777
|
+
setAoScale(thousandths: number): number;
|
|
778
|
+
/**
|
|
779
|
+
* The steps of each march of the main directional light's contact shadows, from the next frame
|
|
780
|
+
* on: 0 draws none.
|
|
781
|
+
*/
|
|
782
|
+
setContactSteps(steps: number): number;
|
|
783
|
+
/** Turns depth of field on with the post-processing values' lens, blur and focus, or off. */
|
|
784
|
+
setDof(on: boolean): number;
|
|
785
|
+
/** Turns screen-space reflections on with the post-processing values' settings, or off. */
|
|
786
|
+
setSsr(on: boolean): number;
|
|
787
|
+
/**
|
|
788
|
+
* 1 when the frame recorded last draws with what the frame before it drew, as screen-space
|
|
789
|
+
* reflections read the frame before's color, else 0.
|
|
790
|
+
*/
|
|
791
|
+
readsLastFrame(): number;
|
|
792
|
+
/**
|
|
793
|
+
* The size of screen-space reflections' grid in thousandths of the render size, and the most
|
|
794
|
+
* steps of their march, from the next frame on: a size of 0 draws none.
|
|
795
|
+
*/
|
|
796
|
+
setSsrQuality(thousandths: number, steps: number): number;
|
|
797
|
+
/**
|
|
798
|
+
* The rays that each texel of screen-space bounce light casts, from the next frame on: 0 draws
|
|
799
|
+
* none.
|
|
800
|
+
*/
|
|
801
|
+
setBounceRays(rays: number): number;
|
|
802
|
+
/** The taps of depth of field's gather, from the next frame on: 0 draws none. */
|
|
803
|
+
setDofTaps(taps: number): number;
|
|
804
|
+
/**
|
|
805
|
+
* The generation of the plan's texture list, which changes when a pass change makes the frame
|
|
806
|
+
* make some targets again. A frame's list recorded under an older generation names textures
|
|
807
|
+
* that a later plan replaced, so the thread that draws skips it.
|
|
808
|
+
*/
|
|
809
|
+
planEpoch(): number;
|
|
810
|
+
/** The taps of each step of the subsurface blur, from the next frame on: 0 draws none. */
|
|
811
|
+
setSubsurfaceTaps(taps: number): number;
|
|
812
|
+
/**
|
|
813
|
+
* Temporal anti-aliasing, a prototype: the history's share in thousandths, 0 for off, whether
|
|
814
|
+
* the camera takes its sub-pixel offsets, whether the cheaper path draws, the bits of the
|
|
815
|
+
* transparency signals that lower the history, and whether the history follows the exposure.
|
|
816
|
+
*/
|
|
817
|
+
setTaa(feedback: number, jitter: boolean, phone: boolean, reactive: number, exposure: boolean): number;
|
|
818
|
+
/** Turns automatic exposure on with the post-processing values' settings, or off. */
|
|
819
|
+
setAutoExposure(on: boolean): number;
|
|
820
|
+
/** The meter of automatic exposure, from the next frame on: 0 the downsample, 1 the histogram. */
|
|
821
|
+
setExposureMeter(meter: number): number;
|
|
822
|
+
/**
|
|
823
|
+
* Makes a particle system of `capacity` records for the object in scene slot `slot`, and
|
|
824
|
+
* returns its id, or 0 when the scene holds the most systems already.
|
|
825
|
+
*/
|
|
826
|
+
createParticles(slot: number, capacity: number): number;
|
|
827
|
+
/** Forgets a particle system and frees its records. */
|
|
828
|
+
destroyParticles(id: number): number;
|
|
829
|
+
/** The address of a particle system's records in engine memory, or 0 for no such system. */
|
|
830
|
+
particleRecords(id: number): number;
|
|
831
|
+
/** The address of a particle system's values, then its frame's values, or 0 for none. */
|
|
832
|
+
particleValues(id: number): number;
|
|
833
|
+
/** Marks `count` records of a particle system from `start` on for the next frame's upload. */
|
|
834
|
+
markParticleRecords(id: number, start: number, count: number): number;
|
|
835
|
+
/** Marks a particle system's values for the next frame's upload. */
|
|
836
|
+
markParticleValues(id: number): number;
|
|
837
|
+
/**
|
|
838
|
+
* Makes room for `count` births' parameters in the core's block, nine numbers per birth, and
|
|
839
|
+
* returns the address of its first number, or 0 when the memory cannot grow.
|
|
840
|
+
*/
|
|
841
|
+
particleRecordBlock(count: number): number;
|
|
842
|
+
/**
|
|
843
|
+
* Writes the records of `count` births from the core's block, from record `first` on, and
|
|
844
|
+
* marks them for the next frame's upload.
|
|
845
|
+
*/
|
|
846
|
+
writeParticleRecords(id: number, count: number, first: number): number;
|
|
847
|
+
/**
|
|
848
|
+
* Takes whole `seconds` off the birth times of records `from` to `to`, which moves the time
|
|
849
|
+
* that they count from, and marks them.
|
|
850
|
+
*/
|
|
851
|
+
shiftParticleRecords(id: number, from: number, to: number, seconds: number): number;
|
|
852
|
+
/**
|
|
853
|
+
* Makes room for a particle system's emitter block of `floats` numbers and returns its
|
|
854
|
+
* address, or 0 for no such system or when the memory cannot grow.
|
|
855
|
+
*/
|
|
856
|
+
particleEmitterBlock(id: number, floats: number): number;
|
|
857
|
+
/** Reads an emitter's settings from its block and starts its births and its time base again. */
|
|
858
|
+
configureParticleEmitter(id: number): number;
|
|
859
|
+
/** The address of a system's sub-emitter inverse world matrices, 16 numbers each, or 0. */
|
|
860
|
+
particleSubMatrices(id: number): number;
|
|
861
|
+
/** Emits a particle system's frame, fires its due sub-emitters, and moves its time base. */
|
|
862
|
+
emitParticleFrame(id: number): number;
|
|
863
|
+
/** Emits `count` particles of a system at once, at the place and velocity in its block. */
|
|
864
|
+
burstParticles(id: number, count: number): number;
|
|
865
|
+
/**
|
|
866
|
+
* Turns each camera view's depth prepass on or off from the next frame on. Ambient occlusion,
|
|
867
|
+
* contact shadows, the bounce light and screen-space reflections still draw it while they run.
|
|
868
|
+
*/
|
|
869
|
+
setDepthPrepass(on: boolean): number;
|
|
870
|
+
/** Lets soft particles fade near the surfaces behind them, or draws them with hard edges. */
|
|
871
|
+
setSoftParticles(on: boolean): number;
|
|
872
|
+
/**
|
|
873
|
+
* Makes a draw of `vertices` vertices for each of `instances` copies for the object in scene
|
|
874
|
+
* slot `slot`, and returns its id, or 0 when the scene holds the most draws already.
|
|
875
|
+
*/
|
|
876
|
+
createVertexDraw(slot: number, vertices: number, instances: number): number;
|
|
877
|
+
/** Forgets a draw that makes its own vertices. */
|
|
878
|
+
destroyVertexDraw(id: number): number;
|
|
879
|
+
/** Sets the vertices of one shape and the number of its copies of such a draw. */
|
|
880
|
+
setVertexDrawCounts(id: number, vertices: number, instances: number): number;
|
|
881
|
+
/**
|
|
882
|
+
* Makes a draw of at most `capacity` instances for the object in scene slot `slot`, whose
|
|
883
|
+
* instance count the GPU writes, and returns its id, or 0 when the scene holds the most such
|
|
884
|
+
* draws already.
|
|
885
|
+
*/
|
|
886
|
+
createFeatureInstances(slot: number, capacity: number): number;
|
|
887
|
+
/** Forgets a draw whose instance count the GPU writes. */
|
|
888
|
+
destroyFeatureInstances(id: number): number;
|
|
889
|
+
/** The id of the per-instance buffer that such a draw reads. */
|
|
890
|
+
featureInstanceBuffer(id: number): number;
|
|
891
|
+
/** The id of the count word that such a draw takes. */
|
|
892
|
+
featureInstanceCountBuffer(id: number): number;
|
|
893
|
+
/**
|
|
894
|
+
* Sets the count that a shadow view draws and that a page without compute sets for a draw
|
|
895
|
+
* whose instance count the GPU writes.
|
|
896
|
+
*/
|
|
897
|
+
setFeatureInstanceCount(id: number, count: number): number;
|
|
898
|
+
/**
|
|
899
|
+
* Tells the engine whether the add-on's feature draws now. A draw that is not ready records no
|
|
900
|
+
* draw, no conversion and no count copy. Returns 1 for a draw that does not exist.
|
|
901
|
+
*/
|
|
902
|
+
setFeatureInstanceReady(id: number, ready: boolean): number;
|
|
903
|
+
/**
|
|
904
|
+
* Writes `count` per-instance rows from `values` at row `start`, as the engine's instance
|
|
905
|
+
* buffers hold them: three world-matrix rows, then the ids. Returns 0, or 1 for values that a
|
|
906
|
+
* draw does not take.
|
|
907
|
+
*/
|
|
908
|
+
setFeatureInstanceRows(id: number, start: number, count: number, values: Float32Array): number;
|
|
909
|
+
/** Turns software occlusion culling on or off from the next frame on, where the path culls on the CPU. */
|
|
910
|
+
setSoftwareOcclusion(on: boolean): number;
|
|
911
|
+
/**
|
|
912
|
+
* Notes the GPU's time for a frame that it finished, from the frame's submit to its completion,
|
|
913
|
+
* in microseconds, which GPU occlusion culling's check compares with its passes on and off.
|
|
914
|
+
*/
|
|
915
|
+
gpuFrameTime(frame: number, micros: number): number;
|
|
916
|
+
/** Sets the control slot that GPU occlusion culling's reads of its counts raise. */
|
|
917
|
+
setOcclusionReadSlot(slot: number): number;
|
|
918
|
+
/** Lets materials with parallax draw it, or draws them with their displacement alone. */
|
|
919
|
+
setParallax(on: boolean): number;
|
|
920
|
+
/**
|
|
921
|
+
* Draws the blended surfaces in the camera's moment transparency layer from the next frame on,
|
|
922
|
+
* as the quality preset's `momentTransparency` says.
|
|
923
|
+
*/
|
|
924
|
+
setMomentTransparency(on: boolean): number;
|
|
925
|
+
/**
|
|
926
|
+
* Sets the pixels that software occlusion culling's buffer holds about from the next frame
|
|
927
|
+
* on, or 0 for the core's default, where the path culls on the CPU.
|
|
928
|
+
*/
|
|
929
|
+
setOcclusionBuffer(pixels: number): number;
|
|
930
|
+
/**
|
|
931
|
+
* Holds GPU occlusion culling's passes on in every frame from the next one on, without its
|
|
932
|
+
* check's trials, or lets the check judge them again. The WebGL2 path ignores it.
|
|
933
|
+
*/
|
|
934
|
+
holdOcclusionCheck(held: boolean): number;
|
|
935
|
+
/**
|
|
936
|
+
* Grades the canvas color with the color grading table in a 3D texture, or with none for 0,
|
|
937
|
+
* from the next frame on, with the post-processing values' intensity and domain.
|
|
938
|
+
*/
|
|
939
|
+
setLut(texture: number): number;
|
|
940
|
+
/**
|
|
941
|
+
* Grades the canvas color with the built-in grading table in a 3D texture, or with none for 0,
|
|
942
|
+
* from the next frame on: a job worker baked the sketch's grading values into it.
|
|
943
|
+
*/
|
|
944
|
+
setGrade(texture: number): number;
|
|
945
|
+
/**
|
|
946
|
+
* Turns the vignette on with the post-processing values' intensity, size, falloff and roundness,
|
|
947
|
+
* or off.
|
|
948
|
+
*/
|
|
949
|
+
setVignette(on: boolean): number;
|
|
950
|
+
/** Turns the sharpening on with the post-processing values' strength, or off. */
|
|
951
|
+
setSharpen(on: boolean): number;
|
|
952
|
+
/** Turns outlines on with the post-processing values' line colors and width, or off. */
|
|
953
|
+
setOutline(on: boolean): number;
|
|
954
|
+
/**
|
|
955
|
+
* The address of a custom effect's uniforms (`EFFECT_FLOATS` 32-bit floats), which TypeScript
|
|
956
|
+
* writes before it calls `setEffect`.
|
|
957
|
+
*/
|
|
958
|
+
effectValues(): number;
|
|
959
|
+
/**
|
|
960
|
+
* The address of a custom effect's or full-screen pass's texture handles (`EFFECT_TEXTURES`
|
|
961
|
+
* 32-bit words), which TypeScript writes with its uniforms.
|
|
962
|
+
*/
|
|
963
|
+
effectTextures(): number;
|
|
964
|
+
/**
|
|
965
|
+
* Sets the custom effect at a place in the order effects run, from the next frame on: its render
|
|
966
|
+
* pipeline template, its flags (`EFFECT_DEPTH`), the uniforms at `effectValues` and the textures
|
|
967
|
+
* at `effectTextures`. Template 0 removes the effect at the place and every one after it.
|
|
968
|
+
*/
|
|
969
|
+
setEffect(index: number, template: number, flags: number): number;
|
|
970
|
+
/**
|
|
971
|
+
* Draws the `length` custom effects from a place on as one group, with the joined shader of
|
|
972
|
+
* render pipeline template `template`, from the next frame on, once its pipeline is built.
|
|
973
|
+
* Template 0 ends the group that starts at the place.
|
|
974
|
+
*/
|
|
975
|
+
setEffectGroup(index: number, length: number, template: number): number;
|
|
976
|
+
/**
|
|
977
|
+
* Folds the custom effects from a place on into the final pass, with the final pass's build of
|
|
978
|
+
* render pipeline template `template`, from the next frame on, while nothing reads the image
|
|
979
|
+
* between them. Template 0 folds none.
|
|
980
|
+
*/
|
|
981
|
+
setEffectFold(index: number, template: number): number;
|
|
982
|
+
/**
|
|
983
|
+
* Maps HDR color with the custom tone curve whose builds take the render pipeline templates from
|
|
984
|
+
* `template` on, or with the curve that `setOutput` sets for 0, from the next frame on.
|
|
985
|
+
*/
|
|
986
|
+
setToneCurve(template: number): number;
|
|
987
|
+
/**
|
|
988
|
+
* The address of the block of the environment's values (`ENVIRONMENT_VALUE_*`), 32-bit floats
|
|
989
|
+
* that TypeScript writes before it calls `setEnvironment`.
|
|
990
|
+
*/
|
|
991
|
+
environmentValues(): number;
|
|
992
|
+
/**
|
|
993
|
+
* Lights the scene with the environment whose prefiltered light is a cube texture, or with none
|
|
994
|
+
* for 0, from the next frame on, with the environment's values.
|
|
995
|
+
*/
|
|
996
|
+
setEnvironment(texture: number): number;
|
|
997
|
+
/**
|
|
998
|
+
* The address of the block of the light probe grid's values (`LIGHT_PROBE_VALUE_*`), 32-bit
|
|
999
|
+
* floats that TypeScript writes before it calls `setLightProbeGrid`.
|
|
1000
|
+
*/
|
|
1001
|
+
lightProbeValues(): number;
|
|
1002
|
+
/**
|
|
1003
|
+
* Lights the scene with the light probe grid whose coefficients are 3D texture `texture`, or
|
|
1004
|
+
* with none when `texture` is 0, from the next frame on.
|
|
1005
|
+
*/
|
|
1006
|
+
setLightProbeGrid(texture: number): number;
|
|
1007
|
+
/**
|
|
1008
|
+
* Draws the scene into a target of another format, by code, with another anti-aliasing mode, by
|
|
1009
|
+
* code, from the next frame on.
|
|
1010
|
+
*/
|
|
1011
|
+
setCanvasOutput(sceneColor: number, antialias: number): number;
|
|
1012
|
+
/**
|
|
1013
|
+
* Says whether the device draws the motion target with one sample, and with MSAA's samples, as
|
|
1014
|
+
* the page's device check found.
|
|
1015
|
+
*/
|
|
1016
|
+
allowMotion(oneSample: boolean, multisampled: boolean): number;
|
|
1017
|
+
/**
|
|
1018
|
+
* 1 when the frame's passes read the motion since the frame before, as the motion debug view
|
|
1019
|
+
* does, so a held frame needs the frame before it drawn first, else 0.
|
|
1020
|
+
*/
|
|
1021
|
+
holdsFrameBefore(): number;
|
|
1022
|
+
/** Whether the render scale can drop below the whole canvas, from the next frame on. */
|
|
1023
|
+
setRenderScaling(scaling: boolean): number;
|
|
1024
|
+
/**
|
|
1025
|
+
* The device pixels per CSS pixel of the canvas, the first call value, which size sprites given
|
|
1026
|
+
* in screen pixels.
|
|
1027
|
+
*/
|
|
1028
|
+
setPixelRatio(): number;
|
|
1029
|
+
/**
|
|
1030
|
+
* The shadow filter's texels on each side, 3 or 5, the frames between two draws of a far
|
|
1031
|
+
* shadow cascade, from 1 to 8, whether a far cascade draws in every frame while a moving
|
|
1032
|
+
* caster touches it, and, as the first call value, the share of each cascade's length over
|
|
1033
|
+
* which it blends into the next, from 0 to 0.5, from the next frame on.
|
|
1034
|
+
*/
|
|
1035
|
+
setShadowQuality(filter: number, farInterval: number, followMovers: boolean): number;
|
|
1036
|
+
/**
|
|
1037
|
+
* How objects and batches pick their meshes' levels of detail, from the next frame on. The call
|
|
1038
|
+
* values give the error in pixels under which a coarser level draws, 0 for none, and what the
|
|
1039
|
+
* shadow maps' views multiply it by. `fades` says whether two levels hand over in a fading band,
|
|
1040
|
+
* and `governed` whether the frame-time governor raised the thresholds above the settings' own.
|
|
1041
|
+
*/
|
|
1042
|
+
setLevelQuality(fades: boolean, governed: boolean): number;
|
|
1043
|
+
/**
|
|
1044
|
+
* What casts shadows in the last recorded frame: the main directional light's cascades in the
|
|
1045
|
+
* bits of `SHADOW_CASTERS_CASCADE_MASK`, and `SHADOW_CASTERS_TILES` when point or spot lights
|
|
1046
|
+
* cast shadows.
|
|
1047
|
+
*/
|
|
1048
|
+
shadowCasters(): number;
|
|
1049
|
+
/** 1 while some mesh has levels of detail, which the governor's detail steps need, else 0. */
|
|
1050
|
+
hasLevels(): number;
|
|
1051
|
+
/**
|
|
1052
|
+
* The address of the block of the background's values (`BACKGROUND_VALUE_*`), 32-bit floats
|
|
1053
|
+
* that TypeScript writes before it calls `setBackgroundSource`.
|
|
1054
|
+
*/
|
|
1055
|
+
backgroundValues(): number;
|
|
1056
|
+
/**
|
|
1057
|
+
* Draws a source (`BACKGROUND_KIND_*`) behind every object in the camera's view, with the
|
|
1058
|
+
* background's values: texture or cube texture `texture`, or none for the sky. `NONE` leaves
|
|
1059
|
+
* the background color alone.
|
|
1060
|
+
*/
|
|
1061
|
+
setBackgroundSource(kind: number, texture: number): number;
|
|
1062
|
+
/**
|
|
1063
|
+
* Draws the sky layer of render pipeline template `template` over the background, with the share
|
|
1064
|
+
* `sun` of the sun that it hides, its `opacity`, and `refresh` seconds between the sky map's
|
|
1065
|
+
* captures of it. `map` is the same WGSL built into the shader that fills the sky map's cube
|
|
1066
|
+
* faces, and `slot` the control slot that a map's light capture raises once its coefficients
|
|
1067
|
+
* are in engine memory. Removes the layer for template 0.
|
|
1068
|
+
*/
|
|
1069
|
+
setSkyLayer(template: number, map: number, sun: number, opacity: number, refresh: number, slot: number): number;
|
|
1070
|
+
/**
|
|
1071
|
+
* The scene's fog: its curve (`FOG_CURVE_*`), or none. The call values give its linear color,
|
|
1072
|
+
* the density of exponential and exponential squared fog, the near and far distances of linear
|
|
1073
|
+
* fog, the height where the fog has that density, its height falloff, its sun glow and the
|
|
1074
|
+
* glow's exponent.
|
|
1075
|
+
*/
|
|
1076
|
+
setFog(curve: number): number;
|
|
1077
|
+
/**
|
|
1078
|
+
* Turns the volumetric fog on, or off: the light of the sun and the point and spot lights that
|
|
1079
|
+
* the scene's fog scatters toward the camera, through their shadows. The call values give how
|
|
1080
|
+
* much light the fog scatters, the anisotropy, the distance that its grid reaches and the fog's
|
|
1081
|
+
* density.
|
|
1082
|
+
*/
|
|
1083
|
+
setFogVolume(on: boolean): number;
|
|
1084
|
+
/** The slices of the volumetric fog's grid, from the next frame on: 0 draws none. */
|
|
1085
|
+
setFogSlices(slices: number): number;
|
|
1086
|
+
/** The governor's halvings of the slices that each frame draws of the volumetric fog's grid. */
|
|
1087
|
+
setFogHalvings(halvings: number): number;
|
|
1088
|
+
/**
|
|
1089
|
+
* Draws the scene with a debug view (`DEBUG_VIEW_*`), or with its materials with
|
|
1090
|
+
* `DEBUG_VIEW_LIT`, from the next frame on.
|
|
1091
|
+
*/
|
|
1092
|
+
setDebugView(view: number): number;
|
|
1093
|
+
/**
|
|
1094
|
+
* Draws every mesh of the main pass with the material whose id is `material` in place of its
|
|
1095
|
+
* own, or with its own materials with 0, from the next frame on.
|
|
1096
|
+
*/
|
|
1097
|
+
setOverrideMaterial(material: number): number;
|
|
1098
|
+
/**
|
|
1099
|
+
* The layers whose objects decals mark, as a 32-bit mask. An object that is also on another
|
|
1100
|
+
* layer draws again after the decals.
|
|
1101
|
+
*/
|
|
1102
|
+
setDecalLayers(mask: number): number;
|
|
1103
|
+
/** Creates the animation table for `instances` animated objects with `joints` joints in all. */
|
|
1104
|
+
initAnimations(instances: number, joints: number): number;
|
|
1105
|
+
/** Makes room for `words` staging words of animation data and returns their address. */
|
|
1106
|
+
animationStaging(words: number): number;
|
|
1107
|
+
/**
|
|
1108
|
+
* Creates a skeleton from the staging words: each joint's parent, then its rest pose
|
|
1109
|
+
* (`ANIMATION_REST_FLOATS` floats), then its inverse bind matrix (12 floats, row-major 3 × 4).
|
|
1110
|
+
*/
|
|
1111
|
+
createSkeleton(joints: number): number;
|
|
1112
|
+
/**
|
|
1113
|
+
* Destroys a skeleton with its clips and joint masks. Fails with 1111 while an animated
|
|
1114
|
+
* instance uses it.
|
|
1115
|
+
*/
|
|
1116
|
+
destroySkeleton(skeleton: number): number;
|
|
1117
|
+
/**
|
|
1118
|
+
* Creates a clip from the staging words: `tracks` headers of `ANIMATION_TRACK_WORDS` words
|
|
1119
|
+
* (joint, channel, interpolation, key count), then each track's key times and values, resampled
|
|
1120
|
+
* at `rate` keys per second.
|
|
1121
|
+
*/
|
|
1122
|
+
createClip(skeleton: number, tracks: number, rate: number): number;
|
|
1123
|
+
/**
|
|
1124
|
+
* Starts resampling a clip of the staging words, as `createClip` reads them, on a job worker
|
|
1125
|
+
* between frames. Returns a ticket for `clipReady`, plus one, or 0 on failure.
|
|
1126
|
+
*/
|
|
1127
|
+
createClipLater(skeleton: number, tracks: number, rate: number): number;
|
|
1128
|
+
/**
|
|
1129
|
+
* The clip of a `createClipLater` ticket: its id plus one once it is resampled,
|
|
1130
|
+
* `ANIMATION_CLIP_PENDING` before that, or 0 on failure. Without job workers it resamples the
|
|
1131
|
+
* clip itself.
|
|
1132
|
+
*/
|
|
1133
|
+
clipReady(ticket: number): number;
|
|
1134
|
+
/**
|
|
1135
|
+
* The clips so far that the core resampled at each frame, plus one. The others held keys on
|
|
1136
|
+
* their frames already, as the asset tool writes them, and were copied.
|
|
1137
|
+
*/
|
|
1138
|
+
resampledClips(): number;
|
|
1139
|
+
/**
|
|
1140
|
+
* Adds an animated instance of a skeleton, which moves the object of handle `object`: a
|
|
1141
|
+
* look-at aims from that object's place. The handle 0 names no object.
|
|
1142
|
+
*/
|
|
1143
|
+
createAnimatedInstance(skeleton: number, object: number): number;
|
|
1144
|
+
/**
|
|
1145
|
+
* The most animated instances that the animation table holds now. A new instance that does not
|
|
1146
|
+
* fit grows the table, which moves its arrays.
|
|
1147
|
+
*/
|
|
1148
|
+
animationCapacity(): number;
|
|
1149
|
+
/**
|
|
1150
|
+
* Makes the table of joint overrides and look-at targets (`ANIMATION_FIELD_JOINT_OVERRIDES`
|
|
1151
|
+
* and `ANIMATION_FIELD_LOOK_TARGETS`), once. Until then, the frame step does no override work.
|
|
1152
|
+
*/
|
|
1153
|
+
enableJointOverrides(): number;
|
|
1154
|
+
/** Removes an animated instance; later instances take its id and joints. */
|
|
1155
|
+
removeAnimatedInstance(instance: number): number;
|
|
1156
|
+
/** Makes a block of `count` morph weights, all 0, and returns its id plus one. */
|
|
1157
|
+
createMorphWeights(count: number): number;
|
|
1158
|
+
/** Frees a block of morph weights. */
|
|
1159
|
+
destroyMorphWeights(id: number): number;
|
|
1160
|
+
/**
|
|
1161
|
+
* Links a block of morph weights to an animated instance (its id plus one, or 0 to unlink),
|
|
1162
|
+
* whose skeleton's joints from `joint` on animate them.
|
|
1163
|
+
*/
|
|
1164
|
+
linkMorphWeights(id: number, instance: number, joint: number): number;
|
|
1165
|
+
/** The address of the morph weight table, or 0 before its first block. */
|
|
1166
|
+
morphWeightsAddress(): number;
|
|
1167
|
+
/** The first weight of a block of morph weights in the table. */
|
|
1168
|
+
morphWeightsFirst(id: number): number;
|
|
1169
|
+
/** The most morph weights of each object that vertex shaders that morph keep, the largest. */
|
|
1170
|
+
setMorphTargets(cap: number): number;
|
|
1171
|
+
/** The address of an animation table array (`ANIMATION_FIELD_*`). */
|
|
1172
|
+
animationArrays(field: number): number;
|
|
1173
|
+
/**
|
|
1174
|
+
* The first joint of an animated instance in the skinning matrices, plus one, or 0 when no live
|
|
1175
|
+
* instance has the id.
|
|
1176
|
+
*/
|
|
1177
|
+
animatedInstanceJoints(instance: number): number;
|
|
1178
|
+
/**
|
|
1179
|
+
* Plays a clip on an instance's layer with `ANIMATION_PLAY_*` flags, and the fade, speed, time
|
|
1180
|
+
* and weight written into the play numbers (`ANIMATION_FIELD_PLAY_ARGS`).
|
|
1181
|
+
*/
|
|
1182
|
+
animatorPlay(instance: number, clip: number, layer: number, flags: number): number;
|
|
1183
|
+
/**
|
|
1184
|
+
* Plays a 1D blend on an instance's layer, of `count` clips staged as their ids plus one, then
|
|
1185
|
+
* their points as floats, with the fade, speed and phase written into the play numbers.
|
|
1186
|
+
*/
|
|
1187
|
+
animatorPlayBlend(instance: number, count: number, layer: number, flags: number): number;
|
|
1188
|
+
/**
|
|
1189
|
+
* Stops a clip on an instance, or every clip when `clip` is 0, fading over the seconds of the
|
|
1190
|
+
* fade written into the play numbers.
|
|
1191
|
+
*/
|
|
1192
|
+
animatorStop(instance: number, clip: number): number;
|
|
1193
|
+
/** Creates a joint mask of a skeleton from the staging words: one weight from 0 to 1 per joint. */
|
|
1194
|
+
createJointMask(skeleton: number): number;
|
|
1195
|
+
/** Gives an instance's layer a joint mask, or every joint when `mask` is 0. */
|
|
1196
|
+
setLayerMask(instance: number, layer: number, mask: number): number;
|
|
1197
|
+
/** Sets a clip's events from the staging words: `count` times as floats, then `count` ids. */
|
|
1198
|
+
setClipEvents(clip: number, count: number): number;
|
|
1199
|
+
/**
|
|
1200
|
+
* Advances every played clip by `stepUs` whole microseconds, then writes every animated
|
|
1201
|
+
* instance's skinning matrices, on the job workers.
|
|
1202
|
+
*/
|
|
1203
|
+
updateAnimations(stepUs: number): number;
|
|
1204
|
+
}
|
|
1205
|
+
/** Stack size for each engine thread. */
|
|
1206
|
+
export declare const THREAD_STACK_BYTES: number;
|
|
1207
|
+
/** What `jobWorkerLoop` returns after the job system stopped. */
|
|
1208
|
+
export declare const JOB_LOOP_STOPPED = 0;
|
|
1209
|
+
/** What `jobWorkerLoop` returns when a task call took the worker out of the job system. */
|
|
1210
|
+
export declare const JOB_LOOP_CALLED = 1;
|
|
1211
|
+
/** What `jobWorkerLoop` returns while the page asks idle job workers to run their own tasks. */
|
|
1212
|
+
export declare const JOB_LOOP_YIELDED = 2;
|
|
1213
|
+
export interface CoreFiles {
|
|
1214
|
+
/** The generated JavaScript that binds the core. */
|
|
1215
|
+
glue: URL;
|
|
1216
|
+
/** The compiled core. */
|
|
1217
|
+
wasm: URL;
|
|
1218
|
+
}
|
|
1219
|
+
/**
|
|
1220
|
+
* Each build's files. Every path is written out in full in the standard form, `new URL('<file>',
|
|
1221
|
+
* import.meta.url)`, so a bundler finds the files, ships them with the app and rewrites the
|
|
1222
|
+
* addresses to the shipped copies. The null3D Vite plugin keeps Vite from turning an engine file
|
|
1223
|
+
* into a data: address: a Content-Security-Policy that allows only the page's origin blocks the
|
|
1224
|
+
* import or the download of one.
|
|
1225
|
+
*/
|
|
1226
|
+
export declare function coreUrls(build: Build): CoreFiles;
|
|
1227
|
+
/** A generated module as it loads, before the checks: the build writes in its sources' stamp. */
|
|
1228
|
+
export type LoadedGlue = Partial<CoreGlue> & {
|
|
1229
|
+
readonly coreSources?: string;
|
|
1230
|
+
};
|
|
1231
|
+
/**
|
|
1232
|
+
* E1402 when a generated module does not belong with this code: when `sources`, the stamps of the
|
|
1233
|
+
* Rust sources that a dev server gives, holds none of the module's stamp, or when the module lacks
|
|
1234
|
+
* a function that the engine calls.
|
|
1235
|
+
*/
|
|
1236
|
+
export declare function glueMismatch(build: Build, glue: LoadedGlue, sources: readonly string[] | undefined): EngineError | undefined;
|
|
1237
|
+
/**
|
|
1238
|
+
* Imports the generated module for a build. Development builds also check that it comes from the
|
|
1239
|
+
* Rust sources of the checkout that the dev server serves, and that it has every function the
|
|
1240
|
+
* engine calls. A release build bundles this code and the core from one install, so only a
|
|
1241
|
+
* development setup can pair a core with code from another build, and release builds drop the
|
|
1242
|
+
* check and its list of names.
|
|
1243
|
+
*/
|
|
1244
|
+
export declare function loadGlue(build: Build): Promise<CoreGlue>;
|
|
1245
|
+
export interface StartedCore {
|
|
1246
|
+
glue: CoreGlue;
|
|
1247
|
+
/** The memory the core runs in: the shared memory, or the single-threaded build's own. */
|
|
1248
|
+
memory: WebAssembly.Memory | undefined;
|
|
1249
|
+
}
|
|
1250
|
+
/**
|
|
1251
|
+
* Instantiates the core in this thread with an already compiled module. `step` hears each step as
|
|
1252
|
+
* it finishes: the glue loaded, then the core started.
|
|
1253
|
+
*/
|
|
1254
|
+
export declare function startCore(build: Build, module: WebAssembly.Module, memory?: WebAssembly.Memory, step?: (name: string) => void): Promise<StartedCore>;
|