Silk.NET
Silk.NET copied to clipboard
Is iOS still at the experimental stage?
I want to use it on Net.iOS. Where can I get a demo? I only see the Android demo.
I'm running the official demo on the MacOS it works fine but I can't find any documents on iOS. how should I begin?
I don't know how to get get GL
instance on iOS. Create IWindow
or IView
will crash.
var options = ViewOptions.Default;
options.API = new GraphicsAPI(ContextAPI.OpenGLES, ContextProfile.Compatability, ContextFlags.Default, new APIVersion(1, 0));
var view = Silk.NET.Windowing.Window.GetView(options);
var window = Silk.NET.Windowing.Window.Create(new WindowOptions(options));
var gl = GL.GetApi(view);
Package List
Silk.NET.Windowing
Silk.NET.OpenGLES
Silk.NET.Input
Yes iOS is still experimental at this time, this is noted in the 2.0 release blog and there has been no further publications to the contrary: https://dotnet.github.io/Silk.NET/blog/jan-2021/silk20.html
If I remember correctly, my experience was similar. Got it working on the simulator fine, but crashed on a real device. I don't have the crash to hand, can you attach more details please for when we eventually decide to investigate this?