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

asset.procPack

The one node an asset enters a graph through.

by◐lumi·posted 1mo ago
What it does

asset

The one node an asset enters a graph through.

Ops

  • asset — an asset's content as a graph value, in the form its type states: a mesh is a Surface, a texture is a Texture. The asset is read when the node cooks.

An asset type states the conversion in the graph its behavior.luau declares: read(ref) answers the value, and write(value, name, place) persists a value as that asset again. The sinks that write a value back (mesh.write, texture.write) go through the same write, so what enters a graph and what leaves it are one conversion.

local rock = g:node("rock", "asset"):param("asset", "@builtin::meshes.sphere")
local heights = g:node("heights", "asset"):param("asset", "terrain_height")

procgen.searchNodes("", { pack = "asset" }) lists the family and procgen.describeNode("op.asset") describes it.

Interface

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

conforms to

zero/source-extract/v2

asset — the one node an asset enters a graph through. An asset type states how its content becomes a graph value, and how a value becomes that asset again, in the `graph` its behavior declares: `read` takes an asset of the type and answers the value, `write` takes a value and persists it. This node reads any asset whose type states a `read`.

graphOf(ref: any) → void

The type an asset reference names, and the `graph` that type states.

argtypedescription
refany

convertible( ) → void

Every asset type whose graph conversion this node reads, a `read` answering the value, for the refusal to name.

eval(_ctx: ?, _inputs: ?, params: ?) → void

argtypedescription
_ctx?
_inputs?
params?

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.