I am relatively new to C# and I want to implement openGL in C#. I came to know about a wrapper called CsGL and many others. But can anybody explain me what is a wrapper and how can I use it in order to work with openGL.
I will give you my "laymans" definition if it helps:
A wrapper is a class or library which is used to access another library or class by being the middle-man or interpreter (however you want to look at it).
In this case, OpenGL is a library which has a very diverse and complicated group of API calls which, if you wrote in your own program, would be very long and hard to debug.
A wrapper in this case is basically a library of .NET objects you can use in your own program which will do all the hard API work for you. Since these libraries have been worked out and debugged by the authors, you can supposedly just assume they work when you need them to (although we all know different )
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.