Synced
ShaderGraphTemplateRegistry.Create
Section titled “ShaderGraphTemplateRegistry.Create”
- Invokes the selected template under one generation lease.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering.Shaders
Declaration
Section titled “Declaration”public Inno.Core.Graphs.GraphDocument Inno.Rendering.Shaders.ShaderGraphTemplateRegistry.Create(string id, Inno.Core.Serialization.SerializationRegistry serialization, Inno.Core.Serialization.SerializationContext context)Parameters
Section titled “Parameters”Parameter id: Stable template identity from the creation menu.
Parameter serialization: Current owner converters.
Parameter context: Complete owner reference context.
Returns
Section titled “Returns”A detached graph; no provider instance crosses the invocation boundary.
Exceptions
Section titled “Exceptions”Exception T:System.InvalidOperationException: The selected template is unavailable.