ARTICLE AD BOX
I have a 3D graphics legacy project built with Visual Studio in C# that makes use of Xamarin Forms and OpenTK. It targets both Android and iOS but the recent introduction of a requirement for 16kb page size support by Google Play, coupled with the end of Xamarin support is now forcing me to find an alternative solution.
I'd be happy to move to MAUI (as recommended) but there doesn't seem to be a suitable OpenGL component available anywhere. I have experimented with the SkiaSharp SKGLView in MAUI, successfully using SKCanvas to draw 2D graphics.
However, I want to make use of the underlying OpenGL context (GL) to draw in 3D, so I can reuse my existing C# OpenGL code. Is it possible to bind this context to the window associated with SKGLView (or SKGLCanvas)? If it is, how do I do it? If not, does anyone have an alternative solution?
