/// <summary> /// Removes a component. The component will be removed at the end of the frame. /// </summary> /// <param name="Component"> The component to be removed. </param> public void RemoveGraphicsComponent(GraphicsComponent Component) { ToRemove.Enqueue(Component); }
/// <summary> /// Adds a component. The component will be added at the end of the frame. /// </summary> /// <param name="NewComponent"> The component to add. </param> public void AddGraphicsComponent(GraphicsComponent NewComponent) { ToAdd.Enqueue(NewComponent); }