Light | Dark

# docs.GL

Hide unavailable

- Textures
  - glActiveTexture
  - glBindImageTexture
  - glBindImageTextures
  - glBindTexture
  - glBindTextureUnit
  - glBindTextures
  - glClearTexImage
  - glClearTexSubImage
  - glCompressedTexImage1D
  - glCompressedTexImage2D
  - glCompressedTexImage3D
  - glCompressedTexSubImage1D
  - glCompressedTexSubImage2D
  - glCompressedTexSubImage3D
  - glCopyImageSubData
  - glCopyTexImage1D
  - glCopyTexImage2D
  - glCopyTexSubImage1D
  - glCopyTexSubImage2D
  - glCopyTexSubImage3D
  - glCreateTextures
  - glDeleteTextures
  - glGenTextures
  - glGetCompressedTexImage
  - glGetCompressedTextureSubImage
  - glGetTexImage
  - glGetTexLevelParameter
  - glGetTexParameter
  - glGetTextureSubImage
  - glInvalidateTexImage
  - glInvalidateTexSubImage
  - glIsTexture
  - glTexBuffer
  - glTexBufferRange
  - glTexImage1D
  - glTexImage2D
  - glTexImage2DMultisample
  - glTexImage3D
  - glTexImage3DMultisample
  - glTexParameter
  - glTexStorage1D
  - glTexStorage2D
  - glTexStorage2DMultisample
  - glTexStorage3D
  - glTexStorage3DMultisample
  - glTexSubImage1D
  - glTexSubImage2D
  - glTexSubImage3D
  - glTextureView
- Rendering
  - glClear
  - glClearBuffer
  - glClearColor
  - glClearDepth
  - glClearDepthf
  - glClearStencil
  - glDrawBuffer
  - glFinish
  - glFlush
  - glReadBuffer
  - glReadPixels
- Frame Buffers
  - glBindFramebuffer
  - glBindRenderbuffer
  - glBlitFramebuffer
  - glCheckFramebufferStatus
  - glCreateFramebuffers
  - glCreateRenderbuffers
  - glDeleteFramebuffers
  - glDeleteRenderbuffers
  - glDrawBuffers
  - glFramebufferParameteri
  - glFramebufferRenderbuffer
  - glFramebufferTexture
  - glFramebufferTexture2D
  - glFramebufferTextureLayer
  - glGenFramebuffers
  - glGenRenderbuffers
  - glGenerateMipmap
  - glGetFramebufferAttachmentParameter
  - glGetFramebufferAttachmentParameteriv
  - glGetFramebufferParameter
  - glGetFramebufferParameteriv
  - glGetRenderbufferParameter
  - glGetRenderbufferParameteriv
  - glInvalidateFramebuffer
  - glInvalidateSubFramebuffer
  - glIsFramebuffer
  - glIsRenderbuffer
  - glRenderbufferStorage
  - glRenderbufferStorageMultisample
  - glSampleMaski
- Shaders
  - glAttachShader
  - glBindAttribLocation
  - glBindFragDataLocation
  - glBindFragDataLocationIndexed
  - glCompileShader
  - glCreateProgram
  - glCreateShader
  - glCreateShaderProgram
  - glDeleteProgram
  - glDeleteShader
  - glDetachShader
  - glGetActiveAtomicCounterBufferiv
  - glGetActiveAttrib
  - glGetActiveSubroutineName
  - glGetActiveSubroutineUniform
  - glGetActiveSubroutineUniformName
  - glGetActiveUniform
  - glGetActiveUniformBlock
  - glGetActiveUniformBlockName
  - glGetActiveUniformBlockiv
  - glGetActiveUniformName
  - glGetActiveUniformsiv
  - glGetAttachedShaders
  - glGetAttribLocation
  - glGetFragDataIndex
  - glGetFragDataLocation
  - glGetProgram
  - glGetProgramBinary
  - glGetProgramInfoLog
  - glGetProgramResource
  - glGetProgramResourceIndex
  - glGetProgramResourceLocation
  - glGetProgramResourceLocationIndex
  - glGetProgramResourceName
  - glGetProgramStage
  - glGetProgramiv
  - glGetShader
  - glGetShaderInfoLog
  - glGetShaderPrecisionFormat
  - glGetShaderSource
  - glGetShaderiv
  - glGetSubroutineIndex
  - glGetSubroutineUniformLocation
  - glGetUniform
  - glGetUniformBlockIndex
  - glGetUniformIndices
  - glGetUniformLocation
  - glGetUniformSubroutine
  - glIsProgram
  - glIsShader
  - glLinkProgram
  - glMinSampleShading
  - glProgramBinary
  - glProgramParameter
  - glProgramParameteri
  - glProgramUniform
  - glReleaseShaderCompiler
  - glShaderBinary
  - glShaderSource
  - glShaderStorageBlockBinding
  - glUniform
  - glUniformBlockBinding
  - glUniformSubroutines
  - glUseProgram
  - glUseProgramStages
  - glValidateProgram
