I recommend searching on the term "opengl red book". Chapter 3 and Appendix F should provide a good overview of the subject ( http://www.glprogramming.com/red/ if you'd like to avoid the search, but I really do recommend it).