📦 opengl-4-man-doc

626 pages · page 3 of 4

G (continued)

I

  • imageAtomicAdd(3G)atomically add a value to an existing value in memory and return the original value✨
  • imageAtomicAnd(3G)atomically compute the logical AND of a value with an existing value in memory, store that value and return the original value✨
  • imageAtomicCompSwap(3G)atomically compares supplied data with that in memory and conditionally stores it to memory✨
  • imageAtomicExchange(3G)atomically store supplied data into memory and return the original value from memory✨
  • imageAtomicMax(3G)atomically compute the minimum of a value with an existing value in memory, store that value and return the original value✨
  • imageAtomicMin(3G)atomically compute the minimum of a value with an existing value in memory, store that value and return the original value✨
  • imageAtomicOr(3G)atomically compute the logical OR of a value with an existing value in memory, store that value and return the original value✨
  • imageAtomicXor(3G)atomically compute the logical exclusive OR of a value with an existing value in memory, store that value and return the original value✨
  • imageLoad(3G)load a single texel from an image✨
  • imageSamples(3G)return the number of samples of an image✨
  • imageSize(3G)retrieve the dimensions of an image✨
  • imageStore(3G)write a single texel into an image✨
  • intBitsToFloat,_uintBitsToFloat(3G)produce a floating point using an encoding supplied as an integer✨
  • interpolateAtCentroid(3G)sample a varying at the centroid of a pixel✨
  • interpolateAtOffset(3G)sample a varying at specified offset from the center of a pixel✨
  • interpolateAtSample(3G)sample a varying at the location of a specified sample✨
  • inverse(3G)calculate the inverse of a matrix✨
  • inversesqrt(3G)return the inverse of the square root of the parameter✨
  • isinf(3G)determine whether the parameter is positive or negative infinity✨
  • isnan(3G)determine whether the parameter is a number✨

L

  • ldexp(3G)assemble a floating point number from a value and exponent✨
  • length(3G)calculate the length of a vector✨
  • lessThan(3G)perform a component-wise less-than comparison of two vectors✨
  • lessThanEqual(3G)perform a component-wise less-than-or-equal comparison of two vectors✨
  • log(3G)return the natural logarithm of the parameter✨
  • log2(3G)return the base 2 logarithm of the parameter✨

M

  • matrixCompMult(3G)perform a component-wise multiplication of two matrices✨
  • max(3G)return the greater of two values✨
  • memoryBarrier(3G)controls the ordering of memory transactions issued by a single shader invocation✨
  • memoryBarrierAtomicCounter(3G)controls the ordering of operations on atomic counters issued by a single shader invocation✨
  • memoryBarrierBuffer(3G)controls the ordering of operations on buffer variables issued by a single shader invocation✨
  • memoryBarrierImage(3G)controls the ordering of operations on image variables issued by a single shader invocation✨
  • memoryBarrierShared(3G)controls the ordering of operations on shared variables issued by a single shader invocation✨
  • min(3G)return the lesser of two values✨
  • mix(3G)linearly interpolate between two values✨
  • mod(3G)compute value of one parameter modulo another✨
  • modf(3G)separate a value into its integer and fractional components✨

N

  • noise(3G)generate values with a pseudo-random noise function✨
  • normalize(3G)calculate the normalize product of two vectors✨
  • not(3G)logically invert a boolean vector✨
  • notEqual(3G)perform a component-wise not-equal-to comparison of two vectors✨

O

P

  • packDouble2x32(3G)create a double-precision value from a pair of unsigned integers✨
  • packHalf2x16(3G)convert two 32-bit floating-point quantities to 16-bit quantities and pack them into a single 32-bit integer✨
  • packUnorm(3G)pack floating-point values into an unsigned integer✨
  • pow(3G)return the value of the first parameter raised to the power of the second✨

R

  • radians(3G)convert a quantity in degrees to radians✨
  • reflect(3G)calculate the reflection direction for an incident vector✨
  • refract(3G)calculate the refraction direction for an incident vector✨
  • removedTypes(3G)Describes types removed and replaced in the OpenGL API in OpenGL 4.2✨
  • round(3G)find the nearest integer less than or equal to the parameter✨
  • roundEven(3G)find the nearest even integer to the parameter✨

S

  • sign(3G)extract the sign of the parameter✨
  • sin(3G)return the sine of the parameter✨
  • sinh(3G)return the hyperbolic sine of the parameter✨
  • smoothstep(3G)perform Hermite interpolation between two values✨
  • sqrt(3G)return the square root of the parameter✨
  • step(3G)generate a step function by comparing two values✨

T

  • tan(3G)return the tangent of the parameter✨
  • tanh(3G)return the hyperbolic tangent of the parameter✨
  • texelFetch(3G)perform a lookup of a single texel within a texture✨
  • texelFetchOffset(3G)perform a lookup of a single texel within a texture with an offset✨
  • texture(3G)retrieves texels from a texture✨