Skip to content
Project referenceDevelopmentEngine ccf7d03f
Authored
  • The internal shader graph canvas coordinating shared documents, graph edits, compilation and presentation.

The internal shader graph canvas coordinating shared documents, graph edits, compilation and presentation.

Shader Editor tasks explain source selection, graph edits, Save/Revert/Check, recovery, reusable graphs and current preview boundaries. This panel has no selected public/protected types. Node drawers live in Shaders.ImGui, compiler extensions in Rendering.Shaders and neutral editing in Graph.

A document resolves the asset persistent ID from its source entry rather than confusing file and asset identities. Its lifetime scope owns generation registries, headless document registration and dependent previews. Stop retains unsaved recovery and retires owners without saving source implicitly.

Check isolates the current draft and validates the actual candidate; Save publishes source independently. Subsequent edits invalidate the preview, and failure does not show last-good as proof of a successful new Check. Shared Console diagnostics own detailed results. Copy/subgraph source creation uses the existing asset/History transaction.

Input, port identity, required/optional semantics and stage constraints follow typed graph contracts. Missing ports remain visible rather than reconnecting by array position. UI wiring is not certification of every advanced node or device journey. The script drawer example below belongs to the presentation contract, not a new public panel API.

Source project. Declarations, script selection and runtime behavior require separate matching evidence.

Project: Inno.Editor.Panel.ShaderEditor
Source: src/composition/editor/panels/Inno.Editor.Panel.ShaderEditor/Inno.Editor.Panel.ShaderEditor.csproj