- Buffer Objects
  - glBindBuffer
  - glBindBufferBase
  - glBindBufferRange
  - glBindBuffersBase
  - glBindBuffersRange
  - glBindVertexBuffer
  - glBindVertexBuffers
  - glBufferData
  - glBufferStorage
  - glBufferSubData
  - glClearBufferData
  - glClearBufferSubData
  - glCopyBufferSubData
  - glCreateBuffers
  - glCreateVertexArrays
  - glDeleteBuffers
  - glDisableVertexAttribArray
  - glDrawArrays
  - glDrawArraysIndirect
  - glDrawArraysInstanced
  - glDrawArraysInstancedBaseInstance
  - glDrawElements
  - glDrawElementsBaseVertex
  - glDrawElementsIndirect
  - glDrawElementsInstanced
  - glDrawElementsInstancedBaseInstance
  - glDrawElementsInstancedBaseVertex
  - glDrawElementsInstancedBaseVertexBaseInstance
  - glDrawRangeElements
  - glDrawRangeElementsBaseVertex
  - glEnableVertexAttribArray
  - glFlushMappedBufferRange
  - glGenBuffers
  - glGetBufferParameter
  - glGetBufferParameteriv
  - glGetBufferPointerv
  - glGetBufferSubData
  - glGetVertexArrayIndexed
  - glGetVertexArrayiv
  - glGetVertexAttrib
  - glGetVertexAttribPointerv
  - glInvalidateBufferData
  - glInvalidateBufferSubData
  - glIsBuffer
  - glMapBuffer
  - glMapBufferRange
  - glMultiDrawArrays
  - glMultiDrawArraysIndirect
  - glMultiDrawElements
  - glMultiDrawElementsBaseVertex
  - glMultiDrawElementsIndirect
  - glPatchParameter
  - glPrimitiveRestartIndex
  - glProvokingVertex
  - glUnmapBuffer
  - glVertexArrayElementBuffer
  - glVertexAttrib
  - glVertexAttribBinding
  - glVertexAttribDivisor
  - glVertexAttribFormat
  - glVertexAttribPointer
  - glVertexBindingDivisor
- State Management
  - glBlendColor
  - glBlendEquation
  - glBlendEquationSeparate
  - glBlendFunc
  - glBlendFuncSeparate
  - glClampColor
  - glClipControl
  - glColorMask
  - glCullFace
  - glDepthFunc
  - glDepthMask
  - glDepthRange
  - glDepthRangeArray
  - glDepthRangeIndexed
  - glDepthRangef
  - glDisable
  - glEnable
  - glFrontFace
  - glGet
  - glGetError
  - glHint
  - glIsEnabled
  - glLineWidth
  - glLogicOp
  - glPixelStore
  - glPixelStorei
  - glPointParameter
  - glPointSize
  - glPolygonMode
  - glPolygonOffset
  - glSampleCoverage
  - glScissor
  - glScissorArray
  - glScissorIndexed
  - glStencilFunc
  - glStencilFuncSeparate
  - glStencilMask
  - glStencilMaskSeparate
  - glStencilOp
  - glStencilOpSeparate
  - glViewport
  - glViewportArray
  - glViewportIndexed
- Transform Feedback
  - glBeginTransformFeedback
  - glBindTransformFeedback
  - glCreateTransformFeedbacks
  - glDeleteTransformFeedbacks
  - glDrawTransformFeedback
  - glDrawTransformFeedbackInstanced
  - glDrawTransformFeedbackStream
  - glDrawTransformFeedbackStreamInstanced
  - glEndTransformFeedback
  - glGenTransformFeedbacks
  - glGetTransformFeedback
  - glGetTransformFeedbackVarying
  - glIsTransformFeedback
  - glPauseTransformFeedback
  - glResumeTransformFeedback
  - glTransformFeedbackBufferBase
  - glTransformFeedbackBufferRange
  - glTransformFeedbackVaryings
