Skip to content

Latest commit

 

History

History

glossary

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Glossary

By theme

  • TYPES

void bool int float bvec2 bvec3 bvec4 ivec2 ivec3 ivec4 vec2 vec3 vec4 mat2 mat3 mat4 sampler2D samplerCube struct

  • QUALIFIERS

attribute const uniform varying precision highp mediump lowp in out inout

  • BUILT-IN VARIABLES

gl_Position gl_PointSize gl_PointCoord gl_FrontFacing gl_FragCoord gl_FragColor

  • BUILT-IN CONSTANTS

gl_MaxVertexAttribs gl_MaxVaryingVectors gl_MaxVertexTextureImageUnits gl_MaxCombinedTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformVectors gl_MaxDrawBuffers

  • ANGLE & TRIGONOMETRY FUNCTIONS

radians() degrees() sin() cos() tan() asin() acos() atan()

  • EXPONENTIAL FUNCTIONS

pow() exp() log() exp2() log2() sqrt() inversesqrt()

  • COMMON FUNCTIONS

abs() sign() floor() ceil() fract() mod() min() max() clamp() mix() step() smoothstep()

  • GEOMETRIC FUNCTIONS

length() distance() dot() cross() normalize() facefoward() reflect() refract()

  • MATRIX FUNCTIONS

matrixCompMult()

  • VECTOR RELATIONAL FUNCTIONS

lessThan() lessThanEqual() greaterThan() greaterThanEqual() equal() notEqual() any() all() not()

  • TEXTURE LOOKUP FUNCTIONS

texture2D() textureCube()

Alphabetical

  • A

abs() acos() all() any() asin() atan() attribute

  • B

bool bvec2 bvec3 bvec4

  • C

ceil() clamp() const cos() cross()

  • D

degrees() dFdx() dFdy() distance() dot()

  • E

equal() exp() exp2()

  • F

faceforward() float floor() fract()

  • G

greaterThan() greaterThanEqual() gl_FragColor gl_FragCoord gl_FrontFacing gl_PointCoord gl_PointSize gl_Position gl_MaxCombinedTextureImageUnits gl_MaxDrawBuffers gl_MaxFragmentUniformVectors gl_MaxVaryingVectors gl_MaxVertexAttribs gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits

  • H

highp

  • I

in inout int inversesqrt() ivec2 ivec3 ivec4

  • L

length() lessThan() lessThanEqual() log() log2() lowp

  • M

matrixCompMult() mat2 mat3 mat4 max() mediump min() mix() mod()

  • N

normalize() not() notEqual()

  • O

out

  • P

precision pow()

  • R

radians() reflect() refract()

  • S

sampler2D samplerCube sign() sin() smoothstep() sqrt() step() struct

  • T

tan() texture2D() textureCube()

  • U

uniform

  • V

varying vec2 vec3 vec4 void