Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is iOS still at the experimental stage? #1822

Open
cxzhe opened this issue Dec 4, 2023 · 1 comment
Open

Is iOS still at the experimental stage? #1822

cxzhe opened this issue Dec 4, 2023 · 1 comment
Labels
area-Windowing bug Something isn't working
Milestone

Comments

@cxzhe
Copy link

cxzhe commented Dec 4, 2023

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
@Perksey
Copy link
Member

Perksey commented Dec 4, 2023

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 Perksey added bug Something isn't working area-Windowing labels Dec 5, 2023
@Perksey Perksey added this to the 3.0 milestone Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Windowing bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

3 participants
@cxzhe @Perksey and others