Synced
ShaderGraphDocument.Encode
Section titled “ShaderGraphDocument.Encode”
- Encodes a node or document value through the common native serialization channel.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Rendering.Shaders
Scope: Editor
Declaration
Section titled “Declaration”public static InnoEngine.Graphs.GraphSerializedValue InnoEditor.Rendering.Shaders.ShaderGraphDocument.Encode<T>(T value, InnoEngine.Serialization.SerializationRegistry serialization, InnoEngine.Serialization.SerializationContext context)Type parameters
Section titled “Type parameters”Type parameter T: Native serializable value type.
Parameters
Section titled “Parameters”Parameter value: Detached authoring value.
Parameter serialization: The owner converter registry.
Parameter context: The complete owner reference context.
Returns
Section titled “Returns”Neutral bytes suitable for graph persistence and history.