Closed leafi closed 8 years ago
FWIW if you have a better way of updating the bindings please feel free to discard this. This PR is mostly posted to assuage the guilt I would otherwise feel at taking these bindings and then not returning potentially useful changes to other users.
Hi, thanks for taking the time to upload a pull request. I made a few small comments but otherwise things look good. I'll try to take some time later this week to merge and rebuild the native binaries.
(As of today.)
The most important part is that the create texture & update texture functions have changed. This is so major that even my trivial application ran across it.
My application that uses simple 2D textures works with these changes. One of the API changes since July 20 was to do with some topology functions gaining some stuff to do with triangles, but I think we don't bind any of that anyway so I left it out.
Cubemaps & 3D textures completely untested. As is hasMips = true.
I don't know what 'layer' on e.g. updateTexture2D actually refers to.
Binaries not updated.