List of OpenGL functions

Before we delve into the recipes, let's have a quick overview of some OpenGL functions that we will be using in this chapter. The following are some of the most frequently used OpenGL functions:

Function Description
glutInit Used to initialize GLUT.
glutCreateWindow Used for creating a top-level window. You can supply the window name as a label while creating the window.
glutInitWindowSize Used to define the window size. The width and height of the window are specified in pixels while defining the window size.
void glutInitWindowPosition Used to set the initial window position. The window's x and y locations are specified in terms of pixels.
glutDisplayFunc Used to specify the callback function to be ...

Get Practical C Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.