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: engine
Project: Inno.Rendering.Shaders
Declaration
Section titled “Declaration”public static Inno.Rendering.Assets.ShaderDefinition Inno.Rendering.Shaders.ShaderGraphDocument.ReadDefinition(Inno.Core.Graphs.GraphDocument graph, Inno.Core.Serialization.SerializationRegistry serialization, Inno.Core.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.