Synced
MaterialDocuments
Section titled “MaterialDocuments”
- Owns Material authoring sessions; native source editing uses the shared asset draft lifecycle.
Required contracts
Section titled “Required contracts”API: engine
Inherits: Inno.Editor.Core.EditorModule
Project: Inno.Editor.Shaders
Declaration
Section titled “Declaration”public sealed class Inno.Editor.Shaders.MaterialDocuments : Inno.Editor.Core.EditorModuleMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Methods | MaterialDocuments.OnStart | Initializes this feature when its owning runtime becomes active. |
| Methods | MaterialDocuments.OnStop | Stops this feature before its owning runtime releases the active generation. |
| Methods | MaterialDocuments.OnUpdate | Advances this feature using the current runtime state. |
| Methods | MaterialDocuments.Open(Inno.Assets.AssetPath) | Opens native source, including a source with failed import, without publishing its draft. |
| Methods | MaterialDocuments.Open(Inno.Rendering.Assets.MaterialAsset) | Resolves the source draft for a canonical Material identity. |
| Methods | MaterialDocuments.OpenDraft | Opens the current source draft without publishing it. |
| Methods | MaterialDocuments.Presentation | Reads parameter presentation from the current authoring Shader graph. |
| Methods | MaterialDocuments.Read | Reads a detached current-generation Material; referenced assets remain canonical read-only inputs. |
| Methods | MaterialDocuments.Replace | Changes a draft through shared History without modifying its source or Scene/Game. |
| Methods | MaterialDocuments.ReplaceMany | Changes compatible selected drafts within one shared gesture. |
| Properties | MaterialDocuments.assets | Gets the authoritative asset catalog used by source-aware inspectors. |
| Properties | MaterialDocuments.previews | Gets the generation-scoped preview service shared by material presentations. |