Show / Hide Table of Contents

Class DebugExtensionsImGui

Extensions to enable the ImGui debug UI.

Inheritance
object
DebugExtensionsImGui
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: SadConsole.Configuration
Assembly: SadConsole.Debug.MonoGame.dll
Syntax
public static class DebugExtensionsImGui

Methods

EnableImGuiDebugger(Builder, Keys, Action<bool>, Action)

Adds a RootComponents component that uses the specified hotkey to invoke Start().

Declaration
public static Builder EnableImGuiDebugger(this Builder builder, Keys hotkey, Action<bool> openedEventHandler = null, Action closedEventHandler = null)
Parameters
Type Name Description
Builder builder

The config builder.

Keys hotkey

The keyboard key to start the debugger.

Action<bool> openedEventHandler

An event handler that's raised when the debugger opens.

Action closedEventHandler

An event handler that's raised when the debugger closes.

Returns
Type Description
Builder

The config builder.

In this article

Back to top

Back to top Generated by DocFX