thebookofshaders/glossary/README.md

278 lines
5.9 KiB
Markdown
Raw Normal View History

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
[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
[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
[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
[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
[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
[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
[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
[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
[matrixCompMult()](./?search=matrixCompMult)
2015-04-18 14:41:34 +00:00
* 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)
2015-04-18 14:41:34 +00:00
* TEXTURE LOOKUP FUNCTIONS
[texture2D()](./?search=texture2D)
[textureCube()](./?search=textureCube)
2015-04-18 14:41:34 +00:00
## Alphabetical
* A
[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
[bool](./?search=bool)
[bvec2](./?search=bvec2)
[bvec3](./?search=bvec3)
[bvec4](./?search=bvec4)
2015-04-18 14:41:34 +00:00
* C
[ceil()](./?search=ceil)
[clamp()](./?search=clamp)
[const](./?search=const)
[cos()](./?search=cos)
[cross()](./?search=cross)
2015-04-18 14:41:34 +00:00
* D
[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
[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
[faceforward()](./?search=faceforward)
[float](./?search=float)
[floor()](./?search=floor)
[fract()](./?search=fract)
2015-04-18 14:41:34 +00:00
* 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)
2015-06-12 16:02:51 +00:00
* H
[highp](./?search=highp)
2015-04-18 14:41:34 +00:00
* I
[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
[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
[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
[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
[out](./?search=out)
2015-06-12 16:02:51 +00:00
2015-04-18 14:41:34 +00:00
* P
[precision](./?search=precision)
[pow()](./?search=pow)
2015-04-18 14:41:34 +00:00
* R
[radians()](./?search=radians)
[reflect()](./?search=reflect)
[refract()](./?search=refract)
2015-04-18 14:41:34 +00:00
* 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)
2015-04-18 14:41:34 +00:00
* T
[tan()](./?search=tan)
[texture2D()](./?search=texture2D)
[textureCube()](./?search=textureCube)
2015-06-12 16:02:51 +00:00
* U
[uniform](./?search=uniform)
2015-06-12 16:02:51 +00:00
* V
[varying](./?search=varying)
[vec2](./?search=vec2)
[vec3](./?search=vec3)
[vec4](./?search=vec4)
[void](./?search=void)