Chapter 1. Introduction to OpenGL

Chapter Objectives

After reading this chapter, you’ll be able to do the following:

• Describe the purpose of OpenGL, and what it can and cannot do in creating computer-generated images.

• Identify the common structure of an OpenGL application.

• Enumerate the shading stages that compose the OpenGL rendering pipeline.

This chapter introduces OpenGL. It has the following major sections:

• “What Is OpenGL?” explains what OpenGL is, what it does and doesn’t do, and how it works.

• “Your First Look at an OpenGL Program” provides a first look at what an OpenGL program looks like.

• “OpenGL Syntax” describes the format of the command names that OpenGL uses.

• “OpenGL’s Rendering Pipeline” discusses the processing pipeline ...

Get OpenGL® Programming Guide: The Official Guide to Learning OpenGL®, Version 4.5 with SPIR-V, Ninth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.