Skip to content

C# bindings for bx & bimg? #3296

Answered by bkaradzic
jcyuan asked this question in Q&A
May 26, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

bx, bimg are used as bgfx internals. It's unlikely they will have bindings for any other language because of following reasons:

  • bx is too much C++ and low-lever to have C99 interface.
  • bimg current interface is not up-to quality I would expect for library. bimg was extracted from bgfx, and interface was quickly thrown together, but it's not good IMO.

My suggestion is that you implement your own DLL and create higher-level interface for functionality you need from bx / bimg that you would call from C#. Or simply find C# alternatives.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jcyuan
Comment options

@bkaradzic
Comment options

Answer selected by jcyuan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants