Expand description
OneDrop CLI - Command-line interface for MilkDrop visualizations
StructsΒ§
- Cli π
- Strict
Result π - One row of the
validate --strictCSV. Mirrors the fields oftools/src/sample.rs::PresetResultso the long-tail triage workflow works the same way whether you reach for the CLI or the bench tool.
EnumsΒ§
FunctionsΒ§
- bucket_
eval_ πerror - Coarse-grained classification of an eval error message. Matches the
buckets used by
tools/src/sample.rsso a CLI run and a bench run produce comparable stats. - cmd_
benchmark π - Run
framesframes through the engine and print per-frame timing statistics. The first frame is excluded from the summary (compile + upload one-shot costs would skew the mean). - cmd_
compile_ πshaders - Iterate
.milkfiles indirectory, attempt to compile each presetβscomp_shaderHLSL through the user-shader pipeline, and write a CSV report (name,has_comp_shader,parse_ok,compile_ok,error_kind,error_excerpt). - cmd_
dump_ πshader - Run a presetβs
warp_shader/comp_shaderHLSL through the translator and print the resulting WGSL on stdout. Failures print the translatorβs error to stderr and continue (so--kind=bothstill emits the other shader). Exit code is non-zero only when nothing at all could be emitted. - cmd_
info π - cmd_
list π - cmd_
list_ πaudio - cmd_
render π - cmd_
validate π - cmd_
validate_ πstrict_ dir - Strict mode against a directory: walk every
.milkfile, run the pipeline, emit a CSV report, and print a stage-by-stage summary so the long tail can be triaged without re-reading the CSV. - csv_
escape π - first_
line π - main π
- parse_
dump_ πkind - parse_
mesh_ πsize - Parse
--mesh-sizearg: accepts named presets (low,medium,high,ultra) or an explicitCOLSxROWSform (e.g.64x48). Returns the resolved(cols, rows). Values are clamped to MD2βs[2, 192] Γ [2, 96]window downstream byMilkRenderer::set_mesh_size. - print_
strict_ πsummary - print_
top_ πbuckets - report_
strict_ πrow_ human - Single-preset strict report renderer for
validate --strict <file>. - run_
strict_ πpipeline - Run the full pipeline against one preset, collecting per-stage status.
- strict_
first_ πline