Silk.NET icon indicating copy to clipboard operation
Silk.NET copied to clipboard

Is iOS still at the experimental stage?

Open cxzhe opened this issue 1 year ago • 1 comments

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

cxzhe avatar Dec 04 '23 06:12 cxzhe

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?

Perksey avatar Dec 04 '23 18:12 Perksey