EvergineTeam / Feedback

Feedback, feature requests, and bug reports for Evergine.
https://evergine.com
14 stars 1 forks source link

OpenTK to Evergine #179

Open mludlum opened 11 months ago

mludlum commented 11 months ago

I have an existing Windows OpenTK WinForms app that uses only line and triangle primitives and simple shaders. I'd like to port this to Evergine and MAUI to run on Windows/Android.

I'm starting with the LowLevelAPIDemo, but get errors when I change to GraphicsBackend from DirectX11 to OpenGL, DirectX12, or Vulkan. The error occurs when CreateDevice or CreateSwapChain is called in VisualTestDefinition. This is true even when installing the latest pre-release packages (2023.9.28.1837)

What else do I need to change besides this line to get these demos to work?

            var graphicsContext = test.CreateGraphicsContext(swapChainDescriptor, **GraphicsBackend.Vulkan**);