It's unclear what the difference is between the second constructor and the third one (one being jpg / png, the other being RGBA)
We should maybe create another class that wraps around nvgCreateImage / nvgCreateImageMem (so it holds a texture id) and pass that instead of the current parameters?
It's unclear what the difference is between the second constructor and the third one (one being jpg / png, the other being RGBA)
We should maybe create another class that wraps around
nvgCreateImage
/nvgCreateImageMem
(so it holds a texture id) and pass that instead of the current parameters?