| genType radians (genType degrees) |
|
| genType degrees (genType radians) |
|
| genType sin (genType angle) |
|
| genType cos (genType angle) |
|
| genType tan (genType angle) |
|
| genType asin (genType x) |
|
| genType acos (genType x) |
|
| genType atan (genType y, genType x) |
|
| genType atan (genType y_over_x) |
|
| |
|
| genType pow (genType x, genType y) |
|
| genType exp (genType x) |
|
| genType log (genType x) |
|
| genType exp2 (genType x) |
|
| genType log2 (genType x) |
|
| genType sqrt (genType x) |
|
| genType inversesqrt (genType x) |
|
| |
|
| genType abs (genType x) |
|
| genType sign (genType x) |
|
| genType floor (genType x) |
|
| genType ceil (genType x) |
|
| genType fract (genType x) |
|
| genType mod (genType x, float y) |
|
| genType mod (genType x, genType y) |
|
| genType min (genType x, genType y) |
|
| genType min (genType x, float y) |
|
| genType max (genType x, genType y) |
|
| genType max (genType x, float y) |
|
| genType clamp (genType x, genType minVal, genType maxVal) |
|
| genType clamp (genType x, float minVal, float maxVal) |
|
| genType mix (genType x, genType y, genType a) |
|
| genType mix (genType x, genType y, float a) |
|
| genType step (genType edge, genType x) |
|
| genType step (float edge, genType x) |
|
| genType smoothstep (genType edge0, genType edge1, genType x) |
|
| genType smoothstep (float edge0, float edge1, genType x) |
|
| |
|
| float length (genType x) |
|
| float distance (genType p0, genType p1) |
|
| float dot (genType x, genType y) |
|
| vec3 cross (vec3 x, vec3 y) |
|
| genType normalize (genType x) |
|
| vec4 ftransform() |
|
| genType faceforward(genType N, genType I, genType Nref) |
|
| genType reflect (genType I, genType N) |
|
| genType refract(genType I, genType N, float eta) |
|
| |
|
| mat matrixCompMult (mat x, mat y) |
|
| mat2 outerProduct(vec2 c, vec2 r) |
|
| mat3 outerProduct(vec3 c, vec3 r) |
|
| mat4 outerProduct(vec4 c, vec4 r) |
|
| mat2x3 outerProduct(vec3 c, vec2 r) |
|
| mat3x2 outerProduct(vec2 c, vec3 r) |
|
| mat2x4 outerProduct(vec4 c, vec2 r) |
|
| mat4x2 outerProduct(vec2 c, vec4 r) |
|
| mat3x4 outerProduct(vec4 c, vec3 r) |
|
| mat4x3 outerProduct(vec3 c, vec4 r) |
|
| mat2 transpose(mat2 m) |
|
| mat3 transpose(mat3 m) |
|
| mat4 transpose(mat4 m) |
|
| mat2x3 transpose(mat3x2 m) |
|
| mat3x2 transpose(mat2x3 m) |
|
| mat2x4 transpose(mat4x2 m) |
|
| mat4x2 transpose(mat2x4 m) |
|
| mat3x4 transpose(mat4x3 m) |
|
| mat4x3 transpose(mat3x4 m) |
|
| |
|
| bvec lessThan(vec x, vec y) |
|
| bvec lessThan(ivec x, ivec y) |
|
| bvec lessThanEqual(vec x, vec y) |
|
| bvec lessThanEqual(ivec x, ivec y) |
|
| bvec greaterThan(vec x, vec y) |
|
| bvec greaterThan(ivec x, ivec y) |
|
| bvec greaterThanEqual(vec x, vec y) |
|
| bvec greaterThanEqual(ivec x, ivec y) |
|
| bvec equal(vec x, vec y) |
|
| bvec equal(ivec x, ivec y) |
|
| bvec equal(bvec x, bvec y) |
|
| bvec notEqual(vec x, vec y) |
|
| bvec notEqual(ivec x, ivec y) |
|
| bvec notEqual(bvec x, bvec y) |
|
| bool any(bvec x) |
|
| bool all(bvec x) |
|
| bvec not(bvec x) |
|
| |
|
| vec4 texture1D (sampler1D sampler, float coord [, float bias] ) |
|
| vec4 texture1DProj (sampler1D sampler, vec2 coord [, float bias] ) |
|
| vec4 texture1DProj (sampler1D sampler, vec4 coord [, float bias] ) |
|
| vec4 texture1DLod (sampler1D sampler, float coord, float lod) |
|
| vec4 texture1DProjLod (sampler1D sampler, vec2 coord, float lod) |
|
| vec4 texture1DProjLod (sampler1D sampler, vec4 coord, float lod) |
|
| vec4 texture2D (sampler2D sampler, vec2 coord [, float bias] ) |
|
| vec4 texture2DProj (sampler2D sampler, vec3 coord [, float bias] ) |
|
| vec4 texture2DProj (sampler2D sampler, vec4 coord [, float bias] ) |
|
| vec4 texture2DLod (sampler2D sampler, vec2 coord, float lod) |
|
| vec4 texture2DProjLod (sampler2D sampler, vec3 coord, float lod) |
|
| vec4 texture2DProjLod (sampler2D sampler, vec4 coord, float lod) |
|
| vec4 texture3D (sampler3D sampler, vec3 coord [, float bias] ) |
|
| vec4 texture3DProj (sampler3D sampler, vec4 coord [, float bias] ) |
|
| vec4 texture3DLod (sampler3D sampler, vec3 coord, float lod) |
|
| vec4 texture3DProjLod (sampler3D sampler, vec4 coord, float lod) |
|
| vec4 textureCube (samplerCube sampler, vec3 coord [, float bias] ) |
|
| vec4 textureCubeLod (samplerCube sampler, vec3 coord, float lod) |
|
| vec4 shadow1D (sampler1DShadow sampler, vec3 coord [, float bias] ) |
|
| vec4 shadow2D (sampler2DShadow sampler, vec3 coord [, float bias] ) |
|
| vec4 shadow1DProj (sampler1DShadow sampler, vec4 coord [, float bias] ) |
|
| vec4 shadow2DProj (sampler2DShadow sampler, vec4 coord [, float bias] ) |
|
| vec4 shadow1DLod (sampler1DShadow sampler, vec3 coord, float lod) |
|
| vec4 shadow2DLod (sampler2DShadow sampler, vec3 coord, float lod) |
|
| vec4 shadow1DProjLod(sampler1DShadow sampler, vec4 coord, float lod) |
|
| vec4 shadow2DProjLod(sampler2DShadow sampler,vec4 coord, float lod) |
|
| |
|
| genType dFdx (genType p) |
|
| genType dFdy (genType p) |
|
| genType fwidth (genType p) |
|
| |
|
| float noise1 (genType x) |
|
| vec2 noise2 (genType x) |
|
| vec3 noise3 (genType x) |
|
| vec4 noise4 (genType x) |
|