Synced
ShaderGraphDocument.Create
Section titled “ShaderGraphDocument.Create”
- Creates an empty graph with a source-free shader contract; incomplete graphs remain serializable.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Rendering.Shaders
Scope: Editor
Declaration
Section titled “Declaration”public static InnoEngine.Graphs.GraphDocument InnoEditor.Rendering.Shaders.ShaderGraphDocument.Create(InnoEngine.Rendering.ShaderDefinition definition, InnoEngine.Serialization.SerializationRegistry serialization, InnoEngine.Serialization.SerializationContext context)Parameters
Section titled “Parameters”Parameter definition: Material parameters, techniques and pass state.
Parameter serialization: The owner converter registry.
Parameter context: The complete owner reference context.
Returns
Section titled “Returns”A detached graph ready for authoring.