- class QOpenGLExtraFunctions¶
The
QOpenGLExtraFunctions
class provides cross-platform access to the OpenGL ES 3.0, 3.1 and 3.2 API. More…Synopsis¶
Methods¶
def
__init__()
def
glBeginQuery()
def
glBindSampler()
def
glBlendBarrier()
def
glBlendFunci()
def
glColorMaski()
def
glDisablei()
def
glDrawBuffers()
def
glEnablei()
def
glEndQuery()
def
glGenQueries()
def
glGenSamplers()
def
glGetQueryiv()
def
glGetStringi()
def
glIsEnabledi()
def
glIsQuery()
def
glIsSampler()
def
glObjectLabel()
def
glReadBuffer()
def
glReadnPixels()
def
glSampleMaski()
def
glTexBuffer()
def
glTexImage3D()
def
glTexStorage2D()
def
glTexStorage3D()
def
glUniform1ui()
def
glUniform1uiv()
def
glUniform2ui()
def
glUniform2uiv()
def
glUniform3ui()
def
glUniform3uiv()
def
glUniform4ui()
def
glUniform4uiv()
def
glUnmapBuffer()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description¶
This subclass of
QOpenGLFunctions
includes the OpenGL ES 3.0, 3.1 and 3.2 functions. These will only work when an OpenGL ES 3.x context, or an OpenGL context of a version containing the functions in question either in core or as extension, is in use. This allows developing GLES 3.x applications in a cross-platform manner: development can happen on a desktop platform with OpenGL 3.x or 4.x, deploying to a true GLES 3.x device later on will require no or minimal changes to the application.Note
This class is different from the versioned OpenGL wrappers, for instance QOpenGLFunctions_3_2_Core. The versioned function wrappers target a given version and profile of OpenGL. They are therefore not suitable for cross-OpenGL-OpenGLES development.
- __init__()¶
Constructs a default function resolver. The resolver cannot be used until
initializeOpenGLFunctions()
is called to specify the context.- __init__(context)
- Parameters:
context –
QOpenGLContext
Constructs a function resolver for context. If
context
isNone
, then the resolver will be created for the currentQOpenGLContext
.The context or another context in the group must be current.
An object constructed in this way can only be used with context and other contexts that share with it. Use
initializeOpenGLFunctions()
to change the object’s context association.- glActiveShaderProgram(pipeline, program)¶
- Parameters:
pipeline – int
program – int
Convenience function that calls glActiveShaderProgram(
pipeline
,program
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glActiveShaderProgram() .
- glBeginQuery(target, id)¶
- Parameters:
target – int
id – int
Convenience function that calls glBeginQuery(
target
,id
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glBeginQuery() .
- glBeginTransformFeedback(primitiveMode)¶
- Parameters:
primitiveMode – int
Convenience function that calls glBeginTransformFeedback(
primitiveMode
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glBeginTransformFeedback() .
- glBindBufferBase(target, index, buffer)¶
- Parameters:
target – int
index – int
buffer – int
Convenience function that calls glBindBufferBase(
target
,index
,buffer
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glBindBufferBase() .
- glBindImageTexture(unit, texture, level, layered, layer, access, format)¶
- Parameters:
unit – int
texture – int
level – int
layered – int
layer – int
access – int
format – int
Convenience function that calls glBindImageTexture(
unit
,texture
,level
,layered
,layer
,access
,format
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glBindImageTexture() .
- glBindProgramPipeline(pipeline)¶
- Parameters:
pipeline – int
Convenience function that calls glBindProgramPipeline(
pipeline
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glBindProgramPipeline() .
- glBindSampler(unit, sampler)¶
- Parameters:
unit – int
sampler – int
Convenience function that calls glBindSampler(
unit
,sampler
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glBindSampler() .
- glBindTransformFeedback(target, id)¶
- Parameters:
target – int
id – int
Convenience function that calls glBindTransformFeedback(
target
,id
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glBindTransformFeedback() .
- glBindVertexArray(array)¶
- Parameters:
array – int
Convenience function that calls glBindVertexArray(
array
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glBindVertexArray() .
- glBlendBarrier()¶
Convenience function that calls glBlendBarrier().
This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.X documentation for glBlendBarrier() .
- glBlendEquationSeparatei(buf, modeRGB, modeAlpha)¶
- Parameters:
buf – int
modeRGB – int
modeAlpha – int
Convenience function that calls glBlendEquationSeparatei(
buf
,modeRGB
,modeAlpha
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.X documentation for glBlendEquationSeparatei() .
- glBlendEquationi(buf, mode)¶
- Parameters:
buf – int
mode – int
Convenience function that calls glBlendEquationi(
buf
,mode
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.X documentation for glBlendEquationi() .
- glBlendFuncSeparatei(buf, srcRGB, dstRGB, srcAlpha, dstAlpha)¶
- Parameters:
buf – int
srcRGB – int
dstRGB – int
srcAlpha – int
dstAlpha – int
Convenience function that calls glBlendFuncSeparatei(
buf
,srcRGB
,dstRGB
,srcAlpha
,dstAlpha
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.X documentation for glBlendFuncSeparatei() .
- glBlendFunci(buf, src, dst)¶
- Parameters:
buf – int
src – int
dst – int
Convenience function that calls glBlendFunci(
buf
,src
,dst
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.X documentation for glBlendFunci() .
- glBlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter)¶
- Parameters:
srcX0 – int
srcY0 – int
srcX1 – int
srcY1 – int
dstX0 – int
dstY0 – int
dstX1 – int
dstY1 – int
mask – int
filter – int
Convenience function that calls glBlitFramebuffer(
srcX0
,srcY0
,srcX1
,srcY1
,dstX0
,dstY0
,dstX1
,dstY1
,mask
,filter
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glBlitFramebuffer() .
- glClearBufferfi(buffer, drawbuffer, depth, stencil)¶
- Parameters:
buffer – int
drawbuffer – int
depth – float
stencil – int
Convenience function that calls glClearBufferfi(
buffer
,drawbuffer
,depth
,stencil
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glClearBufferfi() .
- glClearBufferfv(buffer, drawbuffer, value)¶
- Parameters:
buffer – int
drawbuffer – int
value – float
Convenience function that calls glClearBufferfv(
buffer
,drawbuffer
,value
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glClearBufferfv() .
- glClearBufferiv(buffer, drawbuffer, value)¶
- Parameters:
buffer – int
drawbuffer – int
value – int
Convenience function that calls glClearBufferiv(
buffer
,drawbuffer
,value
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glClearBufferiv() .
- glClearBufferuiv(buffer, drawbuffer, value)¶
- Parameters:
buffer – int
drawbuffer – int
value –
unsigned int
Convenience function that calls glClearBufferuiv(
buffer
,drawbuffer
,value
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glClearBufferuiv() .
- glColorMaski(index, r, g, b, a)¶
- Parameters:
index – int
r – int
g – int
b – int
a – int
Convenience function that calls glColorMaski(
index
,r
,g
,b
,a
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.X documentation for glColorMaski() .
- glCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data)¶
- Parameters:
target – int
level – int
internalformat – int
width – int
height – int
depth – int
border – int
imageSize – int
data –
void
Convenience function that calls glCompressedTexImage3D(
target
,level
,internalformat
,width
,height
,depth
,border
,imageSize
,data
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glCompressedTexImage3D() .
- glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data)¶
- Parameters:
target – int
level – int
xoffset – int
yoffset – int
zoffset – int
width – int
height – int
depth – int
format – int
imageSize – int
data –
void
Convenience function that calls glCompressedTexSubImage3D(
target
,level
,xoffset
,yoffset
,zoffset
,width
,height
,depth
,format
,imageSize
,data
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glCompressedTexSubImage3D() .
- glCopyImageSubData(srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth)¶
- Parameters:
srcName – int
srcTarget – int
srcLevel – int
srcX – int
srcY – int
srcZ – int
dstName – int
dstTarget – int
dstLevel – int
dstX – int
dstY – int
dstZ – int
srcWidth – int
srcHeight – int
srcDepth – int
Convenience function that calls glCopyImageSubData(
srcName
,srcTarget
,srcLevel
,srcX
,srcY
,srcZ
,dstName
,dstTarget
,dstLevel
,dstX
,dstY
,dstZ
,srcWidth
,srcHeight
,srcDepth
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.X documentation for glCopyImageSubData() .
- glCopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height)¶
- Parameters:
target – int
level – int
xoffset – int
yoffset – int
zoffset – int
x – int
y – int
width – int
height – int
Convenience function that calls glCopyTexSubImage3D(
target
,level
,xoffset
,yoffset
,zoffset
,x
,y
,width
,height
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glCopyTexSubImage3D() .
- glDebugMessageControl(source, type, severity, count, ids, enabled)¶
- Parameters:
source – int
type – int
severity – int
count – int
ids –
unsigned int
enabled – int
Convenience function that calls glDebugMessageControl(
source
,type
,severity
,count
,ids
,enabled
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.X documentation for glDebugMessageContro() .
- glDebugMessageInsert(source, type, id, severity, length, buf)¶
- Parameters:
source – int
type – int
id – int
severity – int
length – int
buf – str
Convenience function that calls glDebugMessageInsert(
source
,type
,id
,severity
,length
,buf
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.X documentation for glDebugMessageInsert() .
- glDeleteProgramPipelines(n, pipelines)¶
- Parameters:
n – int
pipelines –
unsigned int
Convenience function that calls glDeleteProgramPipelines(
n
,pipelines
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glDeleteProgramPipelines() .
- glDeleteQueries(n, ids)¶
- Parameters:
n – int
ids –
unsigned int
Convenience function that calls glDeleteQueries(
n
,ids
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glDeleteQueries() .
- glDeleteSamplers(count, samplers)¶
- Parameters:
count – int
samplers –
unsigned int
Convenience function that calls glDeleteSamplers(
count
,samplers
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glDeleteSamplers() .
- glDeleteTransformFeedbacks(n, ids)¶
- Parameters:
n – int
ids –
unsigned int
Convenience function that calls glDeleteTransformFeedbacks(
n
,ids
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glDeleteTransformFeedbacks() .
- glDeleteVertexArrays(n, arrays)¶
- Parameters:
n – int
arrays –
unsigned int
Convenience function that calls glDeleteVertexArrays(
n
,arrays
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glDeleteVertexArrays() .
- glDisablei(target, index)¶
- Parameters:
target – int
index – int
Convenience function that calls glDisablei(
target
,index
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.X documentation for glDisablei() .
- glDispatchCompute(num_groups_x, num_groups_y, num_groups_z)¶
- Parameters:
num_groups_x – int
num_groups_y – int
num_groups_z – int
Convenience function that calls glDispatchCompute(
num_groups_x
,num_groups_y
,num_groups_z
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glDispatchCompute() .
- glDrawArraysIndirect(mode, indirect)¶
- Parameters:
mode – int
indirect –
void
Convenience function that calls glDrawArraysIndirect(
mode
,indirect
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glDrawArraysIndirect() .
- glDrawArraysInstanced(mode, first, count, instancecount)¶
- Parameters:
mode – int
first – int
count – int
instancecount – int
Convenience function that calls glDrawArraysInstanced(
mode
,first
,count
,instancecount
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glDrawArraysInstanced() .
- glDrawBuffers(n, bufs)¶
- Parameters:
n – int
bufs –
unsigned int
Convenience function that calls glDrawBuffers(
n
,bufs
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glDrawBuffers() .
- glDrawElementsBaseVertex(mode, count, type, indices, basevertex)¶
- Parameters:
mode – int
count – int
type – int
indices –
void
basevertex – int
Convenience function that calls glDrawElementsBaseVertex(
mode
,count
,type
,indices
,basevertex
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.X documentation for glDrawElementsBaseVerte() .
- glDrawElementsIndirect(mode, type, indirect)¶
- Parameters:
mode – int
type – int
indirect –
void
Convenience function that calls glDrawElementsIndirect(
mode
,type
,indirect
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glDrawElementsIndirect() .
- glDrawElementsInstanced(mode, count, type, indices, instancecount)¶
- Parameters:
mode – int
count – int
type – int
indices –
void
instancecount – int
Convenience function that calls glDrawElementsInstanced(
mode
,count
,type
,indices
,instancecount
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glDrawElementsInstanced() .
- glDrawElementsInstancedBaseVertex(mode, count, type, indices, instancecount, basevertex)¶
- Parameters:
mode – int
count – int
type – int
indices –
void
instancecount – int
basevertex – int
Convenience function that calls glDrawElementsInstancedBaseVertex(
mode
,count
,type
,indices
,instancecount
,basevertex
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.X documentation for glDrawElementsInstancedBaseVerte() .
- glDrawRangeElements(mode, start, end, count, type, indices)¶
- Parameters:
mode – int
start – int
end – int
count – int
type – int
indices –
void
Convenience function that calls glDrawRangeElements(
mode
,start
,end
,count
,type
,indices
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glDrawRangeElements() .
- glDrawRangeElementsBaseVertex(mode, start, end, count, type, indices, basevertex)¶
- Parameters:
mode – int
start – int
end – int
count – int
type – int
indices –
void
basevertex – int
Convenience function that calls glDrawRangeElementsBaseVertex(
mode
,start
,end
,count
,type
,indices
,basevertex
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.X documentation for glDrawRangeElementsBaseVerte() .
- glEnablei(target, index)¶
- Parameters:
target – int
index – int
Convenience function that calls glEnablei(
target
,index
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.X documentation for glEnablei() .
- glEndQuery(target)¶
- Parameters:
target – int
Convenience function that calls glEndQuery(
target
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glEndQuery() .
- glFramebufferParameteri(target, pname, param)¶
- Parameters:
target – int
pname – int
param – int
Convenience function that calls glFramebufferParameteri(
target
,pname
,param
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glFramebufferParameteri() .
- glFramebufferTexture(target, attachment, texture, level)¶
- Parameters:
target – int
attachment – int
texture – int
level – int
Convenience function that calls glFramebufferTexture(
target
,attachment
,texture
,level
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.X documentation for glFramebufferTexture() .
- glFramebufferTextureLayer(target, attachment, texture, level, layer)¶
- Parameters:
target – int
attachment – int
texture – int
level – int
layer – int
Convenience function that calls glFramebufferTextureLayer(
target
,attachment
,texture
,level
,layer
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glFramebufferTextureLayer() .
- glGenProgramPipelines(n, pipelines)¶
- Parameters:
n – int
pipelines –
unsigned int
Convenience function that calls glGenProgramPipelines(
n
,pipelines
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glGenProgramPipelines() .
- glGenQueries(n, ids)¶
- Parameters:
n – int
ids –
unsigned int
Convenience function that calls glGenQueries(
n
,ids
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glGenQueries() .
- glGenSamplers(count, samplers)¶
- Parameters:
count – int
samplers –
unsigned int
Convenience function that calls glGenSamplers(
count
,samplers
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glGenSamplers() .
- glGenTransformFeedbacks(n, ids)¶
- Parameters:
n – int
ids –
unsigned int
Convenience function that calls glGenTransformFeedbacks(
n
,ids
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glGenTransformFeedbacks() .
- glGenVertexArrays(n, arrays)¶
- Parameters:
n – int
arrays –
unsigned int
Convenience function that calls glGenVertexArrays(
n
,arrays
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glGenVertexArrays() .
- glGetActiveUniformBlockiv(program, uniformBlockIndex, pname, params)¶
- Parameters:
program – int
uniformBlockIndex – int
pname – int
params – int
Convenience function that calls glGetActiveUniformBlockiv(
program
,uniformBlockIndex
,pname
,params
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glGetActiveUniformBlockiv() .
- glGetActiveUniformsiv(program, uniformCount, uniformIndices, pname, params)¶
- Parameters:
program – int
uniformCount – int
uniformIndices –
unsigned int
pname – int
params – int
Convenience function that calls glGetActiveUniformsiv(
program
,uniformCount
,uniformIndices
,pname
,params
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glGetActiveUniformsiv() .
- glGetBooleani_v(target, index)¶
- Parameters:
target – int
index – int
- Return type:
PyObject
Convenience function that calls glGetBooleani_v(
target
,index
,data
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glGetBooleani_v() .
- glGetFragDataLocation(program, name)¶
- Parameters:
program – int
name – str
- Return type:
int
Convenience function that calls glGetFragDataLocation(
program
,name
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glGetFragDataLocation() .
- glGetFramebufferParameteriv(target, pname, params)¶
- Parameters:
target – int
pname – int
params – int
Convenience function that calls glGetFramebufferParameteriv(
target
,pname
,params
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glGetFramebufferParameteriv() .
- glGetGraphicsResetStatus()¶
- Return type:
int
Convenience function that calls glGetGraphicsResetStatus().
This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.X documentation for glGetGraphicsResetStatus() .
- glGetIntegeri_v(arg__1, arg__2)¶
- Parameters:
arg__1 – int
arg__2 – int
- Return type:
object
- glGetIntegeri_v(target, index, data)
- Parameters:
target – int
index – int
data – int
Convenience function that calls glGetIntegeri_v(
target
,index
,data
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glGetIntegeri_v() .
- glGetInternalformativ(target, internalformat, pname, bufSize, params)¶
- Parameters:
target – int
internalformat – int
pname – int
bufSize – int
params – int
Convenience function that calls glGetInternalformativ(
target
,internalformat
,pname
,bufSize
,params
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glGetInternalformativ() .
- glGetMultisamplefv(pname, index, val)¶
- Parameters:
pname – int
index – int
val – float
Convenience function that calls glGetMultisamplefv(
pname
,index
,val
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glGetMultisamplefv() .
- glGetProgramInterfaceiv(program, programInterface, pname, params)¶
- Parameters:
program – int
programInterface – int
pname – int
params – int
Convenience function that calls glGetProgramInterfaceiv(
program
,programInterface
,pname
,params
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glGetProgramInterfaceiv() .
- glGetProgramPipelineiv(pipeline, pname, params)¶
- Parameters:
pipeline – int
pname – int
params – int
Convenience function that calls glGetProgramPipelineiv(
pipeline
,pname
,params
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glGetProgramPipelineiv() .
- glGetProgramResourceIndex(program, programInterface, name)¶
- Parameters:
program – int
programInterface – int
name – str
- Return type:
int
Convenience function that calls glGetProgramResourceIndex(
program
,programInterface
,name
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glGetProgramResourceIndex() .
- glGetProgramResourceLocation(program, programInterface, name)¶
- Parameters:
program – int
programInterface – int
name – str
- Return type:
int
Convenience function that calls glGetProgramResourceLocation(
program
,programInterface
,name
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glGetProgramResourceLocation() .
- glGetProgramResourceiv(program, programInterface, index, propCount, props, bufSize, length, params)¶
- Parameters:
program – int
programInterface – int
index – int
propCount – int
props –
unsigned int
bufSize – int
length – int
params – int
Convenience function that calls glGetProgramResourceiv(
program
,programInterface
,index
,propCount
,props
,bufSize
,length
,params
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glGetProgramResourceiv() .
- glGetQueryObjectuiv(id, pname, params)¶
- Parameters:
id – int
pname – int
params –
unsigned int
Convenience function that calls glGetQueryObjectuiv(
id
,pname
,params
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glGetQueryObjectuiv() .
- glGetQueryiv(target, pname, params)¶
- Parameters:
target – int
pname – int
params – int
Convenience function that calls glGetQueryiv(
target
,pname
,params
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glGetQueryiv() .
- glGetSamplerParameterIiv(sampler, pname, params)¶
- Parameters:
sampler – int
pname – int
params – int
Convenience function that calls glGetSamplerParameterIiv(
sampler
,pname
,params
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.X documentation for glGetSamplerParameterIiv() .
- glGetSamplerParameterIuiv(sampler, pname, params)¶
- Parameters:
sampler – int
pname – int
params –
unsigned int
Convenience function that calls glGetSamplerParameterIuiv(
sampler
,pname
,params
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.X documentation for glGetSamplerParameterIuiv() .
- glGetSamplerParameterfv(sampler, pname, params)¶
- Parameters:
sampler – int
pname – int
params – float
Convenience function that calls glGetSamplerParameterfv(
sampler
,pname
,params
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glGetSamplerParameterfv() .
- glGetSamplerParameteriv(sampler, pname, params)¶
- Parameters:
sampler – int
pname – int
params – int
Convenience function that calls glGetSamplerParameteriv(
sampler
,pname
,params
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glGetSamplerParameteriv() .
- glGetStringi(name, index)¶
- Parameters:
name – int
index – int
- Return type:
QString
Convenience function that calls glGetStringi(
name
,index
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glGetStringi() .
- glGetTexLevelParameterfv(target, level, pname, params)¶
- Parameters:
target – int
level – int
pname – int
params – float
Convenience function that calls glGetTexLevelParameterfv(
target
,level
,pname
,params
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glGetTexLevelParameterfv() .
- glGetTexLevelParameteriv(target, level, pname, params)¶
- Parameters:
target – int
level – int
pname – int
params – int
Convenience function that calls glGetTexLevelParameteriv(
target
,level
,pname
,params
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glGetTexLevelParameteriv() .
- glGetTexParameterIiv(target, pname, params)¶
- Parameters:
target – int
pname – int
params – int
Convenience function that calls glGetTexParameterIiv(
target
,pname
,params
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.X documentation for glGetTexParameterIiv() .
- glGetTexParameterIuiv(target, pname, params)¶
- Parameters:
target – int
pname – int
params –
unsigned int
Convenience function that calls glGetTexParameterIuiv(
target
,pname
,params
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.X documentation for glGetTexParameterIuiv() .
- glGetUniformBlockIndex(program, uniformBlockName)¶
- Parameters:
program – int
uniformBlockName – str
- Return type:
int
Convenience function that calls glGetUniformBlockIndex(
program
,uniformBlockName
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glGetUniformBlockIndex() .
- glGetUniformuiv(program, location, params)¶
- Parameters:
program – int
location – int
params –
unsigned int
Convenience function that calls glGetUniformuiv(
program
,location
,params
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glGetUniformuiv() .
- glGetVertexAttribIiv(index, pname, params)¶
- Parameters:
index – int
pname – int
params – int
Convenience function that calls glGetVertexAttribIiv(
index
,pname
,params
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glGetVertexAttribIiv() .
- glGetVertexAttribIuiv(index, pname, params)¶
- Parameters:
index – int
pname – int
params –
unsigned int
Convenience function that calls glGetVertexAttribIuiv(
index
,pname
,params
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glGetVertexAttribIuiv() .
- glGetnUniformfv(program, location, bufSize, params)¶
- Parameters:
program – int
location – int
bufSize – int
params – float
Convenience function that calls glGetnUniformfv(
program
,location
,bufSize
,params
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.X documentation for glGetnUniformfv() .
- glGetnUniformiv(program, location, bufSize, params)¶
- Parameters:
program – int
location – int
bufSize – int
params – int
Convenience function that calls glGetnUniformiv(
program
,location
,bufSize
,params
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.X documentation for glGetnUniformiv() .
- glGetnUniformuiv(program, location, bufSize, params)¶
- Parameters:
program – int
location – int
bufSize – int
params –
unsigned int
Convenience function that calls glGetnUniformuiv(
program
,location
,bufSize
,params
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.X documentation for glGetnUniformuiv() .
- glInvalidateFramebuffer(target, numAttachments, attachments)¶
- Parameters:
target – int
numAttachments – int
attachments –
unsigned int
Convenience function that calls glInvalidateFramebuffer(
target
,numAttachments
,attachments
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glInvalidateFramebuffer() .
- glInvalidateSubFramebuffer(target, numAttachments, attachments, x, y, width, height)¶
- Parameters:
target – int
numAttachments – int
attachments –
unsigned int
x – int
y – int
width – int
height – int
Convenience function that calls glInvalidateSubFramebuffer(
target
,numAttachments
,attachments
,x
,y
,width
,height
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glInvalidateSubFramebuffer() .
- glIsEnabledi(target, index)¶
- Parameters:
target – int
index – int
- Return type:
int
Convenience function that calls glIsEnabledi(
target
,index
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.X documentation for glIsEnabledi() .
- glIsProgramPipeline(pipeline)¶
- Parameters:
pipeline – int
- Return type:
int
Convenience function that calls glIsProgramPipeline(
pipeline
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glIsProgramPipeline() .
- glIsQuery(id)¶
- Parameters:
id – int
- Return type:
int
Convenience function that calls glIsQuery(
id
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glIsQuery() .
- glIsSampler(sampler)¶
- Parameters:
sampler – int
- Return type:
int
Convenience function that calls glIsSampler(
sampler
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glIsSampler() .
- glIsTransformFeedback(id)¶
- Parameters:
id – int
- Return type:
int
Convenience function that calls glIsTransformFeedback(
id
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glIsTransformFeedback() .
- glIsVertexArray(array)¶
- Parameters:
array – int
- Return type:
int
Convenience function that calls glIsVertexArray(
array
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glIsVertexArray() .
- glMemoryBarrier(barriers)¶
- Parameters:
barriers – int
Convenience function that calls glMemoryBarrier(
barriers
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glMemoryBarrier() .
- glMemoryBarrierByRegion(barriers)¶
- Parameters:
barriers – int
Convenience function that calls glMemoryBarrierByRegion(
barriers
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glMemoryBarrierByRegion() .
- glMinSampleShading(value)¶
- Parameters:
value – float
Convenience function that calls glMinSampleShading(
value
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.X documentation for glMinSampleShading() .
- glObjectLabel(identifier, name, length, label)¶
- Parameters:
identifier – int
name – int
length – int
label – str
Convenience function that calls glObjectLabel(
identifier
,name
,length
,label
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.X documentation for glObjectLabe() .
- glObjectPtrLabel(ptr, length, label)¶
- Parameters:
ptr –
void
length – int
label – str
Convenience function that calls glObjectPtrLabel(
ptr
,length
,label
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.X documentation for glObjectPtrLabe() .
- glPatchParameteri(pname, value)¶
- Parameters:
pname – int
value – int
Convenience function that calls glPatchParameteri(
pname
,value
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.X documentation for glPatchParameteri() .
- glPopDebugGroup()¶
Convenience function that calls glPopDebugGroup().
This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.X documentation for glPopDebugGroup() .
- glPrimitiveBoundingBox(minX, minY, minZ, minW, maxX, maxY, maxZ, maxW)¶
- Parameters:
minX – float
minY – float
minZ – float
minW – float
maxX – float
maxY – float
maxZ – float
maxW – float
Convenience function that calls glPrimitiveBoundingBox(
minX
,minY
,minZ
,minW
,maxX
,maxY
,maxZ
,maxW
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.X documentation for glPrimitiveBoundingBo() .
- glProgramBinary(program, binaryFormat, binary, length)¶
- Parameters:
program – int
binaryFormat – int
binary –
void
length – int
Convenience function that calls glProgramBinary(
program
,binaryFormat
,binary
,length
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glProgramBinary() .
- glProgramParameteri(program, pname, value)¶
- Parameters:
program – int
pname – int
value – int
Convenience function that calls glProgramParameteri(
program
,pname
,value
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glProgramParameteri() .
- glProgramUniform1f(program, location, v0)¶
- Parameters:
program – int
location – int
v0 – float
Convenience function that calls glProgramUniform1f(
program
,location
,v0
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glProgramUniform1f() .
- glProgramUniform1fv(program, location, count, value)¶
- Parameters:
program – int
location – int
count – int
value – float
Convenience function that calls glProgramUniform1fv(
program
,location
,count
,value
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glProgramUniform1fv() .
- glProgramUniform1i(program, location, v0)¶
- Parameters:
program – int
location – int
v0 – int
Convenience function that calls glProgramUniform1i(
program
,location
,v0
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glProgramUniform1i() .
- glProgramUniform1iv(program, location, count, value)¶
- Parameters:
program – int
location – int
count – int
value – int
Convenience function that calls glProgramUniform1iv(
program
,location
,count
,value
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glProgramUniform1iv() .
- glProgramUniform1ui(program, location, v0)¶
- Parameters:
program – int
location – int
v0 – int
Convenience function that calls glProgramUniform1ui(
program
,location
,v0
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glProgramUniform1ui() .
- glProgramUniform1uiv(program, location, count, value)¶
- Parameters:
program – int
location – int
count – int
value –
unsigned int
Convenience function that calls glProgramUniform1uiv(
program
,location
,count
,value
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glProgramUniform1uiv() .
- glProgramUniform2f(program, location, v0, v1)¶
- Parameters:
program – int
location – int
v0 – float
v1 – float
Convenience function that calls glProgramUniform2f(
program
,location
,v0
,v1
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glProgramUniform2f() .
- glProgramUniform2fv(program, location, count, value)¶
- Parameters:
program – int
location – int
count – int
value – float
Convenience function that calls glProgramUniform2fv(
program
,location
,count
,value
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glProgramUniform2fv() .
- glProgramUniform2i(program, location, v0, v1)¶
- Parameters:
program – int
location – int
v0 – int
v1 – int
Convenience function that calls glProgramUniform2i(
program
,location
,v0
,v1
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glProgramUniform2i() .
- glProgramUniform2iv(program, location, count, value)¶
- Parameters:
program – int
location – int
count – int
value – int
Convenience function that calls glProgramUniform2iv(
program
,location
,count
,value
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glProgramUniform2iv() .
- glProgramUniform2ui(program, location, v0, v1)¶
- Parameters:
program – int
location – int
v0 – int
v1 – int
Convenience function that calls glProgramUniform2ui(
program
,location
,v0
,v1
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glProgramUniform2ui() .
- glProgramUniform2uiv(program, location, count, value)¶
- Parameters:
program – int
location – int
count – int
value –
unsigned int
Convenience function that calls glProgramUniform2uiv(
program
,location
,count
,value
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glProgramUniform2uiv() .
- glProgramUniform3f(program, location, v0, v1, v2)¶
- Parameters:
program – int
location – int
v0 – float
v1 – float
v2 – float
Convenience function that calls glProgramUniform3f(
program
,location
,v0
,v1
,v2
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glProgramUniform3f() .
- glProgramUniform3fv(program, location, count, value)¶
- Parameters:
program – int
location – int
count – int
value – float
Convenience function that calls glProgramUniform3fv(
program
,location
,count
,value
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glProgramUniform3fv() .
- glProgramUniform3i(program, location, v0, v1, v2)¶
- Parameters:
program – int
location – int
v0 – int
v1 – int
v2 – int
Convenience function that calls glProgramUniform3i(
program
,location
,v0
,v1
,v2
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glProgramUniform3i() .
- glProgramUniform3iv(program, location, count, value)¶
- Parameters:
program – int
location – int
count – int
value – int
Convenience function that calls glProgramUniform3iv(
program
,location
,count
,value
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glProgramUniform3iv() .
- glProgramUniform3ui(program, location, v0, v1, v2)¶
- Parameters:
program – int
location – int
v0 – int
v1 – int
v2 – int
Convenience function that calls glProgramUniform3ui(
program
,location
,v0
,v1
,v2
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glProgramUniform3ui() .
- glProgramUniform3uiv(program, location, count, value)¶
- Parameters:
program – int
location – int
count – int
value –
unsigned int
Convenience function that calls glProgramUniform3uiv(
program
,location
,count
,value
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glProgramUniform3uiv() .
- glProgramUniform4f(program, location, v0, v1, v2, v3)¶
- Parameters:
program – int
location – int
v0 – float
v1 – float
v2 – float
v3 – float
Convenience function that calls glProgramUniform4f(
program
,location
,v0
,v1
,v2
,v3
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glProgramUniform4f() .
- glProgramUniform4fv(program, location, count, value)¶
- Parameters:
program – int
location – int
count – int
value – float
Convenience function that calls glProgramUniform4fv(
program
,location
,count
,value
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glProgramUniform4fv() .
- glProgramUniform4i(program, location, v0, v1, v2, v3)¶
- Parameters:
program – int
location – int
v0 – int
v1 – int
v2 – int
v3 – int
Convenience function that calls glProgramUniform4i(
program
,location
,v0
,v1
,v2
,v3
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glProgramUniform4i() .
- glProgramUniform4iv(program, location, count, value)¶
- Parameters:
program – int
location – int
count – int
value – int
Convenience function that calls glProgramUniform4iv(
program
,location
,count
,value
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glProgramUniform4iv() .
- glProgramUniform4ui(program, location, v0, v1, v2, v3)¶
- Parameters:
program – int
location – int
v0 – int
v1 – int
v2 – int
v3 – int
Convenience function that calls glProgramUniform4ui(
program
,location
,v0
,v1
,v2
,v3
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glProgramUniform4ui() .
- glProgramUniform4uiv(program, location, count, value)¶
- Parameters:
program – int
location – int
count – int
value –
unsigned int
Convenience function that calls glProgramUniform4uiv(
program
,location
,count
,value
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glProgramUniform4uiv() .
- glProgramUniformMatrix2fv(program, location, count, transpose, value)¶
- Parameters:
program – int
location – int
count – int
transpose – int
value – float
Convenience function that calls glProgramUniformMatrix2fv(
program
,location
,count
,transpose
,value
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glProgramUniformMatrix2fv() .
- glProgramUniformMatrix2x3fv(program, location, count, transpose, value)¶
- Parameters:
program – int
location – int
count – int
transpose – int
value – float
Convenience function that calls glProgramUniformMatrix2x3fv(
program
,location
,count
,transpose
,value
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glProgramUniformMatrix2x3fv() .
- glProgramUniformMatrix2x4fv(program, location, count, transpose, value)¶
- Parameters:
program – int
location – int
count – int
transpose – int
value – float
Convenience function that calls glProgramUniformMatrix2x4fv(
program
,location
,count
,transpose
,value
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glProgramUniformMatrix2x4fv() .
- glProgramUniformMatrix3fv(program, location, count, transpose, value)¶
- Parameters:
program – int
location – int
count – int
transpose – int
value – float
Convenience function that calls glProgramUniformMatrix3fv(
program
,location
,count
,transpose
,value
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glProgramUniformMatrix3fv() .
- glProgramUniformMatrix3x2fv(program, location, count, transpose, value)¶
- Parameters:
program – int
location – int
count – int
transpose – int
value – float
Convenience function that calls glProgramUniformMatrix3x2fv(
program
,location
,count
,transpose
,value
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glProgramUniformMatrix3x2fv() .
- glProgramUniformMatrix3x4fv(program, location, count, transpose, value)¶
- Parameters:
program – int
location – int
count – int
transpose – int
value – float
Convenience function that calls glProgramUniformMatrix3x4fv(
program
,location
,count
,transpose
,value
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glProgramUniformMatrix3x4fv() .
- glProgramUniformMatrix4fv(program, location, count, transpose, value)¶
- Parameters:
program – int
location – int
count – int
transpose – int
value – float
Convenience function that calls glProgramUniformMatrix4fv(
program
,location
,count
,transpose
,value
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glProgramUniformMatrix4fv() .
- glProgramUniformMatrix4x2fv(program, location, count, transpose, value)¶
- Parameters:
program – int
location – int
count – int
transpose – int
value – float
Convenience function that calls glProgramUniformMatrix4x2fv(
program
,location
,count
,transpose
,value
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glProgramUniformMatrix4x2fv() .
- glProgramUniformMatrix4x3fv(program, location, count, transpose, value)¶
- Parameters:
program – int
location – int
count – int
transpose – int
value – float
Convenience function that calls glProgramUniformMatrix4x3fv(
program
,location
,count
,transpose
,value
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glProgramUniformMatrix4x3fv() .
- glPushDebugGroup(source, id, length, message)¶
- Parameters:
source – int
id – int
length – int
message – str
Convenience function that calls glPushDebugGroup(
source
,id
,length
,message
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.X documentation for glPushDebugGroup() .
- glReadBuffer(mode)¶
- Parameters:
mode – int
Convenience function that calls glReadBuffer(
src
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glReadBuffer() .
- glReadnPixels(x, y, width, height, format, type, bufSize, data)¶
- Parameters:
x – int
y – int
width – int
height – int
format – int
type – int
bufSize – int
data –
void
Convenience function that calls glReadnPixels(
x
,y
,width
,height
,format
,type
,bufSize
,data
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.X documentation for glReadnPixels() .
- glRenderbufferStorageMultisample(target, samples, internalformat, width, height)¶
- Parameters:
target – int
samples – int
internalformat – int
width – int
height – int
Convenience function that calls glRenderbufferStorageMultisample(
target
,samples
,internalformat
,width
,height
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glRenderbufferStorageMultisample() .
- glSampleMaski(maskNumber, mask)¶
- Parameters:
maskNumber – int
mask – int
Convenience function that calls glSampleMaski(
maskNumber
,mask
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glSampleMaski() .
- glSamplerParameterIiv(sampler, pname, param)¶
- Parameters:
sampler – int
pname – int
param – int
Convenience function that calls glSamplerParameterIiv(
sampler
,pname
,param
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.X documentation for glSamplerParameterIiv() .
- glSamplerParameterIuiv(sampler, pname, param)¶
- Parameters:
sampler – int
pname – int
param –
unsigned int
Convenience function that calls glSamplerParameterIuiv(
sampler
,pname
,param
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.X documentation for glSamplerParameterIuiv() .
- glSamplerParameterf(sampler, pname, param)¶
- Parameters:
sampler – int
pname – int
param – float
Convenience function that calls glSamplerParameterf(
sampler
,pname
,param
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glSamplerParameterf() .
- glSamplerParameterfv(sampler, pname, param)¶
- Parameters:
sampler – int
pname – int
param – float
Convenience function that calls glSamplerParameterfv(
sampler
,pname
,param
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glSamplerParameterfv() .
- glSamplerParameteri(sampler, pname, param)¶
- Parameters:
sampler – int
pname – int
param – int
Convenience function that calls glSamplerParameteri(
sampler
,pname
,param
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glSamplerParameteri() .
- glSamplerParameteriv(sampler, pname, param)¶
- Parameters:
sampler – int
pname – int
param – int
Convenience function that calls glSamplerParameteriv(
sampler
,pname
,param
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glSamplerParameteriv() .
- glTexBuffer(target, internalformat, buffer)¶
- Parameters:
target – int
internalformat – int
buffer – int
Convenience function that calls glTexBuffer(
target
,internalformat
,buffer
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.X documentation for glTexBuffer() .
- glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels)¶
- Parameters:
target – int
level – int
internalformat – int
width – int
height – int
depth – int
border – int
format – int
type – int
pixels –
void
Convenience function that calls glTexImage3D(
target
,level
,internalformat
,width
,height
,depth
,border
,format
,type
,pixels
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glTexImage3D() .
- glTexParameterIiv(target, pname, params)¶
- Parameters:
target – int
pname – int
params – int
Convenience function that calls glTexParameterIiv(
target
,pname
,params
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.X documentation for glTexParameterIiv() .
- glTexParameterIuiv(target, pname, params)¶
- Parameters:
target – int
pname – int
params –
unsigned int
Convenience function that calls glTexParameterIuiv(
target
,pname
,params
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.X documentation for glTexParameterIuiv() .
- glTexStorage2D(target, levels, internalformat, width, height)¶
- Parameters:
target – int
levels – int
internalformat – int
width – int
height – int
Convenience function that calls glTexStorage2D(
target
,levels
,internalformat
,width
,height
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glTexStorage2D() .
- glTexStorage2DMultisample(target, samples, internalformat, width, height, fixedsamplelocations)¶
- Parameters:
target – int
samples – int
internalformat – int
width – int
height – int
fixedsamplelocations – int
Convenience function that calls glTexStorage2DMultisample(
target
,samples
,internalformat
,width
,height
,fixedsamplelocations
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glTexStorage2DMultisample() .
- glTexStorage3D(target, levels, internalformat, width, height, depth)¶
- Parameters:
target – int
levels – int
internalformat – int
width – int
height – int
depth – int
Convenience function that calls glTexStorage3D(
target
,levels
,internalformat
,width
,height
,depth
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glTexStorage3D() .
- glTexStorage3DMultisample(target, samples, internalformat, width, height, depth, fixedsamplelocations)¶
- Parameters:
target – int
samples – int
internalformat – int
width – int
height – int
depth – int
fixedsamplelocations – int
Convenience function that calls glTexStorage3DMultisample(
target
,samples
,internalformat
,width
,height
,depth
,fixedsamplelocations
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.X documentation for glTexStorage3DMultisample() .
- glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels)¶
- Parameters:
target – int
level – int
xoffset – int
yoffset – int
zoffset – int
width – int
height – int
depth – int
format – int
type – int
pixels –
void
Convenience function that calls glTexSubImage3D(
target
,level
,xoffset
,yoffset
,zoffset
,width
,height
,depth
,format
,type
,pixels
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glTexSubImage3D() .
- glUniform1ui(location, v0)¶
- Parameters:
location – int
v0 – int
Convenience function that calls glUniform1ui(
location
,v0
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glUniform1ui() .
- glUniform1uiv(location, count, value)¶
- Parameters:
location – int
count – int
value –
unsigned int
Convenience function that calls glUniform1uiv(
location
,count
,value
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glUniform1uiv() .
- glUniform2ui(location, v0, v1)¶
- Parameters:
location – int
v0 – int
v1 – int
Convenience function that calls glUniform2ui(
location
,v0
,v1
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glUniform2ui() .
- glUniform2uiv(location, count, value)¶
- Parameters:
location – int
count – int
value –
unsigned int
Convenience function that calls glUniform2uiv(
location
,count
,value
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glUniform2uiv() .
- glUniform3ui(location, v0, v1, v2)¶
- Parameters:
location – int
v0 – int
v1 – int
v2 – int
Convenience function that calls glUniform3ui(
location
,v0
,v1
,v2
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glUniform3ui() .
- glUniform3uiv(location, count, value)¶
- Parameters:
location – int
count – int
value –
unsigned int
Convenience function that calls glUniform3uiv(
location
,count
,value
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glUniform3uiv() .
- glUniform4ui(location, v0, v1, v2, v3)¶
- Parameters:
location – int
v0 – int
v1 – int
v2 – int
v3 – int
Convenience function that calls glUniform4ui(
location
,v0
,v1
,v2
,v3
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glUniform4ui() .
- glUniform4uiv(location, count, value)¶
- Parameters:
location – int
count – int
value –
unsigned int
Convenience function that calls glUniform4uiv(
location
,count
,value
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glUniform4uiv() .
- glUniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding)¶
- Parameters:
program – int
uniformBlockIndex – int
uniformBlockBinding – int
Convenience function that calls glUniformBlockBinding(
program
,uniformBlockIndex
,uniformBlockBinding
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glUniformBlockBinding() .
- glUniformMatrix2x3fv(location, count, transpose, value)¶
- Parameters:
location – int
count – int
transpose – int
value – float
Convenience function that calls glUniformMatrix2x3fv(
location
,count
,transpose
,value
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glUniformMatrix2x3fv() .
- glUniformMatrix2x4fv(location, count, transpose, value)¶
- Parameters:
location – int
count – int
transpose – int
value – float
Convenience function that calls glUniformMatrix2x4fv(
location
,count
,transpose
,value
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glUniformMatrix2x4fv() .
- glUniformMatrix3x2fv(location, count, transpose, value)¶
- Parameters:
location – int
count – int
transpose – int
value – float
Convenience function that calls glUniformMatrix3x2fv(
location
,count
,transpose
,value
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glUniformMatrix3x2fv() .
- glUniformMatrix3x4fv(location, count, transpose, value)¶
- Parameters:
location – int
count – int
transpose – int
value – float
Convenience function that calls glUniformMatrix3x4fv(
location
,count
,transpose
,value
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glUniformMatrix3x4fv() .
- glUniformMatrix4x2fv(location, count, transpose, value)¶
- Parameters:
location – int
count – int
transpose – int
value – float
Convenience function that calls glUniformMatrix4x2fv(
location
,count
,transpose
,value
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glUniformMatrix4x2fv() .
- glUniformMatrix4x3fv(location, count, transpose, value)¶
- Parameters:
location – int
count – int
transpose – int
value – float
Convenience function that calls glUniformMatrix4x3fv(
location
,count
,transpose
,value
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glUniformMatrix4x3fv() .
- glUnmapBuffer(target)¶
- Parameters:
target – int
- Return type:
int
Convenience function that calls glUnmapBuffer(
target
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glUnmapBuffer() .
- glUseProgramStages(pipeline, stages, program)¶
- Parameters:
pipeline – int
stages – int
program – int
Convenience function that calls glUseProgramStages(
pipeline
,stages
,program
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glUseProgramStages() .
- glValidateProgramPipeline(pipeline)¶
- Parameters:
pipeline – int
Convenience function that calls glValidateProgramPipeline(
pipeline
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glValidateProgramPipeline() .
- glVertexAttribBinding(attribindex, bindingindex)¶
- Parameters:
attribindex – int
bindingindex – int
Convenience function that calls glVertexAttribBinding(
attribindex
,bindingindex
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glVertexAttribBinding() .
- glVertexAttribDivisor(index, divisor)¶
- Parameters:
index – int
divisor – int
Convenience function that calls glVertexAttribDivisor(
index
,divisor
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glVertexAttribDivisor() .
- glVertexAttribFormat(attribindex, size, type, normalized, relativeoffset)¶
- Parameters:
attribindex – int
size – int
type – int
normalized – int
relativeoffset – int
Convenience function that calls glVertexAttribFormat(
attribindex
,size
,type
,normalized
,relativeoffset
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glVertexAttribFormat() .
- glVertexAttribI4i(index, x, y, z, w)¶
- Parameters:
index – int
x – int
y – int
z – int
w – int
Convenience function that calls glVertexAttribI4i(
index
,x
,y
,z
,w
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glVertexAttribI4i() .
- glVertexAttribI4iv(index, v)¶
- Parameters:
index – int
v – int
Convenience function that calls glVertexAttribI4iv(
index
,v
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glVertexAttribI4iv() .
- glVertexAttribI4ui(index, x, y, z, w)¶
- Parameters:
index – int
x – int
y – int
z – int
w – int
Convenience function that calls glVertexAttribI4ui(
index
,x
,y
,z
,w
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glVertexAttribI4ui() .
- glVertexAttribI4uiv(index, v)¶
- Parameters:
index – int
v –
unsigned int
Convenience function that calls glVertexAttribI4uiv(
index
,v
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glVertexAttribI4uiv() .
- glVertexAttribIFormat(attribindex, size, type, relativeoffset)¶
- Parameters:
attribindex – int
size – int
type – int
relativeoffset – int
Convenience function that calls glVertexAttribIFormat(
attribindex
,size
,type
,relativeoffset
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glVertexAttribIFormat() .
- glVertexAttribIPointer(index, size, type, stride, pointer)¶
- Parameters:
index – int
size – int
type – int
stride – int
pointer –
void
Convenience function that calls glVertexAttribIPointer(
index
,size
,type
,stride
,pointer
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glVertexAttribIPointer() .
- glVertexBindingDivisor(bindingindex, divisor)¶
- Parameters:
bindingindex – int
divisor – int
Convenience function that calls glVertexBindingDivisor(
bindingindex
,divisor
).This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.
For more information, see the OpenGL ES 3.x documentation for glVertexBindingDivisor() .