General-purpose engine in C#/OpenGL