- Utility
  - glDispatchCompute
  - glDispatchComputeIndirect
  - glGetGraphicsResetStatus
  - glGetInternalformat
  - glGetInternalformativ
  - glGetMultisample
  - glGetMultisamplefv
  - glGetString
  - glMemoryBarrier
- Queries
  - glBeginConditionalRender
  - glBeginQuery
  - glBeginQueryIndexed
  - glCreateQueries
  - glDeleteQueries
  - glEndConditionalRender
  - glEndQuery
  - glEndQueryIndexed
  - glGenQueries
  - glGetQueryIndexed
  - glGetQueryObject
  - glGetQueryObjectuiv
  - glGetQueryiv
  - glIsQuery
  - glQueryCounter
- Syncing
  - glClientWaitSync
  - glDeleteSync
  - glFenceSync
  - glGetSync
  - glGetSynciv
  - glIsSync
  - glTextureBarrier
  - glWaitSync
- Vertex Array Objects
  - glBindVertexArray
  - glDeleteVertexArrays
  - glGenVertexArrays
  - glIsVertexArray
- Samplers
  - glBindSampler
  - glBindSamplers
  - glCreateSamplers
  - glDeleteSamplers
  - glGenSamplers
  - glGetSamplerParameter
  - glIsSampler
  - glSamplerParameter
- Program Pipelines
  - glActiveShaderProgram
  - glBindProgramPipeline
  - glCreateProgramPipelines
  - glDeleteProgramPipelines
  - glGenProgramPipelines
  - glGetProgramPipeline
  - glGetProgramPipelineInfoLog
  - glIsProgramPipeline
  - glValidateProgramPipeline
- Immediate Mode
  - glArrayElement
  - glBegin
  - glColor
  - glEnd
  - glEvalCoord
  - glEvalMesh
  - glEvalPoint
  - glFogCoord
  - glIndex
  - glMaterial
  - glMultiTexCoord
  - glNormal
  - glSecondaryColor
  - glTexCoord
  - glVertex
- GL2 Rasterization
  - glBitmap
  - glClearIndex
  - glClipPlane
  - glCopyPixels
  - glDrawPixels
  - glFeedbackBuffer
  - glFog
  - glGetClipPlane
  - glGetMap
  - glGetPixelMap
  - glGetPolygonStipple
  - glInitNames
  - glLineStipple
  - glLoadName
  - glMap1
  - glMap2
  - glMapGrid
  - glPassThrough
  - glPixelZoom
  - glPolygonStipple
  - glPopName
  - glPushName
  - glRasterPos
  - glRect
  - glRenderMode
  - glSelectBuffer
  - glWindowPos
- Client Arrays
  - glColorPointer
  - glDisableClientState
  - glEnableClientState
  - glFogCoordPointer
  - glIndexPointer
  - glInterleavedArrays
  - glNormalPointer
  - glPopClientAttrib
  - glPushClientAttrib
  - glSecondaryColorPointer
  - glTexCoordPointer
  - glVertexPointer
- Fixed Function
  - glAccum
  - glAlphaFunc
  - glClearAccum
  - glColorMaterial
  - glEdgeFlag
  - glEdgeFlagPointer
  - glGetLight
  - glGetMaterial
  - glGetTexEnv
  - glGetTexGen
  - glIndexMask
  - glLight
  - glLightModel
  - glPopAttrib
  - glPushAttrib
  - glShadeModel
  - glTexEnv
  - glTexGen
- Matrix State
  - glFrustum
  - glLoadIdentity
  - glLoadMatrix
  - glLoadTransposeMatrix
  - glMatrixMode
  - glMultMatrix
  - glMultTransposeMatrix
  - glOrtho
  - glPopMatrix
  - glPushMatrix
  - glRotate
  - glScale
  - glTranslate
- GL2 Textures
  - glAreTexturesResident
  - glClientActiveTexture
  - glPixelMap
  - glPixelTransfer
  - glPrioritizeTextures
- Call Lists
  - glCallList
  - glCallLists
  - glDeleteLists
  - glEndList
  - glGenLists
  - glIsList
  - glListBase
  - glNewList
- Debug
  - glDebugMessageCallback
  - glDebugMessageControl
  - glDebugMessageInsert
  - glGetDebugMessageLog
  - glGetObjectLabel
  - glGetObjectPtrLabel
  - glGetPointerv
  - glGetProgramInterface
  - glObjectLabel
  - glObjectPtrLabel
  - glPopDebugGroup
  - glPushDebugGroup

- Trigonometry
  - acos
  - acosh
  - asin
  - asinh
  - atan
  - atanh
  - cos
  - cosh
  - degrees
  - radians
  - sin
  - sinh
  - tan
  - tanh
- Mathematics
  - abs
  - ceil
  - clamp
  - dFdx
  - dFdy
  - exp
  - exp2
  - floor
  - floor
  - fma
  - fract
  - fwidth
  - inversesqrt
  - isinf
  - isnan
  - log
  - log2
  - max
  - min
  - mix
  - mod
  - modf
  - noise
  - pow
  - round
  - roundEven
  - sign
  - smoothstep
  - sqrt
  - step
  - trunc
- Floating-Point
  - floatBitsToInt
  - frexp
  - intBitsToFloat
  - ldexp
  - packDouble2x32
  - packHalf2x16
  - packUnorm
  - unpackDouble2x32
  - unpackHalf2x16
  - unpackUnorm
- Built-In Variables
  - gl_ClipDistance
  - gl_CullDistance
  - gl_FragCoord
  - gl_FragDepth
  - gl_FrontFacing
  - gl_GlobalInvocationID
  - gl_HelperInvocation
  - 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
- Vector
  - cross
  - distance
  - dot
  - equal
  - faceforward
  - length
  - normalize
  - notEqual
  - reflect
  - refract
- Component Comparison
  - all
  - any
  - greaterThan
  - greaterThanEqual
  - lessThan
  - lessThanEqual
  - not
- Geometry Shader
  - EmitStreamVertex
  - EmitVertex
  - EndPrimitive
  - EndStreamPrimitive
- Texture Sampling
  - interpolateAtCentroid
  - interpolateAtOffset
  - interpolateAtSample
  - texelFetch
  - texelFetchOffset
  - texture
  - textureGather
  - textureGatherOffset
  - textureGatherOffsets
  - textureGrad
  - textureGradOffset
  - textureLod
  - textureLodOffset
  - textureOffset
  - textureProj
  - textureProjGrad
  - textureProjGradOffset
  - textureProjLod
  - textureProjLodOffset
  - textureProjOffset
  - textureQueryLevels
  - textureQueryLod
  - textureSamples
  - textureSize
- Matrix
  - determinant
  - groupMemoryBarrier
  - inverse
  - matrixCompMult
  - outerProduct
  - transpose
- Integer
  - bitCount
  - bitfieldExtract
  - bitfieldInsert
  - bitfieldReverse
  - findLSB
  - findMSB
  - uaddCarry
  - umulExtended
  - usubBorrow
- Image
  - imageAtomicAdd
  - imageAtomicAnd
  - imageAtomicCompSwap
  - imageAtomicExchange
  - imageAtomicMax
  - imageAtomicMin
  - imageAtomicOr
  - imageAtomicXor
  - imageLoad
  - imageSamples
  - imageSize
  - imageStore
- Atomic
  - atomicAdd
  - atomicAnd
  - atomicCompSwap
  - atomicCounter
  - atomicCounterDecrement
  - atomicCounterIncrement
  - atomicExchange
  - atomicMax
  - atomicMin
  - atomicOr
  - atomicXor
- Memory Barrier
  - barrier
  - groupMemoryBarrier
  - memoryBarrier
  - memoryBarrierAtomicCounter
  - memoryBarrierBuffer
  - memoryBarrierImage
  - memoryBarrierShared

GLSL 4
GLSL ES 3

# dFdy

Think you can improve this page? Edit this page on GitHub.
docs.gl was written by Jorge Rodríguez. Each entry is under individual copyright displayed at the bottom of that entry. All other content is in the public domain.
docs.gl is completely unaffiliated with OpenGL and Khronos.
These pages were last compiled on 30 March 2024 at 12:52:23 GMT.