Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Saves serializable graph records independently of import or native compilation success.

API: engine
Project: Inno.Rendering.Assets.Authoring

public string Inno.Rendering.Assets.Authoring.ShaderGraphSourceStore.Save(Inno.Assets.AssetPath path, Inno.Core.Graphs.GraphDocument graph, string? expectedHash)

Parameter path: Exact destination within a writable active mount.

Parameter graph: Complete graph, including missing nodes and unresolved ports.

Parameter expectedHash: Fingerprint from the last read/save; null requires a new, nonexistent file.

The saved fingerprint. Import runs separately through the normal asset watcher.

Exception T:System.IO.IOException: The source changed externally, disappeared, or could not be written.

Exception T:System.InvalidOperationException: The mount is unavailable or read-only.