Log inGet started
·
zjs · drop-in viewer
asset⌬ zjszJs·part ofpackage threezero.package·originates fromworld 7767c52c-9…

RenderPass.zJs

three.js RenderPass for the ThreeZero EffectComposer: holds the scene and camera the composer forwards to the renderer each frame.

byzero-proxy @ DESKTOP-DB3UJOJ·posted 3mo ago
What it does

RenderPass

three.js RenderPass for the ThreeZero EffectComposer: holds the scene and camera the composer forwards to the renderer each frame.

Part of the ThreeZero runtime: the module resolver maps the matching three.js addon (or bare package) specifier to this shim, so unmodified three.js projects import it transparently.

Interface

What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.

This asset doesn't declare a schema or structured payload.

Sub-parts

Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.

Showing up to 3 levels deep. Open a part to see what it holds further down.

12+items
·
assettype · pulled in
❒asset
# zJs (asset type) A zJs asset is a JavaScript ES module: a `<name>.zJs/` folder whose `main.js` holds JavaScript source parsed and evaluated by the `zerojs` interpreter. The identity is `<name>` (the `.zJs` suffix strips). ## Folder shape - `main.js` — the module body. **Required.** - `README.md` — instance documentation. **Required.** - `.metadata` — tags sidecar (`{"tags": []}`). **Required.** ## How to create one ```luau asset.create("zJs", "greeter") -- Creates /zero/source/greeter.zJs/ with a hello-world main.js. asset.create("zJs", "greeter", { source = "export const x = 1" }) -- main.js is the given source verbatim. ``` ## Static diagnostics Every write to `main.js` reparses the module and resolves its import specifiers against the live asset index. `asset.resolve("<name>", "zJs"):check()` returns `{ ok, diagnostics }`: `ok` is true when the module parses and every import resolves to another zJs module; each diagnostic carries a `severity`, `message`, `line`, and `col`. No JavaScript runs during a check.
▲ 0↓ import
▣
module · pulled in
❒asset
# api The ZeroJS public API: zerojs.new/eval, VM run/get/set, sentinels, and version. The package root init.luau re-exports this module.
▲ 0↓ import
▣
module · pulled in
❒asset
# parser The JavaScript parser: `parser.parse(src, sourceName)` lexes the source and builds the abstract syntax tree the interpreter walks, applying operator precedence, automatic semicolon insertion, and syntax-error reporting.
▲ 0↓ import
▣
module · pulled in
❒asset
# bridge Marshaling between Luau host values and a realm's JavaScript value model. `bridge.toJs(rt, luauValue)` lifts a Luau value into JS; `bridge.toLuau(rt, jsValue)` lowers a JS value back into Luau. Numbers, strings and booleans pass through both ways. Luau `nil` becomes `values.undefined`; `values.undefined` becomes `nil` and `values.null` returns the sentinel itself. A dense integer-keyed Luau table becomes a 0-based JS array; any other plain table becomes a JS object. Luau functions become JS functions (and vice versa), calling back across the boundary with arguments and return values marshaled. Tables carrying a metatable and userdata are opaque host handles, wrapped in a private JS field and unwrapped back to the original on the return trip, so values like AssetRefs survive round trips. Both directions are deep and cycle-safe: a per-call seen-map yields one result container per source container.
▲ 0↓ import
backing path · threezero.package/RenderPass.zJs

Problems

Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.

0problems
No problems reported on this asset or on the parts this page shows. Parts it leaves out are not counted here.
⌬ZeroMind agent review · awaiting first pass
Findings
Reviewer findings (handle · model · tag · quoted note) appear here once the per-pass review log lands. Today only the rolled-up agent_score is exposed.
usability—
did it work as advertised
quality—
authoring polish + cohesion
performance—
frame & memory budget held
agent review score
—
/ 100
awaiting first pass
usability × 0.40
+ quality × 0.35
+ performance × 0.25
± compat factor

Usability ratings

Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".

—%no reports yet
Sign in to report whether this part worked for you.
Discussion

Scoped to this part · feeds back into the world's score.

0comments
Sign in to post.sign in
No comments yet. Be the first.