@threenative/core 0.3.13 → 0.3.16
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/capabilities.json +1008 -83
- package/dist/{chunk-4SRAQFTU.js → chunk-2GPHICV6.js} +1 -1
- package/dist/{chunk-EEABDLUC.js → chunk-5C4TCWI3.js} +2 -2
- package/dist/{chunk-DIPIJICH.js → chunk-FQURMC2F.js} +122 -18
- package/dist/{chunk-EFWZWLPY.js → chunk-OMGIYWW7.js} +400 -13
- package/dist/{chunk-SV4QVUTQ.js → chunk-QAQHYOWY.js} +1 -1
- package/dist/{chunk-GYUZJQ7U.js → chunk-VQRPEOKY.js} +4 -1
- package/dist/hot.js +10 -2
- package/dist/index.d.ts +608 -16
- package/dist/index.js +2037 -633
- package/dist/{model-lod-DPTzeCcD.d.ts → model-lod-B921F6kQ.d.ts} +0 -10
- package/dist/playtest.js +3 -3
- package/dist/{quality-BYqKGAwo.d.ts → quality-BADStsTn.d.ts} +2 -2
- package/dist/render-environment.d.ts +1 -1
- package/dist/ui-layer.js +2 -2
- package/dist/worker.js +2 -2
- package/dist/world.d.ts +14 -4
- package/dist/world.js +179 -36
- package/mcp/animation-server.mjs +1 -1
- package/mcp/engine-server.mjs +44 -17
- package/mcp/servers.mjs +4 -4
- package/package.json +6 -6
- package/patches/three@0.187.0-prd269-upgrade.patch +126 -2
- package/patches/three@0.187.0.patch +108 -21
- package/scripts/ensure-mcp.mjs +6 -1
- package/src/clustered-batch.ts +146 -3
- package/src/clustered-mesh.ts +548 -20
- package/src/debug.ts +16 -0
- package/src/displaced-surface.ts +428 -0
- package/src/engine-hooks.ts +29 -0
- package/src/frame-budget.ts +16 -0
- package/src/generated/console-markers.ts +1 -0
- package/src/grass-field.ts +628 -0
- package/src/grounding.ts +19 -10
- package/src/hot.ts +18 -2
- package/src/index.ts +112 -0
- package/src/instanced-batch-lod.ts +54 -0
- package/src/model-lod.ts +77 -1
- package/src/pose-measure.ts +27 -2
- package/src/render/material-key.ts +21 -1
- package/src/render/screen-probe-gather.ts +303 -0
- package/src/render/short-range-ao.ts +274 -0
- package/src/render/world-impostor-surface.ts +98 -3
- package/src/render-camera-cull.ts +9 -3
- package/src/renderer.ts +26 -4
- package/src/scatter-field.ts +497 -0
- package/src/startup-offscreen-bytes.ts +11 -5
- package/src/state.ts +16 -3
- package/src/static-transform.ts +109 -6
- package/src/tile-ring.ts +294 -0
- package/src/version.ts +1 -1
- package/src/warmup.ts +15 -2
- package/src/world-cell-batches.ts +4 -0
- package/src/world-cell-data.ts +7 -0
- package/src/world-cell-models.ts +36 -8
- package/src/world-cell-render-gpu-dress.ts +4 -2
- package/src/world-cell-render-util.ts +2 -2
- package/src/world-cells.ts +1 -1
- package/src/world-river-ribbon.ts +13 -22
- package/src/world-water-bodies.ts +113 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { debugRequested, countDebug, measureDebug } from './chunk-
|
|
1
|
+
import { debugRequested, countDebug, measureDebug } from './chunk-VQRPEOKY.js';
|
|
2
2
|
import { UI_STARTUP_MESSAGE, GAME_STATE_MESSAGE, UI_INTENT_MESSAGE, postUiState, serializeUiState } from './chunk-CFGTPFUH.js';
|
|
3
3
|
|
|
4
4
|
// src/ui-state.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { debugRequested, countDebug, isContentScaled } from './chunk-
|
|
1
|
+
import { debugRequested, countDebug, isContentScaled } from './chunk-VQRPEOKY.js';
|
|
2
2
|
import { mrt, velocity, output, context } from 'three/tsl';
|
|
3
3
|
import { BatchedMesh, DataTexture } from 'three';
|
|
4
4
|
|
|
5
5
|
// src/version.ts
|
|
6
|
-
var CORE_VERSION = "0.3.
|
|
6
|
+
var CORE_VERSION = "0.3.16";
|
|
7
7
|
var THREE_NATIVE_BATCHED_VELOCITY_PATCH = "threeNativeBatchedVelocityPatch";
|
|
8
8
|
function isBatchedMeshVelocityPatched() {
|
|
9
9
|
return Reflect.get(BatchedMesh, THREE_NATIVE_BATCHED_VELOCITY_PATCH) === true;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { isEngineRenderHook, markStreamedGeometry, upgradeStreamedGeometry, GEOMETRY_ASSET_KEY, TN_VIRTUAL_GEOMETRY, VirtualGeometryPlugin, TN_DISCRETE_LOD, DiscreteLodPlugin, isStreamedGeometry, DISCRETE_LOD_DEFAULT_HYSTERESIS, lodChainOf, registerModelLodController, selectLodFor, biasedLodDistance, selectLodLevel } from './chunk-
|
|
2
|
-
import { debugRequested, countDebug, readLaunchFlag, measureDebug } from './chunk-
|
|
1
|
+
import { isEngineRenderHook, markStreamedGeometry, upgradeStreamedGeometry, GEOMETRY_ASSET_KEY, TN_VIRTUAL_GEOMETRY, VirtualGeometryPlugin, TN_DISCRETE_LOD, DiscreteLodPlugin, isStreamedGeometry, DISCRETE_LOD_DEFAULT_HYSTERESIS, lodChainOf, registerModelLodController, lodBias, selectLodFor, biasedLodDistance, selectLodLevel } from './chunk-OMGIYWW7.js';
|
|
2
|
+
import { debugRequested, countDebug, readLaunchFlag, measureDebug } from './chunk-VQRPEOKY.js';
|
|
3
3
|
import { isNative } from './chunk-XDTZ4QMO.js';
|
|
4
4
|
import { AnimationAction, AnimationMixer, Matrix4, NumberKeyframeTrack, Skeleton, Vector3, BufferGeometry, Color, BufferAttribute, Matrix3, Mesh, InstancedBufferGeometry, Object3D, Texture, InstancedMesh, Quaternion, NoColorSpace, SRGBColorSpace, Sphere, RGBA_ASTC_4x4_Format, Frustum, Box3, InstancedBufferAttribute } from 'three';
|
|
5
5
|
import { mergeGeometries } from 'three/addons/utils/BufferGeometryUtils.js';
|
|
@@ -857,7 +857,7 @@ function measureStartupOffscreenBytes(resolved, root, camera) {
|
|
|
857
857
|
}
|
|
858
858
|
var ASSET_UNUSED_MARKER = "TN_ASSET_UNUSED";
|
|
859
859
|
var ASSET_UNUSED_AFTER_MS = 6e4;
|
|
860
|
-
var ASSET_UNUSED_FIX = "Nothing in the scene came from these models, which the reveal waited for. If nothing ever builds one, delete its load; if the game builds it later, ctx.assets.prefetch it after the reveal and load it then.";
|
|
860
|
+
var ASSET_UNUSED_FIX = "Nothing in the scene came from these models, which the reveal waited for. If nothing ever builds one, delete its load; if the game builds it later, ctx.assets.prefetch it after the reveal and load it then. A listed file may also be geometry the game merged into a new buffer, which drops its provenance: check that before deleting it.";
|
|
861
861
|
function measureUnusedModels(resolved, root, sinceRevealMs) {
|
|
862
862
|
const present = unbilled(() => {
|
|
863
863
|
const paths = /* @__PURE__ */ new Set();
|
|
@@ -868,13 +868,14 @@ function measureUnusedModels(resolved, root, sinceRevealMs) {
|
|
|
868
868
|
});
|
|
869
869
|
return paths;
|
|
870
870
|
});
|
|
871
|
-
const files = [...resolved].filter(([path, asset]) => asset.kind === "model" && !present.has(path)).map(([path, asset]) =>
|
|
871
|
+
const files = [...resolved].filter(([path, asset]) => asset.kind === "model" && !present.has(path)).map(([path, asset]) => asset.bytes === void 0 ? { path } : { bytes: asset.bytes, path }).sort((a, b) => (b.bytes ?? -1) - (a.bytes ?? -1));
|
|
872
872
|
if (files.length === 0) return void 0;
|
|
873
873
|
return {
|
|
874
|
-
bytes: files.reduce((sum, file) => sum + file.bytes, 0),
|
|
874
|
+
bytes: files.reduce((sum, file) => sum + (file.bytes ?? 0), 0),
|
|
875
875
|
files,
|
|
876
876
|
fix: ASSET_UNUSED_FIX,
|
|
877
|
-
sinceRevealMs
|
|
877
|
+
sinceRevealMs,
|
|
878
|
+
unsizedFiles: files.filter((file) => file.bytes === void 0).length
|
|
878
879
|
};
|
|
879
880
|
}
|
|
880
881
|
function reportUnusedModelsLater(awaited, root, gone) {
|
|
@@ -3906,10 +3907,10 @@ function hierarchyRevision(object2) {
|
|
|
3906
3907
|
const revision = object2.__hierarchyRevision;
|
|
3907
3908
|
return typeof revision === "number" ? revision : void 0;
|
|
3908
3909
|
}
|
|
3909
|
-
function countEngineCost2(name) {
|
|
3910
|
+
function countEngineCost2(name, count = 1) {
|
|
3910
3911
|
const host = globalThis;
|
|
3911
3912
|
host.__tnEngineCost ??= {};
|
|
3912
|
-
host.__tnEngineCost[name] = (host.__tnEngineCost[name] ?? 0) +
|
|
3913
|
+
host.__tnEngineCost[name] = (host.__tnEngineCost[name] ?? 0) + count;
|
|
3913
3914
|
}
|
|
3914
3915
|
function engineBandRoot(root) {
|
|
3915
3916
|
const candidate = root;
|
|
@@ -4067,7 +4068,11 @@ var RenderCameraCull = class {
|
|
|
4067
4068
|
this.#animationFrame += 1;
|
|
4068
4069
|
this.#animationPrepared = true;
|
|
4069
4070
|
this.#prepareCamera(camera, viewportHeight);
|
|
4070
|
-
if (this.#bandOnEngine(root, camera)
|
|
4071
|
+
if (this.#bandOnEngine(root, camera)) {
|
|
4072
|
+
countEngineCost2("cullRigRebuilds", 0);
|
|
4073
|
+
return;
|
|
4074
|
+
}
|
|
4075
|
+
if (!this.#prepareAnimated()) return;
|
|
4071
4076
|
const rootShown = this.#isVisibleInWorld(root);
|
|
4072
4077
|
const holds = rootShown && !this.#nestedRigs && animationRateCarriers.size === 0 && animationRateRoots.size >= RATE_HOLD_RIGS;
|
|
4073
4078
|
let turn = this.#animationFrame;
|
|
@@ -5235,6 +5240,22 @@ function attachInstancedLod(mesh, options) {
|
|
|
5235
5240
|
const sphere = new Sphere();
|
|
5236
5241
|
let children = [];
|
|
5237
5242
|
let triangles = 0;
|
|
5243
|
+
const engine = instancedLodHooks(mesh);
|
|
5244
|
+
let attached = false;
|
|
5245
|
+
function attachEngine(hooks) {
|
|
5246
|
+
const authored = options.lods !== void 0;
|
|
5247
|
+
hooks.attach.call(
|
|
5248
|
+
mesh,
|
|
5249
|
+
children,
|
|
5250
|
+
Array.from(partitionOf),
|
|
5251
|
+
authored ? distances : [],
|
|
5252
|
+
[local.center.x, local.center.y, local.center.z, local.radius],
|
|
5253
|
+
authored ? null : [...chain?.errors ?? []],
|
|
5254
|
+
budget,
|
|
5255
|
+
hysteresis
|
|
5256
|
+
);
|
|
5257
|
+
attached = true;
|
|
5258
|
+
}
|
|
5238
5259
|
function ensureChildren() {
|
|
5239
5260
|
if (children.length > 0) return;
|
|
5240
5261
|
children = groups.flatMap(
|
|
@@ -5266,6 +5287,11 @@ function attachInstancedLod(mesh, options) {
|
|
|
5266
5287
|
},
|
|
5267
5288
|
update(camera, viewportHeight) {
|
|
5268
5289
|
ensureChildren();
|
|
5290
|
+
if (engine !== void 0) {
|
|
5291
|
+
if (!attached) attachEngine(engine);
|
|
5292
|
+
triangles = engine.update.call(mesh, camera, viewportHeight, lodBias());
|
|
5293
|
+
return;
|
|
5294
|
+
}
|
|
5269
5295
|
triangles = 0;
|
|
5270
5296
|
mesh.updateWorldMatrix(true, false);
|
|
5271
5297
|
camera.getWorldPosition(cameraPosition);
|
|
@@ -5328,6 +5354,7 @@ function attachInstancedLod(mesh, options) {
|
|
|
5328
5354
|
child.dispose();
|
|
5329
5355
|
}
|
|
5330
5356
|
children = [];
|
|
5357
|
+
attached = false;
|
|
5331
5358
|
mesh.geometry = base;
|
|
5332
5359
|
triangles = 0;
|
|
5333
5360
|
}
|
|
@@ -5346,6 +5373,15 @@ function attachInstancedLod(mesh, options) {
|
|
|
5346
5373
|
ensureChildren();
|
|
5347
5374
|
mesh.addEventListener("dispose", () => controller.release());
|
|
5348
5375
|
}
|
|
5376
|
+
function instancedLodHooks(mesh) {
|
|
5377
|
+
const carrier = mesh;
|
|
5378
|
+
const attach = carrier.__tnInstancedLodAttach;
|
|
5379
|
+
const update = carrier.__tnInstancedLodUpdate;
|
|
5380
|
+
return typeof attach === "function" && typeof update === "function" ? {
|
|
5381
|
+
attach,
|
|
5382
|
+
update
|
|
5383
|
+
} : void 0;
|
|
5384
|
+
}
|
|
5349
5385
|
|
|
5350
5386
|
// src/streamed-textures.ts
|
|
5351
5387
|
var TEXTURE_SLOTS = [
|
|
@@ -6812,7 +6848,7 @@ function writeSnapshot(root, into) {
|
|
|
6812
6848
|
const position = root.position;
|
|
6813
6849
|
const quaternion = root.quaternion;
|
|
6814
6850
|
const scale = root.scale;
|
|
6815
|
-
const matrix2 = root.matrix;
|
|
6851
|
+
const matrix2 = root.matrix.elements;
|
|
6816
6852
|
into[0] = position.x;
|
|
6817
6853
|
into[1] = position.y;
|
|
6818
6854
|
into[2] = position.z;
|
|
@@ -6823,8 +6859,7 @@ function writeSnapshot(root, into) {
|
|
|
6823
6859
|
into[7] = scale.x;
|
|
6824
6860
|
into[8] = scale.y;
|
|
6825
6861
|
into[9] = scale.z;
|
|
6826
|
-
for (let element = 0; element < 16; element += 1)
|
|
6827
|
-
into[10 + element] = matrix2.elements[element] ?? 0;
|
|
6862
|
+
for (let element = 0; element < 16; element += 1) into[10 + element] = matrix2[element] ?? 0;
|
|
6828
6863
|
const parent = root.parent?.matrixWorld.elements ?? IDENTITY;
|
|
6829
6864
|
for (let element = 0; element < 16; element += 1) into[26 + element] = parent[element] ?? 0;
|
|
6830
6865
|
}
|
|
@@ -6869,17 +6904,30 @@ function freeze(root) {
|
|
|
6869
6904
|
return objects;
|
|
6870
6905
|
}
|
|
6871
6906
|
function markStatic(root) {
|
|
6907
|
+
return freezeRoot(root, false);
|
|
6908
|
+
}
|
|
6909
|
+
function markEngineStatic(root) {
|
|
6910
|
+
return freezeRoot(root, true);
|
|
6911
|
+
}
|
|
6912
|
+
function freezeRoot(root, engine) {
|
|
6872
6913
|
const existing = frozen.get(root);
|
|
6873
6914
|
if (existing !== void 0) thaw(root);
|
|
6874
6915
|
const objects = freeze(root);
|
|
6875
6916
|
const snapshot = existing?.snapshot ?? new Float64Array(SNAPSHOT_LENGTH2);
|
|
6876
6917
|
writeSnapshot(root, snapshot);
|
|
6877
6918
|
const version = (existing?.version ?? 0) + 1;
|
|
6878
|
-
|
|
6919
|
+
const watch = root.__tnStaticWatch;
|
|
6920
|
+
if (typeof watch === "function") watch.call(root);
|
|
6921
|
+
if (existing === void 0) engineRoots = void 0;
|
|
6922
|
+
frozen.set(
|
|
6923
|
+
root,
|
|
6924
|
+
engine ? { objects, root, snapshot, version, parent: root.parent, fresh: true } : { objects, root, snapshot, version }
|
|
6925
|
+
);
|
|
6879
6926
|
return version;
|
|
6880
6927
|
}
|
|
6881
6928
|
function unmarkStatic(root) {
|
|
6882
6929
|
if (!frozen.delete(root)) return;
|
|
6930
|
+
engineRoots = void 0;
|
|
6883
6931
|
if (worldSilenced.delete(root)) root.matrixWorldAutoUpdate = true;
|
|
6884
6932
|
root.traverse((object2) => {
|
|
6885
6933
|
if (composeSilenced.delete(object2)) object2.matrixAutoUpdate = true;
|
|
@@ -6902,14 +6950,62 @@ function staticRoots() {
|
|
|
6902
6950
|
return [...frozen.keys()];
|
|
6903
6951
|
}
|
|
6904
6952
|
var rearmedSinceCensus = 0;
|
|
6953
|
+
var engineRoots;
|
|
6905
6954
|
function refreshStaticTransforms() {
|
|
6906
6955
|
if (frozen.size === 0) return;
|
|
6956
|
+
const first = frozen.keys().next().value;
|
|
6957
|
+
const changed = first.__tnStaticChanged;
|
|
6958
|
+
if (typeof changed === "function") {
|
|
6959
|
+
if (engineRoots === void 0) {
|
|
6960
|
+
engineRoots = [...frozen.keys()];
|
|
6961
|
+
first.__tnStaticRoots.call(first, engineRoots);
|
|
6962
|
+
}
|
|
6963
|
+
const roots = engineRoots;
|
|
6964
|
+
for (const index of changed.call(first)) {
|
|
6965
|
+
const root = roots[index];
|
|
6966
|
+
freezeRoot(root, frozen.get(root)?.parent !== void 0);
|
|
6967
|
+
rearmedSinceCensus += 1;
|
|
6968
|
+
}
|
|
6969
|
+
return;
|
|
6970
|
+
}
|
|
6971
|
+
parentMovedThisFrame.clear();
|
|
6907
6972
|
for (const entry of frozen.values()) {
|
|
6908
|
-
|
|
6909
|
-
|
|
6973
|
+
const engine = entry.parent !== void 0;
|
|
6974
|
+
if (engine) {
|
|
6975
|
+
const parent = entry.root.parent;
|
|
6976
|
+
const moved = parentMoved(parent);
|
|
6977
|
+
if (parent === entry.parent && entry.fresh !== true && !moved) continue;
|
|
6978
|
+
entry.fresh = false;
|
|
6979
|
+
if (snapshotMatches(entry.root, entry.snapshot, scratch2)) {
|
|
6980
|
+
entry.parent = parent;
|
|
6981
|
+
continue;
|
|
6982
|
+
}
|
|
6983
|
+
} else if (snapshotMatches(entry.root, entry.snapshot, scratch2)) continue;
|
|
6984
|
+
freezeRoot(entry.root, engine);
|
|
6910
6985
|
rearmedSinceCensus += 1;
|
|
6911
6986
|
}
|
|
6912
6987
|
}
|
|
6988
|
+
var parentSeen = /* @__PURE__ */ new WeakMap();
|
|
6989
|
+
var parentMovedThisFrame = /* @__PURE__ */ new Map();
|
|
6990
|
+
function parentMoved(parent) {
|
|
6991
|
+
if (parent === null) return false;
|
|
6992
|
+
const answered = parentMovedThisFrame.get(parent);
|
|
6993
|
+
if (answered !== void 0) return answered;
|
|
6994
|
+
const elements = parent.matrixWorld.elements;
|
|
6995
|
+
let seen = parentSeen.get(parent);
|
|
6996
|
+
let moved = seen === void 0;
|
|
6997
|
+
if (seen === void 0) {
|
|
6998
|
+
seen = new Float64Array(16);
|
|
6999
|
+
parentSeen.set(parent, seen);
|
|
7000
|
+
}
|
|
7001
|
+
for (let element = 0; element < 16; element += 1) {
|
|
7002
|
+
const value = elements[element] ?? 0;
|
|
7003
|
+
if (seen[element] !== value) moved = true;
|
|
7004
|
+
seen[element] = value;
|
|
7005
|
+
}
|
|
7006
|
+
parentMovedThisFrame.set(parent, moved);
|
|
7007
|
+
return moved;
|
|
7008
|
+
}
|
|
6913
7009
|
function staticTransformCensus() {
|
|
6914
7010
|
let objects = 0;
|
|
6915
7011
|
for (const entry of frozen.values()) objects += entry.objects;
|
|
@@ -6923,6 +7019,8 @@ function staticTransformCensus() {
|
|
|
6923
7019
|
}
|
|
6924
7020
|
function resetStaticTransforms() {
|
|
6925
7021
|
frozen.clear();
|
|
7022
|
+
engineRoots = void 0;
|
|
7023
|
+
parentMovedThisFrame.clear();
|
|
6926
7024
|
rearmedSinceCensus = 0;
|
|
6927
7025
|
}
|
|
6928
7026
|
|
|
@@ -7361,6 +7459,9 @@ async function warmUpSceneWithCompletion(renderer, scene, camera, options = {})
|
|
|
7361
7459
|
const report2 = await warmUpScene(renderer, scene, camera, options);
|
|
7362
7460
|
return { report: report2, completion: warmUpCompletions.get(report2) ?? Promise.resolve() };
|
|
7363
7461
|
}
|
|
7462
|
+
function isFrameGateTimeout(error) {
|
|
7463
|
+
return error instanceof Error && error.message.startsWith("TN_WARMUP_FRAME_GATE");
|
|
7464
|
+
}
|
|
7364
7465
|
function nativeEnvironmentPreparer(raw) {
|
|
7365
7466
|
return typeof raw?.prepareEnvironmentAsync === "function" ? raw : void 0;
|
|
7366
7467
|
}
|
|
@@ -7925,11 +8026,13 @@ async function warmUpScene(renderer, scene, camera, options = {}) {
|
|
|
7925
8026
|
const pass = await renderWarmPassesOnce();
|
|
7926
8027
|
if (pass === void 0) {
|
|
7927
8028
|
if (passError === void 0 && now3() >= startedAt + budgetMs) return;
|
|
8029
|
+
if (isFrameGateTimeout(passError)) return;
|
|
7928
8030
|
throw passError ?? new Error("covered world warm render did not settle");
|
|
7929
8031
|
}
|
|
7930
8032
|
});
|
|
7931
8033
|
};
|
|
7932
8034
|
let gpuDrainSettled = true;
|
|
8035
|
+
let compileOutran = false;
|
|
7933
8036
|
const compileWithinDeadline = async (deadline2, work, yieldFrame2, now4) => {
|
|
7934
8037
|
let settled = false;
|
|
7935
8038
|
const track = () => {
|
|
@@ -7937,7 +8040,8 @@ async function warmUpScene(renderer, scene, camera, options = {}) {
|
|
|
7937
8040
|
};
|
|
7938
8041
|
void work.then(track, track);
|
|
7939
8042
|
const finished = await withinDeadline(deadline2, work, yieldFrame2, now4);
|
|
7940
|
-
|
|
8043
|
+
compileOutran = !finished && !settled;
|
|
8044
|
+
if (compileOutran) pendingCompiles.push(work);
|
|
7941
8045
|
return finished;
|
|
7942
8046
|
};
|
|
7943
8047
|
const finish = (report3) => {
|
|
@@ -8018,7 +8122,7 @@ async function warmUpScene(renderer, scene, camera, options = {}) {
|
|
|
8018
8122
|
elapsedMs: now3() - startedAt,
|
|
8019
8123
|
unsupported: false,
|
|
8020
8124
|
abandoned: finished2 ? 0 : 1,
|
|
8021
|
-
timedOut: !finished2 && (passError === void 0 || now3() >= deadline2)
|
|
8125
|
+
timedOut: !finished2 && (passError === void 0 || compileOutran || now3() >= deadline2)
|
|
8022
8126
|
})
|
|
8023
8127
|
);
|
|
8024
8128
|
}
|
|
@@ -8913,4 +9017,4 @@ var STORAGE_PLAIN = {
|
|
|
8913
9017
|
};
|
|
8914
9018
|
var SOURCE_FLOOR = 16;
|
|
8915
9019
|
|
|
8916
|
-
export { ASSET_LATE_MARKER, AutoBatch, DEFAULT_CLIP_EXTENTS, DEFAULT_MAX_LEVEL_RATIO, DEFAULT_TARGET_FPS, DRAW_ARGS_BYTES, DRAW_ARGS_WORDS, INSTANCED_LOD_MAX_PIXEL_ERROR, InstancedBatch, LOCAL_WORDS, MAX_TARGET_FPS, MIN_BATCH_MEMBERS, NO_LOCAL, PLACEMENT_ROWS, PLACEMENT_WORDS, RenderCameraCull, SLOT_NONE, SOURCE_FLOOR, SPANS, SPANS_FLAG, SPANS_MARKER, SPAN_COUNT, SPAN_NAMES, STARTUP_COMPILE_BUDGET_MS, STARTUP_OFFSCREEN_BYTES_MARKER, STARTUP_STABLE_WINDOW_MS, STARTUP_STALL_MS, STATIC_TRANSFORM_MARKER, STORAGE_PLAIN, SkinnedBatch, SpanRecorder, StartupReadiness, TALLY_EVERY, VALIDATE_EVERY, VEC4_WORDS, VIRTUAL_SHADOW_CASTER_LAYER, VIRTUAL_SHADOW_KEY_LAYER, VIRTUAL_SHADOW_MOVER_LAYER, VIRTUAL_SHADOW_SMALL_CASTER_LAYER, VIRTUAL_SHADOW_WIDE_CASTER_LAYER, addInSlices, addRange, addSpan, alwaysRender, animationPacketField, animationPacketMethodsPristine, animationPacketReaders, animationPacketTime, animationPacketTimeReaders, argsWords, autoBatchOf, baseColorOf, batchRecords, beginSpan, clipLadder, composeSilencedByFreeze, createAssetLoader, createProjectionScanWorkspace, displacesVertices, drainMeshPool, drawWorld, dropPooledFor, endSliceFrames, endSpan, fetchAsset, formatSpansWindow, frustumPlanes, geometryVersionSum, growBuffer, hasMorphAttributes, hasRenderHook, invalidateStatic, isAutoBatchMerged, isLight, isRenderable, isSimilarityTransform, isStatic, loadAll, markStatic, measureStartupOffscreenBytes, mergeByMaterial, mergeParts, nodes, noteSliceFrame, observeAnimationRates, parkMesh, placedBox, pooledCapacity, pooledMesh, prepareSceneEnvironment, reconcileMirroredClips, refreshStaticTransforms, releaseProjectionScanWorkspace, rendererFacts, reportUnusedModelsLater, resetStaticTransforms, resolveTargetFps, scanProjection, sceneNeedsEnvironmentPreparation, setSpanRecorder, snapRefreshRate, spanNow, spanRecorder, spansRequested, staticRoots, staticTransformCensus, storageAttribute, trackAnimationRate, uniformUnchanged, unmarkStatic, untrackAnimationRate, warmUpComputeNodes, warmUpScene, warmUpSceneWithCompletion, worldSilencedByFreeze, yieldToHost };
|
|
9020
|
+
export { ASSET_LATE_MARKER, AutoBatch, DEFAULT_CLIP_EXTENTS, DEFAULT_MAX_LEVEL_RATIO, DEFAULT_TARGET_FPS, DRAW_ARGS_BYTES, DRAW_ARGS_WORDS, INSTANCED_LOD_MAX_PIXEL_ERROR, InstancedBatch, LOCAL_WORDS, MAX_TARGET_FPS, MIN_BATCH_MEMBERS, NO_LOCAL, PLACEMENT_ROWS, PLACEMENT_WORDS, RenderCameraCull, SLOT_NONE, SOURCE_FLOOR, SPANS, SPANS_FLAG, SPANS_MARKER, SPAN_COUNT, SPAN_NAMES, STARTUP_COMPILE_BUDGET_MS, STARTUP_OFFSCREEN_BYTES_MARKER, STARTUP_STABLE_WINDOW_MS, STARTUP_STALL_MS, STATIC_TRANSFORM_MARKER, STORAGE_PLAIN, SkinnedBatch, SpanRecorder, StartupReadiness, TALLY_EVERY, VALIDATE_EVERY, VEC4_WORDS, VIRTUAL_SHADOW_CASTER_LAYER, VIRTUAL_SHADOW_KEY_LAYER, VIRTUAL_SHADOW_MOVER_LAYER, VIRTUAL_SHADOW_SMALL_CASTER_LAYER, VIRTUAL_SHADOW_WIDE_CASTER_LAYER, addInSlices, addRange, addSpan, alwaysRender, animationPacketField, animationPacketMethodsPristine, animationPacketReaders, animationPacketTime, animationPacketTimeReaders, argsWords, autoBatchOf, baseColorOf, batchRecords, beginSpan, clipLadder, composeSilencedByFreeze, createAssetLoader, createProjectionScanWorkspace, displacesVertices, drainMeshPool, drawWorld, dropPooledFor, endSliceFrames, endSpan, fetchAsset, formatSpansWindow, frustumPlanes, geometryVersionSum, growBuffer, hasMorphAttributes, hasRenderHook, invalidateStatic, isAutoBatchMerged, isLight, isRenderable, isSimilarityTransform, isStatic, loadAll, markEngineStatic, markStatic, measureStartupOffscreenBytes, mergeByMaterial, mergeParts, nodes, noteSliceFrame, observeAnimationRates, parkMesh, placedBox, pooledCapacity, pooledMesh, prepareSceneEnvironment, reconcileMirroredClips, refreshStaticTransforms, releaseProjectionScanWorkspace, rendererFacts, reportUnusedModelsLater, resetStaticTransforms, resolveTargetFps, scanProjection, sceneNeedsEnvironmentPreparation, setSpanRecorder, snapRefreshRate, spanNow, spanRecorder, spansRequested, staticRoots, staticTransformCensus, storageAttribute, trackAnimationRate, uniformUnchanged, unmarkStatic, untrackAnimationRate, warmUpComputeNodes, warmUpScene, warmUpSceneWithCompletion, worldSilencedByFreeze, yieldToHost };
|