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

API: engine
Project: Inno.Rendering.Shaders

public static Inno.Rendering.Shaders.ShaderGraphPasteResult Inno.Rendering.Shaders.ShaderGraphClipboard.Paste(Inno.Core.Graphs.GraphDocument graph, Inno.Core.Graphs.GraphDocument fragment, bool preserveExternalStageReferences, Inno.Core.Graphs.GraphNodeId? activeStage, Inno.Core.Serialization.SerializationRegistry serialization, Inno.Core.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.