JupiterRider

Results 45 comments of JupiterRider

Discussion goes on here: [https://github.com/raysan5/raylib/discussions/2499](https://github.com/raysan5/raylib/discussions/2499)

Oh, I see, there are much more. Seems like all Load***FromMemory bindings are missed.

@ChrisDill Is there any downside of just putting the save code into Raylib.cs? Is unsafe interop faster?

I had **no issues** on Raspberry Pi OS Lite (64-bit, Debian 11 bullseye). I used raylib 4.2 PLATFORM_DRM and played a .wav file using the audio jack. Its a Raspberry...

What about doing it like the original Raylib? They don't work with bit shifting / bitwise as well: https://github.com/raysan5/raylib/blob/master/src/utils.c#L107 Here's an example: ```golang type TraceLogLevel int const ( LogAll TraceLogLevel...

@drum445 Yes, there is a way: ```csharp using System; using Raylib_cs; using System.Reflection; using System.Runtime.InteropServices; static class Program { static void Main(string[] args) { Raylib.SetConfigFlags(ConfigFlags.FLAG_VSYNC_HINT); Raylib.InitWindow(1280, 720, "Demo Game"); Texture2D...

I think getting rid of structs is not possible, because we directly use them to interop with the native raylib library. Raylib c uses structs as well. Heres an example:...

@ChrisDill Yeah, I think Raylib-cs should be a binding only. So Creating a extra project for additional stuff could be useful or at least fun.

@ChrisDill Would something like this fit your needs? ```csharp public static extern Image LoadImageFromMemory(string fileType, [MarshalAs(UnmanagedType.LPArray)] byte[] fileData, int dataSize); ```

@gen2brain I think we can close this issue after nearly 6 years. Its fixed with using `runtime.LockOSThread()`: https://github.com/gen2brain/raylib-go/blob/master/raylib/raylib.go#L51