mirror of
https://github.com/patriciogonzalezvivo/thebookofshaders
synced 2024-11-08 01:10:27 +00:00
278 lines
5.9 KiB
Markdown
278 lines
5.9 KiB
Markdown
# Glossary
|
|
|
|
## By theme
|
|
|
|
* TYPES
|
|
|
|
[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)
|
|
|
|
* QUALIFIERS
|
|
|
|
[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)
|
|
|
|
* BUILT-IN VARIABLES
|
|
|
|
[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)
|
|
|
|
* BUILT-IN CONSTANTS
|
|
|
|
[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)
|
|
|
|
* ANGLE & TRIGONOMETRY FUNCTIONS
|
|
|
|
[radians()](./?search=radians)
|
|
[degrees()](./?search=degrees)
|
|
[sin()](./?search=sin)
|
|
[cos()](./?search=cos)
|
|
[tan()](./?search=tan)
|
|
[asin()](./?search=asin)
|
|
[acos()](./?search=acos)
|
|
[atan()](./?search=atan)
|
|
|
|
* EXPONENTIAL FUNCTIONS
|
|
|
|
[pow()](./?search=pow)
|
|
[exp()](./?search=exp)
|
|
[log()](./?search=log)
|
|
[exp2()](./?search=exp2)
|
|
[log2()](./?search=log2)
|
|
[sqrt()](./?search=sqrt)
|
|
[inversesqrt()](./?search=inversesqrt)
|
|
|
|
* COMMON FUNCTIONS
|
|
|
|
[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)
|
|
|
|
* GEOMETRIC FUNCTIONS
|
|
|
|
[length()](./?search=length)
|
|
[distance()](./?search=distance)
|
|
[dot()](./?search=dot)
|
|
[cross()](./?search=cross)
|
|
[normalize()](./?search=normalize)
|
|
[facefoward()](./?search=facefoward)
|
|
[reflect()](./?search=reflect)
|
|
[refract()](./?search=refract)
|
|
|
|
* MATRIX FUNCTIONS
|
|
|
|
[matrixCompMult()](./?search=matrixCompMult)
|
|
|
|
* VECTOR RELATIONAL FUNCTIONS
|
|
|
|
[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)
|
|
|
|
* TEXTURE LOOKUP FUNCTIONS
|
|
|
|
[texture2D()](./?search=texture2D)
|
|
[textureCube()](./?search=textureCube)
|
|
|
|
## Alphabetical
|
|
|
|
* A
|
|
|
|
[abs()](./?search=abs)
|
|
[acos()](./?search=acos)
|
|
[all()](./?search=all)
|
|
[any()](./?search=any)
|
|
[asin()](./?search=asin)
|
|
[atan()](./?search=atan)
|
|
[attribute](./?search=attribute)
|
|
|
|
* B
|
|
|
|
[bool](./?search=bool)
|
|
[bvec2](./?search=bvec2)
|
|
[bvec3](./?search=bvec3)
|
|
[bvec4](./?search=bvec4)
|
|
|
|
* C
|
|
|
|
[ceil()](./?search=ceil)
|
|
[clamp()](./?search=clamp)
|
|
[const](./?search=const)
|
|
[cos()](./?search=cos)
|
|
[cross()](./?search=cross)
|
|
|
|
* D
|
|
|
|
[degrees()](./?search=degrees)
|
|
[dFdx()](./?search=dFdx)
|
|
[dFdy()](./?search=dFdy)
|
|
[distance()](./?search=distance)
|
|
[dot()](./?search=dot)
|
|
|
|
* E
|
|
|
|
[equal()](./?search=equal)
|
|
[exp()](./?search=exp)
|
|
[exp2()](./?search=exp2)
|
|
|
|
* F
|
|
|
|
[faceforward()](./?search=faceforward)
|
|
[float](./?search=float)
|
|
[floor()](./?search=floor)
|
|
[fract()](./?search=fract)
|
|
|
|
* G
|
|
|
|
[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)
|
|
|
|
* H
|
|
|
|
[highp](./?search=highp)
|
|
|
|
* I
|
|
|
|
[in](./?search=in)
|
|
[inout](./?search=inout)
|
|
[int](./?search=int)
|
|
[inversesqrt()](./?search=inversesqrt)
|
|
[ivec2](./?search=ivec2)
|
|
[ivec3](./?search=ivec3)
|
|
[ivec4](./?search=ivec4)
|
|
|
|
* L
|
|
|
|
[length()](./?search=length)
|
|
[lessThan()](./?search=lessThan)
|
|
[lessThanEqual()](./?search=lessThanEqual)
|
|
[log()](./?search=log)
|
|
[log2()](./?search=log2)
|
|
[lowp](./?search=lowp)
|
|
|
|
* M
|
|
|
|
[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)
|
|
|
|
* N
|
|
|
|
[normalize()](./?search=normalize)
|
|
[not()](./?search=not)
|
|
[notEqual()](./?search=notEqual)
|
|
|
|
* O
|
|
|
|
[out](./?search=out)
|
|
|
|
* P
|
|
|
|
[precision](./?search=precision)
|
|
[pow()](./?search=pow)
|
|
|
|
* R
|
|
|
|
[radians()](./?search=radians)
|
|
[reflect()](./?search=reflect)
|
|
[refract()](./?search=refract)
|
|
|
|
* S
|
|
|
|
[sampler2D](./?search=sampler2D)
|
|
[samplerCube](./?search=samplerCube)
|
|
[sign()](./?search=sign)
|
|
[sin()](./?search=sin)
|
|
[smoothstep()](./?search=smoothstep)
|
|
[sqrt()](./?search=sqrt)
|
|
[step()](./?search=step)
|
|
[struct](./?search=struct)
|
|
|
|
* T
|
|
|
|
[tan()](./?search=tan)
|
|
[texture2D()](./?search=texture2D)
|
|
[textureCube()](./?search=textureCube)
|
|
|
|
* U
|
|
|
|
[uniform](./?search=uniform)
|
|
|
|
* V
|
|
|
|
[varying](./?search=varying)
|
|
[vec2](./?search=vec2)
|
|
[vec3](./?search=vec3)
|
|
[vec4](./?search=vec4)
|
|
[void](./?search=void)
|