OpenGL, OpenGL ES, WebGL, GLSL, GLSL ES APIs 列表

是一个跨平台标准化的2D/3D图形API。OpenGL 2.1提供对GLU和GLUT的支持。

OpenGL ES 是相应的对于嵌入式系统,尤其是对于Android,iOS设备以及网页浏览器(WebGL)的一套标准。

WebGL 是“OpenGL for the web”(用于网络的OpenGL)。它使得网页可以利用系统显卡来加速3D图像生成,并被广泛应用于渲染 HTML5 Canvas元素 (由Javascript (参考)动态画出)。 不是所有的layout engines(排版引擎)都支持WebGL。


  函数自OpenGL 3.0或GLSL 1.3起已经弃用(deprecated)
  根据 兼容性配置文件仍兼容的弃用函数(GL_ARB_compatibility扩展,请查看相关说明以获得更多指导)
  函数不可用
  核心配置文件函数, 所有桌面平台OpenGL均支持
  OpenGL 2.1 或 GLSL 1.2 中引入的新函数
  函数需要被标准制定者(APR, KHR 或 OES)所批准的 扩展(extensions); 对他们的使用请参考 GLEW,或者对于WebGL的扩展请参考OES_vertex_array_object 扩展

  2: OpenGL 2.1
  3: OpenGL 3.3
  4: OpenGL 4.5
W: WebGL 1.0*
  E2: OpenGL ES 2.0 (WebGL1)
  E3: OpenGL ES 3.0 (WebGL2)
E31: OpenGL ES 3.1
E32: OpenGL ES 3.2
S2: GLSL 1.2
S4: GLSL 4.5
  e1: GLSL ES 1.0 (WebGL1)
  e3: GLSL ES 3.0 (WebGL2)
e31: GLSL ES 3.1
e32: GLSL ES 3.2


* WebGL的API们被列于他们所对应的GL函数下,比如说:"clear()" 被列于 "glClear()"下。 如果某些API的本名完全不相同,它们可能出现在列表中多次,这些API在排序时会被假定加上了一个gl的前缀,且本名的首字母大写。例如:"createBuffer()" 既被列在"glGenBuffers()" 之下(作为同一功能之API),亦被列于"glCreateProgram()"之前(按名字排序)



OpenGL (specs), OpenGL ES (specs), and WebGL (specs)


4
E
32
E
31
E
3

3
E
2

W

2
   
  gl*x* (fixed point version of various APIs)
  glAccum
  glActiveShaderProgram
  glActiveTexture
  glAlphaFunc
  glAreTexturesResident
  glArrayElement
  glAttachShader
  glBegin
  glBeginConditionalRender
  glBeginQuery
  glBeginQueryIndexed
  glBeginTransformFeedback
  glBindAttribLocation
  glBindBuffer
  glBindBufferBase
  glBindBufferRange
  glBindBuffersBase
  glBindBuffersRange
  glBindFragDataLocation
  glBindFragDataLocationIndexed
  glBindFramebuffer
  glBindImageTexture
  glBindImageTextures
  glBindProgramPipeline
  glBindRenderbuffer
  glBindSampler
  glBindSamplers
  glBindTexture
  glBindTextures
  glBindTextureUnit
  glBindTransformFeedback
  glBindVertexArray, glBindVertexArrayAPPLE, bindVertexArrayOES
  glBindVertexBuffer
  glBindVertexBuffers
  glBitmap
  glBlendBarrier
  glBlendColor
  glBlendEquation
  glBlendEquationi
  glBlendEquationSeparate
  glBlendEquationSeparatei
  glBlendFunc
  glBlendFunci
  glBlendFuncSeparate
  glBlendFuncSeparatei
  glBlitFramebuffer
  glBlitNamedFramebuffer
  glBufferData
  glBufferPageCommitment
  glBufferStorage
  glBufferSubData
  glCallList
  glCallLists
  glCheckFramebufferStatus
  glCheckNamedFramebufferStatus
  glClampColor
  glClear
  glClearAccum
  glClearBuffer
  glClearBufferData
  glClearBufferSubData
  glClearColor
  glClearDepth
  glClearDepthf
  glClearIndex
  glClearNamedBufferData
  glClearNamedBufferSubData
  glClearNamedFramebuffer
  glClearStencil
  glClearTexImage
  glClearTexSubImage
  glClientActiveTexture
  glClientWaitSync
  glClipControl
  glClipPlane
  glColor
  glColorMask
  glColorMaski
  glColorMaterial
  glColorPointer
  glColorSubTable
  glColorTable
  glColorTableParameter
  glCompileShader
  glCompressedTexImage1D
  glCompressedTexImage2D
  glCompressedTexImage3D
  glCompressedTexSubImage1D
  glCompressedTexSubImage2D
  glCompressedTexSubImage3D
  glCompressedTextureSubImage1D
  glCompressedTextureSubImage2D
  glCompressedTextureSubImage3D
  glConvolutionFilter1D
  glConvolutionFilter2D
  glConvolutionParameter
  glCopyBufferSubData
  glCopyColorSubTable
  glCopyColorTable
  glCopyConvolutionFilter1D
  glCopyConvolutionFilter2D
  glCopyPixels
  glCopyImageSubData
  glCopyNamedBufferSubData
  glCopyTexImage1D
  glCopyTexImage2D
  glCopyTexSubImage1D
  glCopyTexSubImage2D
  glCopyTexSubImage3D
  glCopyTextureSubImage1D
  glCopyTextureSubImage2D
  glCopyTextureSubImage3D
  createBuffer, glGenBuffers
  glCreateBuffers
  createFramebuffer, glGenFramebuffers
  glCreateFramebuffers
  glCreateProgram
  glCreateProgramPipelines
  glCreateQueries
  createRenderbuffer, glGenRenderbuffers
  glCreateRenderbuffers
  glCreateSamplers
  glCreateShader
  glCreateShaderProgramv
  glCreateSyncFromCLevent
  createTexture, glGenTextures
  glCreateTextures
  glCreateTransformFeedbacks
  createVertexArrayOES, glGenVertexArrays, glGenVertexArraysAPPLE
  glCreateVertexArrays
  glCullFace
  glDebugMessageCallback
  glDebugMessageControl
  glDebugMessageInsert
  glDeleteBuffers
  glDeleteFramebuffers
  glDeleteLists
  glDeleteProgram
  glDeleteProgramPipelines
  glDeleteQueries
  glDeleteRenderbuffers
  glDeleteSamplers
  glDeleteShader
  glDeleteSync
  glDeleteTextures
  glDeleteTransformFeedbacks
  glDeleteVertexArrays, glDeleteVertexArraysAPPLE,deleteVertexArrayOES
  glDepthFunc
  glDepthMask
  glDepthRange
  glDepthRangeArrayv
  glDepthRangef
  glDepthRangeIndexed
  glDetachShader
  glDisable
  glDisableClientState
  glDisablei
  glDisableVertexArrayAttrib
  glDisableVertexAttribArray
  glDispatchCompute
  glDispatchComputeGroupSize
  glDispatchComputeIndirect
  glDrawArrays
  glDrawArraysIndirect
  glDrawArraysInstanced
  glDrawArraysInstancedBaseInstance
  glDrawBuffer
  glDrawBuffers, drawBuffersWEBGL
  glDrawElements
  glDrawElementsBaseVertex
  glDrawElementsIndirect
  glDrawElementsInstanced
  glDrawElementsInstancedBaseInstance
  glDrawElementsInstancedBaseVertex
  glDrawElementsInstancedBaseVertexBaseInstance
  glDrawPixels
  glDrawRangeElements
  glDrawRangeElementsBaseVertex
  glDrawTransformFeedback
  glDrawTransformFeedbackInstanced
  glDrawTransformFeedbackStream
  glDrawTransformFeedbackStreamInstanced
  glEdgeFlag
  glEdgeFlagPointer
  glEnable
  glEnableClientState
  glEnablei
  glEnableVertexArrayAttrib
  glEnableVertexAttribArray
  glEnd
  glEndConditionalRender
  glEndList
  glEndQuery
  glEndQueryIndexed
  glEndTransformFeedback
  glEvalCoord
  glEvalMesh
  glEvalPoint
  glEvaluateDepthValues
  glFeedbackBuffer
  glFenceSync
  glFinish
  glFlush
  glFlushMappedBufferRange
  glFlushMappedNamedBufferRange
  glFog
  glFogCoord
  glFogCoordPointer
  glFramebufferParameteri
  glFramebufferRenderbuffer
  glFramebufferSampleLocations
  glFramebufferTexture
  glFramebufferTexture1D
  glFramebufferTexture2D
  glFramebufferTexture3D
  glFramebufferTextureFace
  glFramebufferTextureLayer
  glFrontFace
  glFrustum
  glGenBuffers, createBuffer
  glGenFramebuffers, createFramebuffer
  glGenLists
  glGenProgramPipelines
  glGenQueries
  glGenRenderbuffers, createRenderbuffer
  glGenSamplers
  glGenTextures, createTexture
  glGenTransformFeedbacks
  glGenVertexArrays, glGenVertexArraysAPPLE, createVertexArrayOES
  glGenerateMipmap
  glGenerateTextureMipmap
  glGet, getParameter
  glGetActiveAtomicCounterBufferiv
  glGetActiveAttrib
  glGetActiveSubroutineName
  glGetActiveSubroutineUniformiv
  glGetActiveSubroutineUniformName
  glGetActiveUniform
  glGetActiveUniformBlockiv
  glGetActiveUniformBlockName
  glGetActiveUniformName
  glGetActiveUniformsiv
  glGetAttachedShaders
  glGetAttribLocation
  glGetBooleani_v
  glGetBooleanv, getParameter
  glGetBufferParameteri64v
  glGetBufferParameteriv
  glGetBufferPointerv
  glGetBufferSubData
  glGetClipPlane
  glGetColorTable
  glGetColorTableParameter
  glGetCompressedTexImage
  glGetCompressedTextureImage
  glGetCompressedTextureSubImage
  glGetConvolutionFilter
  glGetConvolutionParameter
  glGetDebugMessageLog
  glGetDoublei_v
  glGetDoublev, getParameter
  glGetError
  glGetFloati_v
  glGetFloatv, getParameter
  glGetFragDataIndex
  glGetFragDataLocation
  glGetFramebufferAttachmentParameteriv
  glGetFramebufferParameteriv
  glGetGraphicsResetStatus
  glGetHistogram
  glGetHistogramParameter
  glGetInteger64
  glGetIntegeri_v
  glGetIntegerv, getParameter
  glGetImageHandle
  glGetInternalformativ
  glGetInternalformati64v
  glGetLight
  glGetMap
  glGetMaterial
  glGetMinmax
  glGetMinmaxParameter
  glGetMultisamplefv
  glGetNamedBufferParameter
  glGetNamedBufferPointerv
  glGetNamedBufferSubData
  glGetNamedFramebufferAttachmentParameteriv
  glGetNamedFramebufferParameteriv
  glGetNamedRenderbufferParameteriv
  glGetnColorTable
  glGetnCompressedTexImage
  glGetnConvolutionFilter
  glGetnHistogram
  glGetnMap
  glGetnMinmax
  glGetnPixelMap
  glGetnPolygonStipple
  glGetnSeparableFilter
  glGetnTexImage
  glGetnUniform*64{,v}
  glGetnUniform{,fv,iv,uiv},
  glGetnUniformdv
  glGetObjectLabel
  glGetObjectPtrLabel
  getParameter, glGet, glGetBooleanv, glGetDoublev, glGetFloatv, glGetIntegerv, glGetString
  glGetPixelMap
  glGetPointerv
  glGetPolygonStipple
  glGetProgramBinary
  glGetProgramInfoLog
  glGetProgramInterfaceiv
  glGetProgramiv, getProgramParameter
  glGetProgramPipelineiv
  glGetProgramPipelineInfoLog
  glGetProgramResourceiv
  glGetProgramResourceIndex
  glGetProgramResourceLocation
  glGetProgramResourceLocationIndex
  glGetProgramResourceName
  glGetProgramStageiv
  glGetQueryiv
  glGetQueryIndexediv
  glGetQueryObjectiv
  glGetQueryObjectuiv
  glGetQueryObject{,u}i64v
  glGetRenderbufferParameteriv
  glGetSamplerParameter
  glGetSamplerParameterI{iv,uiv}
  glGetSeparableFilter
  glGetShaderiv, getShaderParameter
  glGetShaderInfoLog
  glGetShaderPrecisionFormat
  glGetShaderSource
  glGetString, getParameter
  glGetStringi
  glGetSubroutineIndex
  glGetSubroutineUniformLocation
  glGetSynciv
  glGetTexEnv
  glGetTexGen
  glGetTexImage
  glGetTexLevelParameter
  glGetTexParameter
  glGetTexParameterI{iv,uiv}
  glGetTextureHandle
  glGetTextureImage
  glGetTextureLevelParameter
  glGetTextureParameter
  glGetTextureSamplerHandle
  glGetTextureSubImage
  glGetTransformFeedback
  glGetTransformFeedbackVarying
  getTranslatedShaderSource
  glGetUniform*64{,v}
  glGetUniformdv
  glGetUniform[fi]v
  glGetUniformuiv
  glGetUniformBlockIndex
  glGetUniformIndices
  glGetUniformLocation
  glGetUniformSubroutineuiv
  glGetVertexArrayIndexed
  glGetVertexArrayiv
  glGetVertexAttrib
  glGetVertexAttribI
  glGetVertexAttribLdv
  glGetVertexAttribLui64v
  getVertexAttribOffset, glGetVertexAttribPointerv
  glHint
  glHistogram
  glIndex
  glIndexMask
  glIndexPointer
  glInitNames
  glInterleavedArrays
  glInvalidateBufferData
  glInvalidateBufferSubData
  glInvalidateFramebuffer
  glInvalidateNamedFramebufferData
  glInvalidateNamedFramebufferSubData
  glInvalidateSubFramebuffer
  glInvalidateTexImage
  glInvalidateTexSubImage
  glIsBuffer
  glIsEnabled
  glIsEnabledi
  glIsFramebuffer
  glIsImageHandleResident
  glIsList
  glIsProgram
  glIsProgramPipeline
  glIsQuery
  glIsRenderbuffer
  glIsSampler
  glIsShader
  glIsSync
  glIsTexture
  glIsTextureHandleResident
  glIsTransformFeedback
  glIsVertexArray, glIsVertexArrayAPPLE, isVertexArrayOES
  glLight
  glLightModel
  glLineStipple
  glLineWidth
  glLinkProgram
  glListBase
  glLoadIdentity
  glLoadMatrix
  glLoadName
  glLoadTransposeMatrix
  glLogicOp
  glMakeImageHandleNonResident
  glMakeImageHandleResident
  glMakeTextureHandleNonResident
  glMakeTextureHandleResident
  glMap1
  glMap2
  glMapBuffer
  glMapBufferRange
  glMapGrid
  glMapNamedBuffer
  glMapNamedBufferRange
  glMaterial
  glMatrixMode
  glMaxShaderCompilerThreads
  glMemoryBarrier
  glMemoryBarrierByRegion
  glMinSampleShading
  glMinmax
  glMultMatrix
  glMultTransposeMatrix
  glMultiDrawArrays
  glMultiDrawArraysIndirect
  glMultiDrawArraysIndirectCount
  glMultiDrawElements
  glMultiDrawElementsBaseVertex
  glMultiDrawElementsIndirect
  glMultiDrawElementsIndirectCount
  glMultiTexCoord
  glNamedBufferData
  glNamedBufferStorage
  glNamedBufferSubData
  glNamedFramebufferDrawBuffer
  glNamedFramebufferDrawBuffers
  glNamedFramebufferParameteri
  glNamedFramebufferReadBuffer
  glNamedFramebufferRenderbuffer
  glNamedFramebufferSampleLocations
  glNamedFramebufferTexture
  glNamedFramebufferTextureLayer
  glNamedRenderbufferStorage
  glNamedRenderbufferStorageMultisample
  glNewList
  glNormal
  glNormalPointer
  glObjectLabel
  glObjectPtrLabel
  glOrtho
  glPassThrough
  glPatchParameteri
  glPatchParameterfv
  glPauseTransformFeedback
  glPixelMap
  glPixelStorei
  glPixelStoref
  glPixelTransfer
  glPixelZoom
  glPointParameter
  glPointSize
  glPolygonMode
  glPolygonOffset
  glPolygonStipple
  glPopAttrib
  glPopClientAttrib
  glPopDebugGroup
  glPopMatrix
  glPopName
  glPrimitiveRestartIndex
  glPrimitiveBoundingBox
  glPrioritizeTextures
  glProgramBinary
  glProgramParameteri
  glProgramUniform?d{,v}, glProgramUniformMatrix*d{,v}
  glProgramUniform*64{,v}
  glProgramUniformHandle
  glProvokingVertex
  glPushAttrib
  glPushClientAttrib
  glPushDebugGroup
  glPushMatrix
  glPushName
  glQueryCounter
  glRasterPos
  glReadBuffer
  glReadnPixels
  glReadPixels
  glRect
  glReleaseShaderCompiler
  glRenderMode
  glRenderbufferStorage
  glRenderbufferStorageMultisample
  glResetHistogram
  glResetMinmax
  glResumeTransformFeedback
  glRotate
  glSampleCoverage
  glSampleMaski
  glSamplerParameter
  glSamplerParameterI{iv,uiv}
  glScale
  glScissor
  glScissorArrayv
  glScissorIndexed
  glSecondaryColor
  glSecondaryColorPointer
  glSelectBuffer
  glSeparableFilter2D
  glShadeModel
  glShaderBinary
  glShaderSource
  glShaderStorageBlockBinding
  glStencilFunc
  glStencilFuncSeparate
  glStencilMask
  glStencilMaskSeparate
  glStencilOp
  glStencilOpSeparate
  glTexBuffer

你可能感兴趣的:(OpenGL,ES)