diff --git a/faq.html b/faq.html index 21b9f38f..63838d4e 100644 --- a/faq.html +++ b/faq.html @@ -121,6 +121,12 @@

What about UI frameworks?

  • OpenTK 3.x contains its own WinForms-compatible GLControl component.

  • +

    How do I use Dear ImGui with OpenTK?

    +

    To get started with Dear ImGui checkout the sample repo created by NogginBops. Copy the source of ImGuiController.cs into your project to get going.

    +
    +
    Warning
    +

    There is a nuget package called OpenTK.ImGui that should NOT be used. It's not up to date and is not created by NogginBops. It will not work.

    +

    How fast is OpenTK?

    For a .NET library, OpenTK is very fast. OpenTK 3 and 4 use hand-optimized IL assembly to minimize overhead when calling OpenGL functions, and OpenTK 5 is planned to use the new C# function pointers to accomplish the same thing.

    We take great pains to make it as efficient as possible. However, keep in mind that the underlying runtimes (.NET/Mono) use both JIT compilation and garbage collection, which can complicate the definition of “fast.” Still, we place significant emphasis on performance, so if you believe something could run faster, please open an issue on our GitHub!