RobLoach / node-raylib

Node.js bindings for Raylib
https://robloach.github.io/node-raylib/
Other
237 stars 20 forks source link

Raylib4 - Update wrappers to properly unwrap / pass in RenderTextures #127

Closed twuky closed 2 years ago

twuky commented 2 years ago

There were some issues with the distinction between RenderTexture / RenderTexture2D that caused the parser to not properly write JS wrapper functions using those structs. No changes to C-bindings needed. Over the past few days I've also pushed a couple changes to the typescript generator, which also needed a type alias for RenderTextures and a couple other types that go by multiple names in the API.

Could be a candidate for 0.9.1 since this now fixes a handful of broken functions