Auto-batching & render settings β at the terminal
The rendering-settings registry and the transparent auto-batcher are engine features β the manual page Performance: auto-batching & render settings explains them; here they are, real, at the terminal (captured output below).
# transcript pending capture β run: node site/media/capture-cli.mjs site/media/capture-cli.mjs -
List the rendering-settings registry.
RENDER_FEATURES(packages/engine/src/render/render-features.ts) is the single source of the scene-levelenvironment.renderingtoggles βautoBatch,frustumCulling,lod,shadows,postProcessing,resolutionScale,antialias,backendβ each printed with its default (all on;resolutionScale1;backend"auto"). These are the same fields the editorβs Rendering environment section exposes. -
Run the render-settings tests.
vitest run render-settingsexercises how those settings are applied (render-settings.ts) and the transparent auto-batcher (auto-batcher.ts/render-batch-system.ts) β real passing tests, not a claim.
Recap
New functionality
- Listed the scene rendering-settings registry + defaults
- Ran the render-settings / auto-batch tests
New concepts & skills
- environment.rendering toggles come from one registry (RENDER_FEATURES)
- auto-batching is transparent + gated opt-out
- the editor Rendering section edits these same fields
Next lesson β Performance (manual)