microZEUS
The whole stack, hand-drawn.

◄ Wiki / Graphics

builtin

Special pre-defined variables a shader program reads from or writes to in order to talk to the graphics pipeline.

A shader is a small program the GPU runs per vertex or per fragment, and some of its inputs and outputs are fixed by the graphics system rather than declared by the author. These builtin variables — like gl_Position for a vertex's final screen position — are how the shader communicates required values to the fixed-function stages around it. They are the agreed-upon slots the pipeline looks for.

See also

  • compute shaderA GPU program that does general-purpose parallel math instead of producing pixels.
  • command bufferA recorded list of GPU commands that you build up and then submit for the graphics card to execute.
  • blendingMixing a newly drawn pixel's colour with the colour already sitting in the framebuffer, instead of overwriting it.

Referenced by

blending · command buffer · compute shader · conformance group