liveBook · Manning

Pixel

As explained in Systems Programming with Zig

A pixel is an individual addressable picture element in a raster image or display.

A pixel is a picture element on a grid. In rasterization, geometry becomes fragments—described as basically pixels—and each visible pixel gets a fragment shader to determine its color. section 7.1.2

Figure 7.1 The rasterization pipeline
CH07 F01 hinsonhasty

Follow the pipeline from geometric vertices to colored fragments and a reassembled image. section 7.1.2

How Systems Programming with Zig covers it

How deep it goes
Defines pixels through rasterization and fragment shading, without detailing pixel storage or display hardware.
Examples
Uses triangles, rectangles, and shader-generated colors to illustrate geometry becoming visible pixels.
What you can do after
Understand how rasterization turns geometry into pixels and assigns visible pixels their colors.
How it connects
Connects pixels to rasterization, fragments, vertex shaders, and fragment shaders.

Also explained in

Compare how 11 books explain pixel →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Systems Programming with Zig. The section links point to the parts of the book it draws on.