rayzee 5.10.1 → 5.11.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/README.md +4 -1
- package/dist/rayzee.es.js +222 -190
- package/dist/rayzee.es.js.map +1 -1
- package/dist/rayzee.umd.js +17 -17
- package/dist/rayzee.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/PathTracerApp.js +9 -2
- package/src/Processor/TextureCreator.js +42 -15
- package/src/TSL/PathTracerCore.js +24 -3
- package/src/managers/OverlayManager.js +14 -2
package/README.md
CHANGED
|
@@ -230,7 +230,10 @@ const engine = new PathTracerApp(canvas, options?)
|
|
|
230
230
|
| `canvas` | `HTMLCanvasElement` | Rendering target |
|
|
231
231
|
| `options.autoResize` | `boolean` | Auto-resize on window resize (default: `true`) |
|
|
232
232
|
| `options.showStats` | `boolean` | Show the performance stats panel (default: `true`) |
|
|
233
|
-
| `options.
|
|
233
|
+
| `options.container` | `HTMLElement` | Single DOM parent the engine mounts auxiliary elements into — HUD overlay (tile borders, helpers), denoiser canvas, and stats panel. Defaults to `canvas.parentNode`. |
|
|
234
|
+
| `options.statsContainer` | `HTMLElement` | Override mount target for the stats panel only. Defaults to `options.container`. |
|
|
235
|
+
|
|
236
|
+
The engine creates and mounts everything it needs (denoiser canvas, tile/HUD overlay, stats) into a single parent on `init()`
|
|
234
237
|
|
|
235
238
|
#### Lifecycle
|
|
236
239
|
|