Exemplo n.º 1
0
 /// <summary>
 /// Removes a UI element from the manager, and will cause that element to no longer be rendered.
 /// </summary>
 public void RemoveElement(ImGuiElement element)
 {
     _elementsToRemove.Enqueue(element);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Adds a new UI element for the manager to render.  Only root level elements need to be added here, as
 /// any child elements will have their render method called by their parent UI Element.
 /// </summary>
 /// <param name="element"></param>
 public void AddElement(ImGuiElement element)
 {
     _elementsToAdd.Enqueue(element);
 }