Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Defines the native graph document protocol shared by shader import, templates and the editor.

API: engine
Inherits: object
Project: Inno.Rendering.Shaders

public static class Inno.Rendering.Shaders.ShaderGraphDocument
Kind Element Description
Fields ShaderGraphDocument.definitionKey Identifies the graph metadata containing the source-free material and pass contract.
Fields ShaderGraphDocument.inputDefaultPrefix Prefixes stable port IDs storing explicit typed defaults for unconnected inputs.
Fields ShaderGraphDocument.outputDefinitionId Identifies a stage output node; its incoming edges name the stage’s GPU outputs.
Fields ShaderGraphDocument.settingsKey Identifies the structured settings stored on a stage output node.
Fields ShaderGraphDocument.stageKey Identifies a node property containing its owning stage output node identity.
Fields ShaderGraphDocument.targetKey Identifies the optional domain target; absent means explicitly authored generic stages.
Methods ShaderGraphDocument.Create Creates an empty graph with a source-free shader contract; incomplete graphs remain serializable.
Methods ShaderGraphDocument.Decode Decodes a graph value against the current owner generation.
Methods ShaderGraphDocument.Encode Encodes a node or document value through the common native serialization channel.
Methods ShaderGraphDocument.Read Reads a named node value; absent values use the declared default, corrupt values never do.
Methods ShaderGraphDocument.ReadDefinition Reads the material and pass contract without evaluating or altering the graph.
Methods ShaderGraphDocument.ReadTarget Reads the stable domain target assignment without resolving extension instances.
Methods ShaderGraphDocument.SetTarget Assigns a domain target by stable identity without retaining its current provider.