Ae.ImGuiBootstrapper by alanedwardes

<PackageReference Include="Ae.ImGuiBootstrapper" Version="0.0.7" />

 ImGuiRenderer

public sealed class ImGuiRenderer : IDisposable
A modified version of Veldrid.ImGui's ImGuiRenderer. Manages input for ImGui and handles rendering ImGui's DrawLists with Veldrid.
public ImGuiRenderer(GraphicsDevice gd, int width, int height)

Constructs a new ImGuiController using the specified GraphicsDevice, at the specified width and height.

public IntPtr CreateTextureResources(Texture texture)

Gets or creates a handle for a texture to be drawn with ImGui. Pass the returned handle to Image() or ImageButton().

public IntPtr CreateTextureViewResources(TextureView textureView)

Gets or creates a handle for a texture to be drawn with ImGui. Pass the returned handle to Image() or ImageButton().

public void DestroyTextureResources(Texture texture)

Destroys the resources associated with the Texture which was previously bound using CreateTextureResources.

public void DestroyTextureViewResources(TextureView textureView)

Destroys the resources associated with the TextureView which was previously bound using CreateTextureViewResources.

public void Dispose()

public void EndFrame()

End the ImGui frame using EndFrame.

public void Render(CommandList cl)

Renders the ImGui draw list data. A CommandList is needed to submit drawing and resource update commands. This may create new DeviceBuffers if the size of vertex or index data has increased beyond the capacity of the existing buffers.

public void StartFrame(float deltaSeconds, InputSnapshot snapshot)

Process input, and start the ImGui frame using NewFrame.

public void WindowResized(int width, int height)

Should be called when the window is resized.