LukeZaz / Vectoray

Learning project for a C# 3D game engine in OpenGL.
GNU Lesser General Public License v3.0
1 stars 0 forks source link

Incomplete OpenGL C# wrapper #1

Open LukeZaz opened 7 years ago

LukeZaz commented 7 years ago

Currently, things like error checks and ease-of-use of the code is rather difficult due to how the OpenGL & C# code is interacting; for example, you have to manually check for an OpenGL error every time there might be one, whereas instead exceptions could be thrown.

In addition to the bare-bones OpenGL bindings currently present, a secondary class should be written into the OpenGL namespace for accessing the functions in a more convenient and C#-friendly manner.

LukeZaz commented 7 years ago

C# wrapper now exists, however I am leaving the issue open as it is still a fledgling of what I'd like it to be, and isn't doing much yet.