Top 1,000 Features Creators Resources Blog Explorer Download
GitHub icon

GLSL

< >

GLSL is a programming language created in 1992.

#480on PLDB 32Years Old 12kRepos

OpenGL Shading Language (abbreviated: GLSL), is a high-level shading language with a syntax based on the C programming language. It was created by the OpenGL ARB (OpenGL Architecture Review Board) to give developers more direct control of the graphics pipeline without having to use ARB assembly language or hardware-specific languages.. Read more on Wikipedia...


Example from Linguist:
varying vec4 v_color; void main() { gl_FragColor = v_color; }

Language features

Feature Supported Token Example
Comments ✓
MultiLine Comments ✓
Line Comments ✓
Integers ✓
Floats ✓
Hexadecimals ✓
Octals ✓

View source

- Build the next great programming language · About · Acknowledgements · Extensions · Day 628 · Donate · feedback@pldb.io