5.9 KiB
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
- VECTOR RELATIONAL FUNCTIONS
lessThan() lessThanEqual() greaterThan() greaterThanEqual() equal() notEqual() any() all() not()
- TEXTURE LOOKUP FUNCTIONS
Alphabetical
- A
abs() acos() all() any() asin() atan() attribute
- B
- C
ceil() clamp() const cos() cross()
- D
degrees() dFdx() dFdy() distance() dot()
- E
- 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
- 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
- O
- P
- R
- S
sampler2D samplerCube sign() sin() smoothstep() sqrt() step() struct
- T
tan() texture2D() textureCube()
- U
- V