Synced
ShaderGraphDocument.ReadDefinition
Section titled “ShaderGraphDocument.ReadDefinition”
- Reads the material and pass contract without evaluating or altering the graph.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Rendering.Shaders
Scope: Editor
Declaration
Section titled “Declaration”public static InnoEngine.Rendering.ShaderDefinition InnoEditor.Rendering.Shaders.ShaderGraphDocument.ReadDefinition(InnoEngine.Graphs.GraphDocument graph, InnoEngine.Serialization.SerializationRegistry serialization, InnoEngine.Serialization.SerializationContext context)Parameters
Section titled “Parameters”Parameter graph: Native shader graph.
Parameter serialization: The owner converter registry.
Parameter context: The complete owner reference context.
Returns
Section titled “Returns”A detached contract; missing or corrupt metadata is an explicit error.