Skip to content

Support for Xamarin Forms OpenGLView #345

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

Closed
btschumy opened this issue Nov 12, 2020 · 8 comments
Closed

Support for Xamarin Forms OpenGLView #345

btschumy opened this issue Nov 12, 2020 · 8 comments
Assignees
Labels
area-Windowing enhancement New feature or request

Comments

@btschumy
Copy link

Summary of feature

I would like to be able to use Silk.NET in the Xamarin Forms OpenGLView class

Comments

Right now I don't see the necessary hooks in OpenGLView to be able to use Silk. ULTZ Perksey indicated that "Yeah you’ll have to implement IGLContext yourself seeing as Silk.NET doesn’t have a dedicated extension package for it yet". I don't think this is currently possible and he ask me to log a request.

Does this have a proposal?

No

@btschumy btschumy added the enhancement New feature or request label Nov 12, 2020
@btschumy
Copy link
Author

I will also comment that there is currently no way of doing 3D graphics for iOS, Android, and UWP in a Xamarin Forms app. UrhoSharp (C# bindings to Urho3D) used to be recommended but the project has been abandoned by Microsoft and It has numerous problems on UWP.

If Silk.NET could be made to work in Xamarin Forms, I'm sure it would be greatly appreciated by many developers.

@Perksey
Copy link
Member

Perksey commented Nov 12, 2020

This is certainly something we want to investigate. Today Silk.NET may only be used on mobile via Xamarin Native instead of Forms.

@btschumy
Copy link
Author

Is there some example code using Silk.NET on Xamarin Native? I'm thinking it could be adapted to Xamarin Forms by using a native renderer.

@Perksey
Copy link
Member

Perksey commented Nov 12, 2020

There is only an Android test application today. Silk.NET has its own dedicated Android Activity: https://github.com/Ultz/Silk.NET/tree/2.0/src/Lab/TriangleDroid

@Perksey Perksey added this to the 2.X milestone Dec 4, 2020
@Perksey Perksey self-assigned this Dec 4, 2020
@freever
Copy link

freever commented Mar 11, 2021

Hello there... is there any change to this following the 2.0 release?

@Perksey
Copy link
Member

Perksey commented Mar 11, 2021

Currently not, personally I want to just hold out for Silk.NET 3.0, .NET 6, and MAUI.

@freever
Copy link

freever commented Mar 13, 2021

Yeah, MAUI is really lacking a 3D story. UrhoSharp used to be the go-to but now it's just crickets.

@Perksey
Copy link
Member

Perksey commented Sep 14, 2023

Closing in favour of #849

@Perksey Perksey closed this as not planned Won't fix, can't repro, duplicate, stale Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Windowing enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants