OpenGL Shading Language Reference Pages



A   B   C   D   E   F   G   I   L   M   N   O   P   R   S   T   U  
Built-in Variables


A
abs
acos
acosh
all
any
asin
asinh
atan
atanh
atomicAdd
atomicAnd
atomicCompSwap
atomicCounter
atomicCounterDecrement
atomicCounterIncrement
atomicExchange
atomicMax
atomicMin
atomicOr
atomicXor
Top


B
barrier
bitCount
bitfieldExtract
bitfieldInsert
bitfieldReverse
Top


C
ceil
clamp
cos
cosh
cross
Top


D
degrees
determinant
dFdx
dFdy
distance
dot
Top


E
EmitStreamVertex
EmitVertex
EndPrimitive
EndStreamPrimitive
equal
exp
exp2
Top


F
faceforward
findLSB
findMSB
floatBitsToInt
floatBitsToUint
floor
fma
fract
frexp
fwidth
Top


G
greaterThan
greaterThanEqual
groupMemoryBarrier
Top


I
imageAtomicAdd
imageAtomicAnd
imageAtomicCompSwap
imageAtomicExchange
imageAtomicMax
imageAtomicMin
imageAtomicOr
imageAtomicXor
imageLoad
imageSize
imageStore
imulExtended
intBitsToFloat
interpolateAtCentroid
interpolateAtOffset
interpolateAtSample
inverse
inversesqrt
isinf
isnan
Top


L
ldexp
length
lessThan
lessThanEqual
log
log2
Top


M
matrixCompMult
max
memoryBarrier
memoryBarrierAtomicCounter
memoryBarrierBuffer
memoryBarrierImage
memoryBarrierShared
min
mix
mod
modf
Top


N
noise
normalize
not
notEqual
Top


O
outerProduct
Top


P
packDouble2x32
packHalf2x16
packSnorm2x16
packSnorm4x8
packUnorm2x16
packUnorm4x8
pow
Top


R
radians
reflect
refract
round
roundEven
Top


S
sign
sin
sinh
smoothstep
sqrt
step
Top


T
tan
tanh
texelFetch
texelFetchOffset
texture
textureGather
textureGatherOffset
textureGatherOffsets
textureGrad
textureGradOffset
textureLod
textureLodOffset
textureOffset
textureProj
textureProjGrad
textureProjGradOffset
textureProjLod
textureProjLodOffset
textureProjOffset
textureQueryLevels
textureQueryLod
textureSize
transpose
trunc
Top


U
uaddCarry
uintBitsToFloat
umulExtended
unpackDouble2x32
unpackHalf2x16
unpackSnorm2x16
unpackSnorm4x8
unpackUnorm2x16
unpackUnorm4x8
usubBorrow
Top


Built-in Variables
gl_ClipDistance
gl_FragCoord
gl_FragDepth
gl_FrontFacing
gl_GlobalInvocationID
gl_InstanceID
gl_InvocationID
gl_Layer
gl_LocalInvocationID
gl_LocalInvocationIndex
gl_NumSamples
gl_NumWorkGroups
gl_PatchVerticesIn
gl_PointCoord
gl_PointSize
gl_Position
gl_PrimitiveID
gl_PrimitiveIDIn
gl_SampleID
gl_SampleMask
gl_SampleMaskIn
gl_SamplePosition
gl_TessCoord
gl_TessLevelInner
gl_TessLevelOuter
gl_VertexID
gl_ViewportIndex
gl_WorkGroupID
gl_WorkGroupSize
Top

OpenGL Shading Language (GLSL) Reference Pages Copyright © 2011 Khronos Group, Inc.