Synced
ShaderNodeDrawerRegistry.TryDraw
Section titled “ShaderNodeDrawerRegistry.TryDraw”
- Invokes optional node controls within one generation lease.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Shaders.ImGui
Declaration
Section titled “Declaration”public bool Inno.Editor.Shaders.ImGui.ShaderNodeDrawerRegistry.TryDraw(string definitionId, Inno.Editor.Shaders.ImGui.ShaderNodeDrawContext context)Parameters
Section titled “Parameters”Parameter definitionId: Stable node definition identity.
Parameter context: Invocation-scoped host values, history callback and previews.
Returns
Section titled “Returns”True when a registered drawer rendered the controls; false leaves presentation to the host.