Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

chore: drop roadmap-stage references from code comments

yhh481182a4a5ac
diff --git a/build-tools/basis/README.md b/build-tools/basis/README.md
index d9db0a300..ae50c106e 100644
--- a/build-tools/basis/README.md
+++ b/build-tools/basis/README.md
@@ -1,8 +1,8 @@
# Basis Universal KTX2 encoder (build-time)
Vendored, prebuilt Basis Universal **encoder** wasm used by the asset cook to
-transcode source textures (PNG/JPG) into GPU-compressed **KTX2** at build time
-(RC6 Batch B4). Encode-time only — the *runtime* transcoder that turns KTX2 into
+transcode source textures (PNG/JPG) into GPU-compressed **KTX2** at build time.
+Encode-time only — the *runtime* transcoder that turns KTX2 into
ASTC/ETC2/BC on-device is a separate side module
(`sdk/src/asset/basisTranscoder.ts` + `src/esengine/bindings/BasisModuleEntry.cpp`).
diff --git a/build-tools/basis/encoder.mjs b/build-tools/basis/encoder.mjs
index 34cbb5a68..f656b30a6 100644
--- a/build-tools/basis/encoder.mjs
+++ b/build-tools/basis/encoder.mjs
@@ -1,8 +1,8 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
- * PNG/JPG/RGBA → KTX2 (Basis Universal) encoder for the build-time asset cook
- * (RC6 Batch B4). Wraps the vendored, prebuilt Basis encoder wasm
+ * PNG/JPG/RGBA → KTX2 (Basis Universal) encoder for the build-time asset cook.
+ * Wraps the vendored, prebuilt Basis encoder wasm
* (basis_encoder.cjs + basis_encoder.wasm — built from third_party/basis_universal,
* see README.md) behind a small Promise API. Build-time only: the *runtime*
* transcoder is a separate side module (sdk/src/asset/basisTranscoder.ts).
diff --git a/desktop/electron/cookAssets.ts b/desktop/electron/cookAssets.ts
index 71b101e5f..82d902720 100644
--- a/desktop/electron/cookAssets.ts
+++ b/desktop/electron/cookAssets.ts
@@ -28,10 +28,10 @@ const MANIFEST = 'assets.manifest.json';
/**
* One cooked asset in the ship manifest. Extends the DB index entry with the
- * physical-identity fields RC6 needs: `contentHash` (XXH64 of the staged bytes)
+ * physical-identity fields it needs: `contentHash` (XXH64 of the staged bytes)
* and `size`. The runtime AssetRegistry consumes the same v1.0 manifest and
* simply ignores these extra fields (it maps uuid→path); the AddressableManifest
- * and content-addressed naming (RC6 B-F) are what read them.
+ * and content-addressed naming are what read them.
*/
export interface CookManifestEntry extends AssetEntry {
/** XXH64 (16 hex) of the exact bytes staged — the asset's physical identity. */
@@ -94,7 +94,7 @@ export async function cookAssets(
// Stage each reachable asset's file + build the ship manifest. We read the
// bytes (rather than copyFile) so we can content-hash exactly what ships — the
- // asset's physical identity (RC6 Batch B). After B4 this naturally hashes the
+ // asset's physical identity. Once textures are encoded this naturally hashes the
// ENCODED artifact (e.g. the .ktx2), since it hashes whatever bytes we stage.
const manifestEntries: CookManifestEntry[] = [];
for (const uuid of reachable) {
diff --git a/desktop/electron/exportWeChat.ts b/desktop/electron/exportWeChat.ts
index 2510edf6e..d309f90ea 100644
--- a/desktop/electron/exportWeChat.ts
+++ b/desktop/electron/exportWeChat.ts
@@ -137,8 +137,8 @@ async function scanWeChatSideModules(
/** Read the web cook's flat manifest → AddressableManifest the WeChat runtime reads.
* Carries the cook's `contentHash` (XXH64) + `size` through so the runtime can
- * dedupe by content and treat `<hash>.<ext>` as a permanently-cacheable CDN URL
- * (RC6 Batch B); falls back to stat() for size only if a legacy cook omitted it. */
+ * dedupe by content and treat `<hash>.<ext>` as a permanently-cacheable CDN URL;
+ * falls back to stat() for size only if a legacy cook omitted it. */
async function buildAddressableManifest(absOut: string): Promise<string> {
const cook = JSON.parse(await readFile(path.join(absOut, 'assets.manifest.json'), 'utf8')) as CookManifest;
type Entry = { path: string; type: string; size: number; labels: string[]; contentHash?: string };
diff --git a/desktop/tests/cook-assets.test.ts b/desktop/tests/cook-assets.test.ts
index a96216682..9257bfe9f 100644
--- a/desktop/tests/cook-assets.test.ts
+++ b/desktop/tests/cook-assets.test.ts
@@ -86,7 +86,7 @@ describe('cookAssets (A4)', () => {
expect(res.included).toEqual([]);
});
- it('records a contentHash + size for each staged asset (RC6 Batch B)', async () => {
+ it('records a contentHash + size for each staged asset', async () => {
const res = await cookAssets(root, { entryScenes: ['assets/scenes/main.esscene'], outDir: 'build' });
const manifest = JSON.parse(readFileSync(res.manifestPath!, 'utf8')) as AssetManifest;
for (const e of manifest.entries) {
diff --git a/desktop/tests/ktx2-encode.test.ts b/desktop/tests/ktx2-encode.test.ts
index 813050092..c87b6e298 100644
--- a/desktop/tests/ktx2-encode.test.ts
+++ b/desktop/tests/ktx2-encode.test.ts
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
- * @file RC6 Batch B4 — PNG/RGBA → KTX2 encode via the vendored Basis encoder.
+ * @file PNG/RGBA → KTX2 encode via the vendored Basis encoder.
* Validates the produced KTX2 container and round-trips it back to RGBA to
* confirm encode quality (PSNR), proving the cook's compressed-texture
* producer end-to-end before it is wired into the pipeline.
@@ -39,7 +39,7 @@ function gradient(size = 64): Uint8Array {
return px;
}
-describe('basis KTX2 encoder (RC6 B4)', () => {
+describe('basis KTX2 encoder', () => {
it('encodes raw RGBA → valid KTX2 and round-trips at high PSNR', async () => {
const size = 64;
const src = gradient(size);
diff --git a/sdk/src/asset/AssetPlugin.ts b/sdk/src/asset/AssetPlugin.ts
index d157bf7fc..439ad6ce5 100644
--- a/sdk/src/asset/AssetPlugin.ts
+++ b/sdk/src/asset/AssetPlugin.ts
@@ -41,7 +41,7 @@ export class AssetPlugin implements Plugin {
// Lazily acquire the Basis transcoder for KTX2 textures the same way
// physics/spine acquire their modules — only when a compressed texture is
- // actually loaded (RC6 Batch C). The closure defers to app.sideModules,
+ // actually loaded. The closure defers to app.sideModules,
// which the realm sets before any asset load.
assets.getTextureLoader().setTranscoderProvider(async () => {
const host = app.sideModules;
diff --git a/sdk/src/asset/basisTranscoder.ts b/sdk/src/asset/basisTranscoder.ts
index 66fc9dddc..5aa8557d3 100644
--- a/sdk/src/asset/basisTranscoder.ts
+++ b/sdk/src/asset/basisTranscoder.ts
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
- * Runtime side of the Basis Universal KTX2 transcoder (RC6 Batch C3).
+ * Runtime side of the Basis Universal KTX2 transcoder.
*
* Loads the standalone `basis` wasm module (built like spine/physics) and adapts
* its C API to the {@link BasisTranscoder} seam consumed by the texture loader.
diff --git a/sdk/src/asset/compressed.ts b/sdk/src/asset/compressed.ts
index a463bd7b9..5411ae0ea 100644
--- a/sdk/src/asset/compressed.ts
+++ b/sdk/src/asset/compressed.ts
@@ -1,18 +1,18 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
- * Compressed-texture loading (KTX2 / Basis Universal) — RC6 Batch C.
+ * Compressed-texture loading (KTX2 / Basis Universal).
*
* Decoded textures stay GPU-compressed in VRAM (4–8× smaller than RGBA8), the key
* constraint on mobile. The actual transcode is done by a wasm side-module behind
- * the {@link BasisTranscoder} seam (Batch C3); this module owns the device
+ * the {@link BasisTranscoder} seam; this module owns the device
* capability probe, the format choice, and the WebGL upload — all testable without
* the wasm.
*
* Upload is JS-direct (`gl.compressedTexImage2D`) to mirror the existing
* `TextureLoader` PNG path, and because WebGL compressed-texture extensions must be
* enabled JS-side via `getExtension`. The C++ `GfxDevice::compressedTexImage2D`
- * entry (RC6-A) backs the non-WebGL2 fallback path instead.
+ * entry backs the non-WebGL2 fallback path instead.
*/
import type { ESEngineModule } from '../wasm';
import { requireResourceManager } from '../resourceManager';
@@ -63,7 +63,7 @@ export interface RgbaResult {
/**
* Decodes a KTX2/Basis container into GPU-ready bytes. The concrete implementation
- * is a wasm side-module (Batch C3) injected behind this interface, so the loader
+ * is a wasm side-module injected behind this interface, so the loader
* decision logic stays unit-testable without it.
*/
export interface BasisTranscoder {
diff --git a/sdk/src/asset/contentHash.ts b/sdk/src/asset/contentHash.ts
index 5ea4dd26a..f1a731aff 100644
--- a/sdk/src/asset/contentHash.ts
+++ b/sdk/src/asset/contentHash.ts
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
- * Content hashing for asset identity (RC6 Batch B — content-addressed identity).
+ * Content hashing for asset identity (content-addressed identity).
*
* XXH64 — a fast, well-distributed 64-bit non-cryptographic hash — is the single
* canonical definition backing {@link AddressableManifest}'s `contentHash` field.
diff --git a/sdk/src/runtimeLoader.ts b/sdk/src/runtimeLoader.ts
index 7e1d19e51..522a2dcd5 100644
--- a/sdk/src/runtimeLoader.ts
+++ b/sdk/src/runtimeLoader.ts
@@ -60,7 +60,7 @@ async function loadTextures(
for (const ref of texturePaths) {
try {
const params = texSettings?.[ref];
- // KTX2 stays GPU-compressed in VRAM (RC6): decode to a device format
+ // KTX2 stays GPU-compressed in VRAM: decode to a device format
// through the SAME compressed.ts core the editor TextureLoader uses, so
// both paths agree by construction. Non-KTX2 keeps the RGBA upload.
if (transcoder && gl && provider.resolvePath(ref).toLowerCase().endsWith('.ktx2')) {
diff --git a/sdk/src/sideModules/registry.ts b/sdk/src/sideModules/registry.ts
index 7a36d1112..9fa28ac52 100644
--- a/sdk/src/sideModules/registry.ts
+++ b/sdk/src/sideModules/registry.ts
@@ -34,7 +34,7 @@ export interface SideModuleDescriptor {
export const SIDE_MODULES: Record<SideModuleId, SideModuleDescriptor> = {
physics: { file: 'physics' },
- // Basis Universal KTX2 transcoder (RC6) — compressed textures decode to a
+ // Basis Universal KTX2 transcoder — compressed textures decode to a
// GPU format on demand. MODULARIZE glue with a named EXPORT_NAME, like spine.
basis: { file: 'basis', globalName: 'ESBasisModule' },
'spine:3.8': { file: 'spine38', globalName: 'ESSpineModule' },
diff --git a/sdk/tests/content-hash.test.ts b/sdk/tests/content-hash.test.ts
index 0ecc21d9d..07ae4aa8f 100644
--- a/sdk/tests/content-hash.test.ts
+++ b/sdk/tests/content-hash.test.ts
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
- * @file Content hash (RC6 Batch B). XXH64 is the canonical `contentHash`
+ * @file Content hash. XXH64 is the canonical `contentHash`
* algorithm; correctness is anchored on the official empty-input vector,
* with determinism / sensitivity / branch-coverage guards around it.
*/
diff --git a/src/esengine/bindings/BasisModuleEntry.cpp b/src/esengine/bindings/BasisModuleEntry.cpp
index 1dd165009..de6cfcee7 100644
--- a/src/esengine/bindings/BasisModuleEntry.cpp
+++ b/src/esengine/bindings/BasisModuleEntry.cpp
@@ -2,7 +2,7 @@
// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
* @file BasisModuleEntry.cpp
- * @brief Emscripten module: Basis Universal KTX2 transcoder (RC6 Batch C3)
+ * @brief Emscripten module: Basis Universal KTX2 transcoder
* @details A standalone wasm module (built like spine/physics) exposing a small C
* API over basist::ktx2_transcoder. The SDK loads it on demand and uses it
* to turn a KTX2/Basis container into GPU-ready compressed (or RGBA8) bytes
diff --git a/src/esengine/resource/ResourceManager.hpp b/src/esengine/resource/ResourceManager.hpp
index 4f3f2e010..bed8de6ac 100644
--- a/src/esengine/resource/ResourceManager.hpp
+++ b/src/esengine/resource/ResourceManager.hpp
@@ -51,7 +51,7 @@ struct ResourceStats {
usize indexBufferCount = 0; ///< Number of active index buffers
usize cacheHits = 0; ///< Number of cache hits since reset
usize cacheMisses = 0; ///< Number of cache misses since reset
- usize textureBytes = 0; ///< Resident texture bytes (RGBA8 estimate) — VRAM usage (RC6)
+ usize textureBytes = 0; ///< Resident texture bytes (RGBA8 estimate) — VRAM usage
};
// =============================================================================
diff --git a/src/esengine/resource/ResourcePool.hpp b/src/esengine/resource/ResourcePool.hpp
index 2acce7e23..5a18bb72e 100644
--- a/src/esengine/resource/ResourcePool.hpp
+++ b/src/esengine/resource/ResourcePool.hpp
@@ -272,7 +272,7 @@ public:
}
// =========================================================================
- // Eviction budget (RC6 gap 3): held → evictable → evicted
+ // Eviction budget: held → evictable → evicted
// =========================================================================
/**
diff --git a/tests/renderer/test_compressed_format.cpp b/tests/renderer/test_compressed_format.cpp
index 4de603db5..8992ed69c 100644
--- a/tests/renderer/test_compressed_format.cpp
+++ b/tests/renderer/test_compressed_format.cpp
@@ -1,9 +1,9 @@
-// Native MSVC/CTest harness for the GfxDevice compressed-texture entry (RC6-A).
+// Native MSVC/CTest harness for the GfxDevice compressed-texture entry.
//
// No GL here — it drives MockGfxDevice to prove (1) the interface shape compiles
// and the mock satisfies the contract, and (2) the capability-gated upload
// decision: compressed when the device supports the format, RGBA8 fallback
-// otherwise. This is the exact decision TextureLoader will make in Batch C.
+// otherwise. This is the exact decision the texture loader makes at runtime.
#include "MockGfxDevice.hpp"
diff --git a/tests/resource/test_resource_pool.cpp b/tests/resource/test_resource_pool.cpp
index e4dec0786..378db317e 100644
--- a/tests/resource/test_resource_pool.cpp
+++ b/tests/resource/test_resource_pool.cpp
@@ -259,7 +259,7 @@ TEST_CASE("pool_mixed_operations") {
}
// =============================================================================
-// Eviction budget + LRU (RC6 gap 3): held → evictable → evicted
+// Eviction budget + LRU: held → evictable → evicted
// =============================================================================
TEST_CASE("pool_budget_zero_frees_immediately") {