I've been trying to go through the code of WGPUCore and its quite complex.
I think I don't understand the workings of a few functions.
For example, setting getDefaultBackendType to return WGPUBackendType_OpenGL doesn't seem to work at all.
I also don't understand the function of cstruct all around the code.
@arhik I'd like to help with the refactor, with some help from you.