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