Synced
ShaderNodeDrawerRegistry.TryGetPresentation
Section titled “ShaderNodeDrawerRegistry.TryGetPresentation”
- Gets optional creation-menu presentation without executing the drawer.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Shaders.ImGui
Declaration
Section titled “Declaration”public bool Inno.Editor.Shaders.ImGui.ShaderNodeDrawerRegistry.TryGetPresentation(string definitionId, out Inno.Editor.Shaders.ImGui.ShaderNodePresentation presentation)Parameters
Section titled “Parameters”Parameter definitionId: Stable compiler-independent node identity.
Parameter presentation: Receives immutable creation-menu presentation when registered.
Returns
Section titled “Returns”True when the current generation contributes presentation for the node; otherwise false.