/// <inheritdoc/>
 public void Initialize(UltravioletContext owner, UltravioletFactory factory)
 {
     factory.SetFactoryMethod <UIViewFactory>((uv, uiPanel, uiPanelDefinition, vmfactory) => ImGuiView.Create(uv, uiPanel, uiPanelDefinition, vmfactory));
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ImGuiGeometryBuffer"/> class.
 /// </summary>
 /// <param name="uv">The Ultraviolet context.</param>
 /// <param name="view">The view which owns the geometry buffer.</param>
 public ImGuiGeometryBuffer(UltravioletContext uv, ImGuiView view)
     : base(uv)
 {
     this.effect = SpriteBatchEffect.Create();
     this.view   = view;
 }