OpenGL Function Calls Flashcards

1
Q

glutInit(&rgc, argv);

A

Initialize GLUT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

glutCreateWindow(“Vertex, Primitive & Color”);

A

Create Window with given title

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

glutInitWindowSize(320, 320);

A

Set the window’s initial width & height

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

glutWindowPosition(50, 50);

A

Position the window’s initial top-left corner

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

glutDisplayFunc(display);

A

Register callback handler for window re-paint event

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

initGL();

A

Our own OpenGL initialization

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

glutMainLoop();

A

Enter the event-processing loop

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

gluOrtho2D

A

Set the clipping area of 2D orthographic view

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

glViewport

A

configure the viewport

How well did you know this?
1
Not at all
2
3
4
5
Perfectly