Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced

ShaderNodeDrawerRegistry.TryGetPresentation

Section titled “ShaderNodeDrawerRegistry.TryGetPresentation”
  • Gets optional creation-menu presentation without executing the drawer.

API: engine
Project: Inno.Editor.Shaders.ImGui

public bool Inno.Editor.Shaders.ImGui.ShaderNodeDrawerRegistry.TryGetPresentation(string definitionId, out Inno.Editor.Shaders.ImGui.ShaderNodePresentation presentation)

Parameter definitionId: Stable compiler-independent node identity.

Parameter presentation: Receives immutable creation-menu presentation when registered.

True when the current generation contributes presentation for the node; otherwise false.