tzachshabtay / MonoAGS

AGS (Adventure Game Studio) reimagined in Mono
https://tzachshabtay.github.io/MonoAGS/
Artistic License 2.0
27 stars 8 forks source link

Veldrid- Cross platform graphics API agnostic rendering library #242

Open tzachshabtay opened 6 years ago

tzachshabtay commented 6 years ago

Consider switching to veldrid- https://github.com/mellinoe/veldrid

Veldrid provides an abstraction over OpenGL, Direct3D, Vulkan and Metal, so we should be able to share code and support more modern backends on devices that support them (and the Direct3D support will take us a step closer to UWP support).

Also, we might be able to use it in tandem with ShaderGen: https://github.com/mellinoe/ShaderGen, to allow for writing c# shader code which will work with all of those backends. Another option would be SPIRV- https://mellinoe.github.io/graphics/2018/06/25/veldrid-spirv.html

Currently veldrid still doesn't support OpenGL ES which is a requirement for supporting most mobile devices, but its in the plans (https://github.com/mellinoe/veldrid/issues/45).