2015-04-17 04:52:51 +00:00
|
|
|
# Glossary
|
|
|
|
|
2015-04-18 14:41:34 +00:00
|
|
|
## By theme
|
2015-04-17 04:52:51 +00:00
|
|
|
|
2015-06-12 16:02:51 +00:00
|
|
|
* TYPES
|
|
|
|
|
2015-07-17 20:24:23 +00:00
|
|
|
[void](./?search=void)
|
|
|
|
[bool](./?search=bool)
|
|
|
|
[int](./?search=int)
|
|
|
|
[float](./?search=float)
|
|
|
|
[bvec2](./?search=bvec2)
|
|
|
|
[bvec3](./?search=bvec3)
|
|
|
|
[bvec4](./?search=bvec4)
|
|
|
|
[ivec2](./?search=ivec2)
|
|
|
|
[ivec3](./?search=ivec3)
|
|
|
|
[ivec4](./?search=ivec4)
|
|
|
|
[vec2](./?search=vec2)
|
|
|
|
[vec3](./?search=vec3)
|
|
|
|
[vec4](./?search=vec4)
|
|
|
|
[mat2](./?search=mat2)
|
|
|
|
[mat3](./?search=mat3)
|
|
|
|
[mat4](./?search=mat4)
|
|
|
|
[sampler2D](./?search=sampler2D)
|
|
|
|
[samplerCube](./?search=samplerCube)
|
|
|
|
[struct](./?search=struct)
|
2015-06-12 16:02:51 +00:00
|
|
|
|
|
|
|
* QUALIFIERS
|
|
|
|
|
2015-07-17 20:24:23 +00:00
|
|
|
[attribute](./?search=attribute)
|
|
|
|
[const](./?search=const)
|
|
|
|
[uniform](./?search=uniform)
|
|
|
|
[varying](./?search=varying)
|
|
|
|
[precision](./?search=precision)
|
|
|
|
[highp](./?search=highp)
|
|
|
|
[mediump](./?search=mediump)
|
|
|
|
[lowp](./?search=lowp)
|
|
|
|
[in](./?search=in)
|
|
|
|
[out](./?search=out)
|
|
|
|
[inout](./?search=inout)
|
2015-06-12 16:02:51 +00:00
|
|
|
|
|
|
|
* BUILT-IN VARIABLES
|
|
|
|
|
2015-07-17 20:24:23 +00:00
|
|
|
[gl_Position](./?search=gl_Position)
|
|
|
|
[gl_PointSize](./?search=gl_PointSize)
|
|
|
|
[gl_PointCoord](index.hmtl#gl_PointCoord)
|
|
|
|
[gl_FrontFacing](./?search=gl_FrontFacing)
|
|
|
|
[gl_FragCoord](./?search=gl_FragCoord)
|
|
|
|
[gl_FragColor](./?search=gl_FragColor)
|
2015-06-12 16:02:51 +00:00
|
|
|
|
|
|
|
* BUILT-IN CONSTANTS
|
|
|
|
|
2015-07-17 20:24:23 +00:00
|
|
|
[gl_MaxVertexAttribs](./?search=gl_MaxVertexAttribs)
|
|
|
|
[gl_MaxVaryingVectors](./?search=gl_MaxVaryingVectors)
|
|
|
|
[gl_MaxVertexTextureImageUnits](./?search=gl_MaxVertexTextureImageUnits)
|
|
|
|
[gl_MaxCombinedTextureImageUnits](./?search=gl_MaxCombinedTextureImageUnits)
|
|
|
|
[gl_MaxTextureImageUnits](./?search=gl_MaxTextureImageUnits)
|
|
|
|
[gl_MaxFragmentUniformVectors](./?search=gl_MaxFragmentUniformVectors)
|
|
|
|
[gl_MaxDrawBuffers](./?search=gl_MaxDrawBuffers)
|
2015-06-12 16:02:51 +00:00
|
|
|
|
2015-04-18 14:41:34 +00:00
|
|
|
* ANGLE & TRIGONOMETRY FUNCTIONS
|
|
|
|
|
2015-07-17 20:24:23 +00:00
|
|
|
[radians()](./?search=radians)
|
|
|
|
[degrees()](./?search=degrees)
|
|
|
|
[sin()](./?search=sin)
|
|
|
|
[cos()](./?search=cos)
|
|
|
|
[tan()](./?search=tan)
|
|
|
|
[asin()](./?search=asin)
|
|
|
|
[acos()](./?search=acos)
|
|
|
|
[atan()](./?search=atan)
|
2015-04-18 14:41:34 +00:00
|
|
|
|
|
|
|
* EXPONENTIAL FUNCTIONS
|
|
|
|
|
2015-07-17 20:24:23 +00:00
|
|
|
[pow()](./?search=pow)
|
|
|
|
[exp()](./?search=exp)
|
|
|
|
[log()](./?search=log)
|
|
|
|
[exp2()](./?search=exp2)
|
|
|
|
[log2()](./?search=log2)
|
|
|
|
[sqrt()](./?search=sqrt)
|
|
|
|
[inversesqrt()](./?search=inversesqrt)
|
2015-04-18 14:41:34 +00:00
|
|
|
|
|
|
|
* COMMON FUNCTIONS
|
|
|
|
|
2015-07-17 20:24:23 +00:00
|
|
|
[abs()](./?search=abs)
|
|
|
|
[sign()](./?search=sign)
|
|
|
|
[floor()](./?search=floor)
|
|
|
|
[ceil()](./?search=ceil)
|
|
|
|
[fract()](./?search=fract)
|
|
|
|
[mod()](./?search=mod)
|
|
|
|
[min()](./?search=min)
|
|
|
|
[max()](./?search=max)
|
|
|
|
[clamp()](./?search=clamp)
|
|
|
|
[mix()](./?search=mix)
|
|
|
|
[step()](./?search=step)
|
|
|
|
[smoothstep()](./?search=smoothstep)
|
2015-04-18 14:41:34 +00:00
|
|
|
|
|
|
|
* GEOMETRIC FUNCTIONS
|
|
|
|
|
2015-07-17 20:24:23 +00:00
|
|
|
[length()](./?search=length)
|
|
|
|
[distance()](./?search=distance)
|
|
|
|
[dot()](./?search=dot)
|
|
|
|
[cross()](./?search=cross)
|
|
|
|
[normalize()](./?search=normalize)
|
|
|
|
[facefoward()](./?search=facefoward)
|
|
|
|
[reflect()](./?search=reflect)
|
|
|
|
[refract()](./?search=refract)
|
2015-04-18 14:41:34 +00:00
|
|
|
|
|
|
|
* MATRIX FUNCTIONS
|
|
|
|
|
2015-07-17 20:24:23 +00:00
|
|
|
[matrixCompMult()](./?search=matrixCompMult)
|
2015-04-18 14:41:34 +00:00
|
|
|
|
|
|
|
* VECTOR RELATIONAL FUNCTIONS
|
|
|
|
|
2015-07-17 20:24:23 +00:00
|
|
|
[lessThan()](./?search=lessThan)
|
|
|
|
[lessThanEqual()](./?search=lessThanEqual)
|
|
|
|
[greaterThan()](./?search=greaterThan)
|
|
|
|
[greaterThanEqual()](./?search=greaterThanEqual)
|
|
|
|
[equal()](./?search=equal)
|
|
|
|
[notEqual()](./?search=notEqual)
|
|
|
|
[any()](./?search=any)
|
|
|
|
[all()](./?search=all)
|
|
|
|
[not()](./?search=not)
|
2015-04-18 14:41:34 +00:00
|
|
|
|
|
|
|
* TEXTURE LOOKUP FUNCTIONS
|
|
|
|
|
2015-07-17 20:24:23 +00:00
|
|
|
[texture2D()](./?search=texture2D)
|
|
|
|
[textureCube()](./?search=textureCube)
|
2015-04-18 14:41:34 +00:00
|
|
|
|
|
|
|
## Alphabetical
|
|
|
|
|
|
|
|
* A
|
|
|
|
|
2015-07-17 20:24:23 +00:00
|
|
|
[abs()](./?search=abs)
|
|
|
|
[acos()](./?search=acos)
|
|
|
|
[all()](./?search=all)
|
|
|
|
[any()](./?search=any)
|
|
|
|
[asin()](./?search=asin)
|
|
|
|
[atan()](./?search=atan)
|
|
|
|
[attribute](./?search=attribute)
|
2015-06-12 16:02:51 +00:00
|
|
|
|
|
|
|
* B
|
|
|
|
|
2015-07-17 20:24:23 +00:00
|
|
|
[bool](./?search=bool)
|
|
|
|
[bvec2](./?search=bvec2)
|
|
|
|
[bvec3](./?search=bvec3)
|
|
|
|
[bvec4](./?search=bvec4)
|
2015-04-18 14:41:34 +00:00
|
|
|
|
|
|
|
* C
|
|
|
|
|
2015-07-17 20:24:23 +00:00
|
|
|
[ceil()](./?search=ceil)
|
|
|
|
[clamp()](./?search=clamp)
|
|
|
|
[const](./?search=const)
|
|
|
|
[cos()](./?search=cos)
|
|
|
|
[cross()](./?search=cross)
|
2015-04-18 14:41:34 +00:00
|
|
|
|
|
|
|
* D
|
|
|
|
|
2015-07-17 20:24:23 +00:00
|
|
|
[degrees()](./?search=degrees)
|
|
|
|
[dFdx()](./?search=dFdx)
|
|
|
|
[dFdy()](./?search=dFdy)
|
|
|
|
[distance()](./?search=distance)
|
|
|
|
[dot()](./?search=dot)
|
2015-04-18 14:41:34 +00:00
|
|
|
|
2017-08-19 10:11:58 +00:00
|
|
|
* E
|
2015-04-18 14:41:34 +00:00
|
|
|
|
2015-07-17 20:24:23 +00:00
|
|
|
[equal()](./?search=equal)
|
|
|
|
[exp()](./?search=exp)
|
|
|
|
[exp2()](./?search=exp2)
|
2015-04-18 14:41:34 +00:00
|
|
|
|
2017-08-19 10:11:58 +00:00
|
|
|
* F
|
2015-04-18 14:41:34 +00:00
|
|
|
|
2015-07-17 20:24:23 +00:00
|
|
|
[faceforward()](./?search=faceforward)
|
|
|
|
[float](./?search=float)
|
|
|
|
[floor()](./?search=floor)
|
|
|
|
[fract()](./?search=fract)
|
2015-04-18 14:41:34 +00:00
|
|
|
|
|
|
|
* G
|
|
|
|
|
2015-07-17 20:24:23 +00:00
|
|
|
[greaterThan()](./?search=greaterThan)
|
|
|
|
[greaterThanEqual()](./?search=greaterThanEqual)
|
|
|
|
[gl_FragColor](./?search=gl_FragColor)
|
|
|
|
[gl_FragCoord](./?search=gl_FragCoord)
|
|
|
|
[gl_FrontFacing](./?search=gl_FrontFacing)
|
|
|
|
[gl_PointCoord](index.hmtl#gl_PointCoord)
|
|
|
|
[gl_PointSize](./?search=gl_PointSize)
|
|
|
|
[gl_Position](./?search=gl_Position)
|
|
|
|
[gl_MaxCombinedTextureImageUnits](./?search=gl_MaxCombinedTextureImageUnits)
|
|
|
|
[gl_MaxDrawBuffers](./?search=gl_MaxDrawBuffers)
|
|
|
|
[gl_MaxFragmentUniformVectors](./?search=gl_MaxFragmentUniformVectors)
|
|
|
|
[gl_MaxVaryingVectors](./?search=gl_MaxVaryingVectors)
|
|
|
|
[gl_MaxVertexAttribs](./?search=gl_MaxVertexAttribs)
|
|
|
|
[gl_MaxVertexTextureImageUnits](./?search=gl_MaxVertexTextureImageUnits)
|
|
|
|
[gl_MaxTextureImageUnits](./?search=gl_MaxTextureImageUnits)
|
2015-06-12 16:02:51 +00:00
|
|
|
|
|
|
|
* H
|
|
|
|
|
2015-07-17 20:24:23 +00:00
|
|
|
[highp](./?search=highp)
|
2015-04-18 14:41:34 +00:00
|
|
|
|
|
|
|
* I
|
|
|
|
|
2015-07-17 20:24:23 +00:00
|
|
|
[in](./?search=in)
|
|
|
|
[inout](./?search=inout)
|
|
|
|
[int](./?search=int)
|
|
|
|
[inversesqrt()](./?search=inversesqrt)
|
|
|
|
[ivec2](./?search=ivec2)
|
|
|
|
[ivec3](./?search=ivec3)
|
|
|
|
[ivec4](./?search=ivec4)
|
2015-04-18 14:41:34 +00:00
|
|
|
|
|
|
|
* L
|
|
|
|
|
2015-07-17 20:24:23 +00:00
|
|
|
[length()](./?search=length)
|
|
|
|
[lessThan()](./?search=lessThan)
|
|
|
|
[lessThanEqual()](./?search=lessThanEqual)
|
|
|
|
[log()](./?search=log)
|
|
|
|
[log2()](./?search=log2)
|
|
|
|
[lowp](./?search=lowp)
|
2015-04-18 14:41:34 +00:00
|
|
|
|
2017-08-19 10:11:58 +00:00
|
|
|
* M
|
2015-04-18 14:41:34 +00:00
|
|
|
|
2015-07-17 20:24:23 +00:00
|
|
|
[matrixCompMult()](./?search=matrixCompMult)
|
|
|
|
[mat2](./?search=mat2)
|
|
|
|
[mat3](./?search=mat3)
|
|
|
|
[mat4](./?search=mat4)
|
|
|
|
[max()](./?search=max)
|
|
|
|
[mediump](./?search=mediump)
|
|
|
|
[min()](./?search=min)
|
|
|
|
[mix()](./?search=mix)
|
|
|
|
[mod()](./?search=mod)
|
2015-04-18 14:41:34 +00:00
|
|
|
|
|
|
|
* N
|
|
|
|
|
2015-07-17 20:24:23 +00:00
|
|
|
[normalize()](./?search=normalize)
|
|
|
|
[not()](./?search=not)
|
|
|
|
[notEqual()](./?search=notEqual)
|
2015-04-18 14:41:34 +00:00
|
|
|
|
2015-06-12 16:02:51 +00:00
|
|
|
* O
|
|
|
|
|
2015-07-17 20:24:23 +00:00
|
|
|
[out](./?search=out)
|
2015-06-12 16:02:51 +00:00
|
|
|
|
2015-04-18 14:41:34 +00:00
|
|
|
* P
|
|
|
|
|
2015-07-17 20:24:23 +00:00
|
|
|
[precision](./?search=precision)
|
|
|
|
[pow()](./?search=pow)
|
2015-04-18 14:41:34 +00:00
|
|
|
|
|
|
|
* R
|
|
|
|
|
2015-07-17 20:24:23 +00:00
|
|
|
[radians()](./?search=radians)
|
|
|
|
[reflect()](./?search=reflect)
|
|
|
|
[refract()](./?search=refract)
|
2015-04-18 14:41:34 +00:00
|
|
|
|
|
|
|
* S
|
|
|
|
|
2015-07-17 20:24:23 +00:00
|
|
|
[sampler2D](./?search=sampler2D)
|
|
|
|
[samplerCube](./?search=samplerCube)
|
|
|
|
[sign()](./?search=sign)
|
|
|
|
[sin()](./?search=sin)
|
|
|
|
[smoothstep()](./?search=smoothstep)
|
|
|
|
[sqrt()](./?search=sqrt)
|
|
|
|
[step()](./?search=step)
|
|
|
|
[struct](./?search=struct)
|
2015-04-18 14:41:34 +00:00
|
|
|
|
|
|
|
* T
|
|
|
|
|
2015-07-17 20:24:23 +00:00
|
|
|
[tan()](./?search=tan)
|
|
|
|
[texture2D()](./?search=texture2D)
|
|
|
|
[textureCube()](./?search=textureCube)
|
2015-06-12 16:02:51 +00:00
|
|
|
|
|
|
|
* U
|
|
|
|
|
2015-07-17 20:24:23 +00:00
|
|
|
[uniform](./?search=uniform)
|
2015-06-12 16:02:51 +00:00
|
|
|
|
|
|
|
* V
|
|
|
|
|
2015-07-17 20:24:23 +00:00
|
|
|
[varying](./?search=varying)
|
|
|
|
[vec2](./?search=vec2)
|
|
|
|
[vec3](./?search=vec3)
|
|
|
|
[vec4](./?search=vec4)
|
|
|
|
[void](./?search=void)
|