Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Creates a detached paste candidate with new node identities and remapped program, Pass and Technique references.

API: scripting
Project: Inno.Rendering.Shaders
Scope: Editor

public static InnoEditor.Rendering.Shaders.ShaderGraphPasteResult InnoEditor.Rendering.Shaders.ShaderGraphClipboard.Paste(InnoEngine.Graphs.GraphDocument graph, InnoEngine.Graphs.GraphDocument fragment, bool preserveExternalStageReferences, InnoEngine.Graphs.GraphNodeId? activeStage, InnoEngine.Serialization.SerializationRegistry serialization, InnoEngine.Serialization.SerializationContext context)

Parameter graph: Destination document, never changed.

Parameter fragment: Detached copied fragment, never changed.

Parameter preserveExternalStageReferences: Whether references to existing destination stages belong to the same document.

Parameter activeStage: Destination stage for copied non-stage nodes.

Parameter serialization: Current native converter registry.

Parameter context: Owner reference context.

A complete candidate suitable for one History transaction.