UWP support for opengl

guys. I have an opengl library written in C ++. I know that I can use Angle, but because of this I will need to encode my entire application in C ++. Is there a way to use C ++ opengl in UWP and use C # as the main language?

+5
source share
3 answers

Is there a way to use c ++ opengl in UWP and still use C # as the main language?

ANGLE is currently the only way to get the OpenGL API to work in UWP. For more information, please refer to this topic .

, ANGLE #. OpenGL c++ . # .

, , , , GitHub @mattleibow. @mattleibow . , , OpenGL SwapChainPanel, XAML #.

, ANGLE OpenGL ES DirectX. Win2D. Win2D - 2D- XAML Windows 8.1 Windows 10. DirectX, , # .NET. .

+5

, , , , #, , ANGLE #. GL # ( OpenTK UWP), - ANGLE, SwapChainPanel .. .

0

I had this problem, so I created my own library. You can use my new library ( https://github.com/hamarb123/hamarb123.SharpGLES ) that runs OpenGL ES on UWP (and the .NET Framework), it even has a GLESSwapChainPanel class for ease of use.

0
source

Source: https://habr.com/ru/post/1657196/


All Articles