Measures Concepts
GitHub icon

GLSL

GLSL - Programming language

< >

GLSL is a programming language created in 1992.

#517on 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 · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Day 605 · feedback@pldb.io · Logout