Synced
ShaderGraphClipboard.Paste
Section titled “ShaderGraphClipboard.Paste”
- Creates a detached paste candidate with new node identities and remapped program, Pass and Technique references.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Rendering.Shaders
Scope: Editor
Declaration
Section titled “Declaration”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)Parameters
Section titled “Parameters”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.
Returns
Section titled “Returns”A complete candidate suitable for one History transaction.