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: engine
Project: Inno.Rendering.Shaders
Declaration
Section titled “Declaration”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)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.