concept vertex in category opencl

appears as: vertices, vertices, vertex, vertex
OpenCL in Action: How to Accelerate Graphics and Computation

This is an excerpt from Manning's book OpenCL in Action: How to Accelerate Graphics and Computation.

Listing 15.4. Configuring the sphere’s vertices: sphere.c (abridged)
Listing 15.6. Setting the sphere’s vertices: sphere.cl

This kernel processes vertices as float4 vectors instead of float3 vectors. OpenCL supports float3 vectors, but on every system I’ve tested, float3 arrays are stored internally as float4 arrays. This is why the kernel sets a value for the fourth vector component.

All the pixels in this figure have colors, but it would be tedious to set each color separately. Instead, the application defines three-dimensional points, called vertices, and routines to be invoked during the rendering, called shaders. As the application runs, the shaders process the vertices and draw the pixels in the window.