Synced
ShaderGraphArtifact.ReadDocument
Section titled “ShaderGraphArtifact.ReadDocument”
- Restores the imported graph for authoring or source export.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering.Assets.Authoring
Declaration
Section titled “Declaration”public static Inno.Core.Graphs.GraphDocument Inno.Rendering.Assets.Authoring.ShaderGraphArtifact.ReadDocument(System.ReadOnlySpan<byte> bytes, Inno.Core.Serialization.SerializationRegistry serialization)Parameters
Section titled “Parameters”Parameter bytes: Current authoring artifact bytes.
Parameter serialization: Owner native converter registry.
Returns
Section titled “Returns”A detached graph retaining all authored records.