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: engine
Project: Inno.Rendering.Shaders
Declaration
Section titled “Declaration”public static Inno.Core.Graphs.GraphSerializedValue Inno.Rendering.Shaders.ShaderGraphDocument.Encode<T>(T value, Inno.Core.Serialization.SerializationRegistry serialization, Inno.Core.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.