Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commitdd348ac6c3

README.md

sink

The sinks: a generated mesh, texture, material or population written out as a real asset.

The definitions live in proc.ops.sinks; this pack is what puts them in the op registry, so procgen.searchNodes("", { pack = "sink" }) lists the family and procgen.describeNode("op.<id>") describes any one of them.

Ops

  • mesh.write — Persist a Geometry as a .mesh asset (engine-native ZMSH via the mesh assetType's asset.create)
  • texture.write — Persist a procedural Texture as a .texture asset (data.ztex via the texture assetType)
  • material.write — Persist a procedural Material as a .material asset (via the material assetType)
  • population.write — Persist a Population as a .population asset (recipe + transform blob; one asset at any instance count)
  • debug.dump — Inspect any graph value into a Data summary (type + type-specific stats)
  • debug.validate — Validate a Geometry, returning a Data report of any issues