Synced
ShaderGraphArtifact.Encode
Section titled “ShaderGraphArtifact.Encode”
- Captures one native immutable graph import candidate.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering.Assets.Authoring
Declaration
Section titled “Declaration”public static byte[] Inno.Rendering.Assets.Authoring.ShaderGraphArtifact.Encode(Inno.Core.Graphs.GraphDocument graph, System.Collections.Generic.IReadOnlyDictionary<Inno.Core.Graphs.GraphNodeId, byte[]> sources, Inno.Core.Serialization.SerializationRegistry serialization, Inno.Core.Graphs.GraphDocument? program = null)Parameters
Section titled “Parameters”Parameter graph: Authored graph with original node and port identities.
Parameter sources: Frozen function bundles keyed by source node identity.
Parameter serialization: Owner native converter registry.
Parameter program: Target-expanded explicit stages, or null when the authored graph already contains them.
Returns
Section titled “Returns”Deterministic authoring artifact bytes without live objects.