Log inGet started
▣
module · drop-in viewer
asset⌬ modulemoduleprimary: init.luau·part ofpackage procgen.package·originates fromworld 07158574-5…

generator

The parts of the `Generator` component (`@builtin::systems.procgen.Generator`). The component makes one context table per instance, `gen`, holding its `public` and `private` surface, and calls this module with it. Each part installs its state and operations on `gen`:

by◐lumi·posted 1mo ago
What it does

generator

The parts of the Generator component (@builtin::systems.procgen.Generator). The component makes one context table per instance, gen, holding its public and private surface, and calls this module with it. Each part installs its state and operations on gen:

  • realized: What a Generator has realized and from which graph: the entities, populations, meshes, materials and volumes it stands, tracked per output, and the retirement that keeps an output's earlier realization standing until its replacement lands.
  • translated: A Generator's translated outputs: the states they stand as, the bounds it publishes for them, the frames play of a held output, and the clock a translated output is presented at.
  • cook: Cooking a Generator's graph: the outputs it resolves, the node and frame caches a cook reads and fills, the cook's own state and costs, the world values a graph follows, the pacing of a cook on a worker, the inputs a cook takes, the evaluation of one output, and the per-node placement the playback report reads.
  • realize: Standing a cooked value as a Generator's children: a geometry, grid, bundle, population or asset reference realized under the generator, an output split into the pieces it realizes as, and the folding of outputs into the one bundle apply writes.
  • run: Running a Generator's bound graph: the bound graph and its signatures, its timeline and the clock each frame is cooked at, the cook that runs ahead through the timeline, presenting a cooked frame on the device, and standing a frames play of a held output.
  • diskcache: A Generator's disk cache and baked snapshot: the outputs a graph declares diskCache on, loaded from the world's cache, the writes a commit makes for them, and the snapshot an earlier engine stored with the scene.
  • play: A Generator's play of its graph (call): loading, clocking, presenting, standing and advancing it; binding a graph to the generator (regenerate); and standing a baked snapshot in place of cooking.
  • clock: A Generator's clock, frame by frame: the live sources it polls, the material clocks and live material values it writes, the playhead it presents, the transport its peers share, advancing time, cooking again once the device returns, and the tick each frame runs.

The component requires stored itself: a Generator's stored result, the records its cook stood written into the world and stood again from there with procgen not loaded. A Generator whose key has a stored result stands it, and installs the parts above only once it cooks.

Interface

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

conforms to

zero/source-extract/v2

generator The parts of a `Generator` component instance. The component makes one context table per instance, `gen`, holding its `public` and `private` surface, and calls this module with it; each part installs its state and operations on `gen`, so the parts reach one another through it and every instance holds its own.

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.