O'Reilly logo

OpenGL ES 3.0 Cookbook by Parminder Singh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Rendering primitives with vertex arrays

In OpenGL ES 3.0, the vertex array is a simplest mean to draw the objects in the 3D space. The objects are drawn with the help of vertices, which are arranged in a specific order guided by the rendering primitives. The rendering primitives represent how an individual or a set of vertices can assemble to draw a geometry. For example, four vertices can be represented by a point, line, or triangle, as shown here:

Rendering primitives with vertex arrays

The vertex array is the way in which the geometric data, such as vertex coordinates, normal coordinates, color information, and texture coordinates, are specified in the form of arrays. In this recipe, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required