A bgfx renderer backend for cocos v4

I wrote a bgfx renderer backend for cocos v4 after weeks of work:

The purpose of this project is to make a useful renderer. But it is still experimental and has many problems now. I hope there can be more help on testing and fixing. Any help will be appreciated!


Wow! This looks awesome. I was just thinking of porting bgfx to Cocos2d-x last week. Specifically to get DirectX 12 rendering.

If anyone here isn’t aware, bgfx supports many rendering APIs including DirectX 11, DirectX 12, Metal, OpenGL, OpenGL ES, Vulkan, and more. I don’t know much about bgfx yet, but from the outside it appears to be a very interesting/useful library.

I am so excited for this. Thank you so much for the contribution