Closed yvvki closed 2 years ago
Seems like we still need to store the GL API on the types.
Instead of replacing, remove every wrapper method's parameter checking and document every method instead.
Have a way to throw errors as exceptions via GL.GetError
Remove types from Nusantara.OpenGL namespace and replace it with existing type from Silk.NET.OpenGL namespace. Make extension methods that will make these types OOP-like. If possible, auto-generate the methods from Silk.NET T4 text templates and document every parameter and the possible errors as exception tags.
This will make the method unmanaged, thus faster.