Skip to content

Foundations to write a 2D GUI library #13

@nockawa

Description

@nockawa

I'm currently using ImGui.Net with Vortice for the application I'm working one.
However, Dear ImGui has several imperfections/limitations that frustrate me.

I've wrote several 2D GUI libs in the past, on the top of a game engine and I would like to consider the effort needed to write one for Vortice.
Hopefully you can answer to some of them without me go digging in the source code (lazy of me, but I think it could worth a shot to discuss about this with you).

Text render
Do you have anything so far ? Especially toolkit to create SDF based texture of a font and then a shader that displays text using the SDF texture?

Draw call
How easy/hard would it be for me to generate draw lists with the common features needed for such project:

  • GPU resource creations, how easy it is to create texture, Buffer, Shader, binding based resource, etc.
  • Exposing Scissor / clipping region and other GPU states easily
  • Texture, VS/PS Shader binding with old the basic features coming along with it
  • Possibility to use a dedicated Z buffer and having the entry point to overlay the GUI over the whole 3D viewport

If all the foundations are exposed by Vortice, I could consider writing a GUI on the top of it. It certainly wouldnt be a 2022 thing but could definitely be a Q1 2023 one.
I have to assess how long it would take to create the thin layer on the top of the GPU stuffs in order for me to write the GUI on the top of it, encapsulating the complexity of the GPU rendering.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions