java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QOpenGLFunctions
- All Implemented Interfaces:
QtObjectInterface
- Direct Known Subclasses:
QOpenGLExtraFunctions
public class QOpenGLFunctions extends QtObject
Cross-platform access to the OpenGL ES 2.0 API
Java wrapper for Qt class QOpenGLFunctions
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QOpenGLFunctions.OpenGLFeature
Java wrapper for Qt enum QOpenGLFunctions::OpenGLFeaturestatic class
QOpenGLFunctions.OpenGLFeatures
QFlags type for enumQOpenGLFunctions.OpenGLFeature
-
Constructor Summary
Constructors Modifier Constructor Description QOpenGLFunctions()
QOpenGLFunctions(QOpenGLContext context)
protected
QOpenGLFunctions(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description void
glActiveTexture(int texture)
void
glAttachShader(int program, int shader)
void
glBindAttribLocation(int program, int index, String name)
void
glBindBuffer(int target, int buffer)
void
glBindFramebuffer(int target, int framebuffer)
void
glBindRenderbuffer(int target, int renderbuffer)
void
glBindTexture(int target, int texture)
void
glBlendColor(float red, float green, float blue, float alpha)
void
glBlendEquation(int mode)
void
glBlendEquationSeparate(int modeRGB, int modeAlpha)
void
glBlendFunc(int sfactor, int dfactor)
void
glBlendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha)
void
glBufferData(int target, long size, Buffer data, int usage)
void
glBufferSubData(int target, long offset, long size, Buffer data)
int
glCheckFramebufferStatus(int target)
void
glClear(int mask)
void
glClearColor(float red, float green, float blue, float alpha)
void
glClearDepthf(float depth)
void
glClearStencil(int s)
void
glColorMask(boolean red, boolean green, boolean blue, boolean alpha)
void
glCompileShader(int shader)
void
glCompressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, int imageSize, Buffer data)
void
glCompressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, Buffer data)
void
glCopyTexImage2D(int target, int level, int internalformat, int x, int y, int width, int height, int border)
void
glCopyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height)
int
glCreateProgram()
int
glCreateShader(int type)
void
glCullFace(int mode)
void
glDeleteBuffers(int n, IntBuffer buffers)
void
glDeleteFramebuffers(int n, IntBuffer framebuffers)
void
glDeleteProgram(int program)
void
glDeleteRenderbuffers(int n, IntBuffer renderbuffers)
void
glDeleteShader(int shader)
void
glDeleteTextures(int n, IntBuffer textures)
void
glDepthFunc(int func)
void
glDepthMask(boolean flag)
void
glDepthRangef(float zNear, float zFar)
void
glDetachShader(int program, int shader)
void
glDisable(int cap)
void
glDisableVertexAttribArray(int index)
void
glDrawArrays(int mode, int first, int count)
void
glDrawElements(int mode, int count, int type, Buffer indices)
void
glEnable(int cap)
void
glEnableVertexAttribArray(int index)
void
glFinish()
void
glFlush()
void
glFramebufferRenderbuffer(int target, int attachment, int renderbuffertarget, int renderbuffer)
void
glFramebufferTexture2D(int target, int attachment, int textarget, int texture, int level)
void
glFrontFace(int mode)
void
glGenBuffers(int n, IntBuffer buffers)
void
glGenerateMipmap(int target)
void
glGenFramebuffers(int n, IntBuffer framebuffers)
void
glGenRenderbuffers(int n, IntBuffer renderbuffers)
void
glGenTextures(int n, IntBuffer textures)
void
glGetActiveAttrib(int program, int index, int bufsize, IntBuffer length, IntBuffer size, IntBuffer type, ByteBuffer name)
void
glGetActiveUniform(int program, int index, int bufsize, IntBuffer length, IntBuffer size, IntBuffer type, ByteBuffer name)
void
glGetAttachedShaders(int program, int maxcount, IntBuffer count, IntBuffer shaders)
int
glGetAttribLocation(int program, String name)
void
glGetBooleanv(int pname, Buffer params)
void
glGetBufferParameteriv(int target, int pname, IntBuffer params)
int
glGetError()
void
glGetFloatv(int pname, FloatBuffer params)
void
glGetFramebufferAttachmentParameteriv(int target, int attachment, int pname, IntBuffer params)
void
glGetIntegerv(int pname, IntBuffer params)
void
glGetProgramInfoLog(int program, int bufsize, IntBuffer length, ByteBuffer infolog)
void
glGetProgramiv(int program, int pname, IntBuffer params)
void
glGetRenderbufferParameteriv(int target, int pname, IntBuffer params)
void
glGetShaderInfoLog(int shader, int bufsize, IntBuffer length, ByteBuffer infolog)
void
glGetShaderiv(int shader, int pname, IntBuffer params)
void
glGetShaderPrecisionFormat(int shadertype, int precisiontype, IntBuffer range, IntBuffer precision)
void
glGetShaderSource(int shader, int bufsize, IntBuffer length, ByteBuffer source)
String
glGetString(int name)
void
glGetTexParameterfv(int target, int pname, FloatBuffer params)
void
glGetTexParameteriv(int target, int pname, IntBuffer params)
void
glGetUniformfv(int program, int location, FloatBuffer params)
void
glGetUniformiv(int program, int location, IntBuffer params)
int
glGetUniformLocation(int program, String name)
void
glGetVertexAttribfv(int index, int pname, FloatBuffer params)
void
glGetVertexAttribiv(int index, int pname, IntBuffer params)
void
glGetVertexAttribPointerv(int index, int pname, Buffer[] pointer)
void
glHint(int target, int mode)
boolean
glIsBuffer(int buffer)
boolean
glIsEnabled(int cap)
boolean
glIsFramebuffer(int framebuffer)
boolean
glIsProgram(int program)
boolean
glIsRenderbuffer(int renderbuffer)
boolean
glIsShader(int shader)
boolean
glIsTexture(int texture)
void
glLineWidth(float width)
void
glLinkProgram(int program)
void
glPixelStorei(int pname, int param)
void
glPolygonOffset(float factor, float units)
void
glReadPixels(int x, int y, int width, int height, int format, int type, Buffer pixels)
void
glReleaseShaderCompiler()
void
glRenderbufferStorage(int target, int internalformat, int width, int height)
void
glSampleCoverage(float value, boolean invert)
void
glScissor(int x, int y, int width, int height)
void
glShaderBinary(int n, IntBuffer shaders, int binaryformat, Buffer binary, int length)
void
glShaderSource(int shader, String[] string)
void
glStencilFunc(int func, int ref, int mask)
void
glStencilFuncSeparate(int face, int func, int ref, int mask)
void
glStencilMask(int mask)
void
glStencilMaskSeparate(int face, int mask)
void
glStencilOp(int fail, int zfail, int zpass)
void
glStencilOpSeparate(int face, int fail, int zfail, int zpass)
void
glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, Buffer pixels)
void
glTexParameterf(int target, int pname, float param)
void
glTexParameterfv(int target, int pname, FloatBuffer params)
void
glTexParameteri(int target, int pname, int param)
void
glTexParameteriv(int target, int pname, IntBuffer params)
void
glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, Buffer pixels)
void
glUniform1f(int location, float x)
void
glUniform1fv(int location, int count, FloatBuffer v)
void
glUniform1i(int location, int x)
void
glUniform1iv(int location, int count, IntBuffer v)
void
glUniform2f(int location, float x, float y)
void
glUniform2fv(int location, int count, FloatBuffer v)
void
glUniform2i(int location, int x, int y)
void
glUniform2iv(int location, int count, IntBuffer v)
void
glUniform3f(int location, float x, float y, float z)
void
glUniform3fv(int location, int count, FloatBuffer v)
void
glUniform3i(int location, int x, int y, int z)
void
glUniform3iv(int location, int count, IntBuffer v)
void
glUniform4f(int location, float x, float y, float z, float w)
void
glUniform4fv(int location, int count, FloatBuffer v)
void
glUniform4i(int location, int x, int y, int z, int w)
void
glUniform4iv(int location, int count, IntBuffer v)
void
glUniformMatrix2fv(int location, int count, boolean transpose, FloatBuffer value)
void
glUniformMatrix3fv(int location, int count, boolean transpose, FloatBuffer value)
void
glUniformMatrix4fv(int location, int count, boolean transpose, FloatBuffer value)
void
glUseProgram(int program)
void
glValidateProgram(int program)
void
glVertexAttrib1f(int indx, float x)
void
glVertexAttrib1fv(int indx, FloatBuffer values)
void
glVertexAttrib2f(int indx, float x, float y)
void
glVertexAttrib2fv(int indx, FloatBuffer values)
void
glVertexAttrib3f(int indx, float x, float y, float z)
void
glVertexAttrib3fv(int indx, FloatBuffer values)
void
glVertexAttrib4f(int indx, float x, float y, float z, float w)
void
glVertexAttrib4fv(int indx, FloatBuffer values)
void
glVertexAttribPointer(int indx, int size, int type, boolean normalized, int stride, Buffer ptr)
void
glViewport(int x, int y, int width, int height)
boolean
hasOpenGLFeature(QOpenGLFunctions.OpenGLFeature feature)
void
initializeOpenGLFunctions()
QOpenGLFunctions.OpenGLFeatures
openGLFeatures()
-
Constructor Details
-
QOpenGLFunctions
public QOpenGLFunctions() -
QOpenGLFunctions
-
QOpenGLFunctions
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
glActiveTexture
-
glAttachShader
-
glBindAttribLocation
-
glBindBuffer
-
glBindFramebuffer
-
glBindRenderbuffer
-
glBindTexture
-
glBlendColor
-
glBlendEquation
-
glBlendEquationSeparate
-
glBlendFunc
-
glBlendFuncSeparate
@QtUninvokable public final void glBlendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) -
glBufferData
-
glBufferSubData
-
glCheckFramebufferStatus
-
glClear
-
glClearColor
-
glClearDepthf
-
glClearStencil
-
glColorMask
@QtUninvokable public final void glColorMask(boolean red, boolean green, boolean blue, boolean alpha) -
glCompileShader
-
glCompressedTexImage2D
@QtUninvokable public final void glCompressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, int imageSize, Buffer data) -
glCompressedTexSubImage2D
@QtUninvokable public final void glCompressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, Buffer data) -
glCopyTexImage2D
@QtUninvokable public final void glCopyTexImage2D(int target, int level, int internalformat, int x, int y, int width, int height, int border) -
glCopyTexSubImage2D
@QtUninvokable public final void glCopyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) -
glCreateProgram
-
glCreateShader
-
glCullFace
-
glDeleteBuffers
-
glDeleteFramebuffers
-
glDeleteProgram
-
glDeleteRenderbuffers
-
glDeleteShader
-
glDeleteTextures
-
glDepthFunc
-
glDepthMask
-
glDepthRangef
-
glDetachShader
-
glDisable
-
glDisableVertexAttribArray
-
glDrawArrays
-
glDrawElements
-
glEnable
-
glEnableVertexAttribArray
-
glFinish
-
glFlush
-
glFramebufferRenderbuffer
@QtUninvokable public final void glFramebufferRenderbuffer(int target, int attachment, int renderbuffertarget, int renderbuffer) -
glFramebufferTexture2D
@QtUninvokable public final void glFramebufferTexture2D(int target, int attachment, int textarget, int texture, int level) -
glFrontFace
-
glGenBuffers
-
glGenFramebuffers
-
glGenRenderbuffers
-
glGenTextures
-
glGenerateMipmap
-
glGetActiveAttrib
@QtUninvokable public final void glGetActiveAttrib(int program, int index, int bufsize, IntBuffer length, IntBuffer size, IntBuffer type, ByteBuffer name) -
glGetActiveUniform
@QtUninvokable public final void glGetActiveUniform(int program, int index, int bufsize, IntBuffer length, IntBuffer size, IntBuffer type, ByteBuffer name) -
glGetAttachedShaders
@QtUninvokable public final void glGetAttachedShaders(int program, int maxcount, IntBuffer count, IntBuffer shaders) -
glGetAttribLocation
-
glGetBooleanv
-
glGetBufferParameteriv
-
glGetError
-
glGetFloatv
-
glGetFramebufferAttachmentParameteriv
@QtUninvokable public final void glGetFramebufferAttachmentParameteriv(int target, int attachment, int pname, IntBuffer params) -
glGetIntegerv
-
glGetProgramInfoLog
@QtUninvokable public final void glGetProgramInfoLog(int program, int bufsize, IntBuffer length, ByteBuffer infolog) -
glGetProgramiv
-
glGetRenderbufferParameteriv
@QtUninvokable public final void glGetRenderbufferParameteriv(int target, int pname, IntBuffer params) -
glGetShaderInfoLog
@QtUninvokable public final void glGetShaderInfoLog(int shader, int bufsize, IntBuffer length, ByteBuffer infolog) -
glGetShaderPrecisionFormat
@QtUninvokable public final void glGetShaderPrecisionFormat(int shadertype, int precisiontype, IntBuffer range, IntBuffer precision) -
glGetShaderSource
@QtUninvokable public final void glGetShaderSource(int shader, int bufsize, IntBuffer length, ByteBuffer source) -
glGetShaderiv
-
glGetString
-
glGetTexParameterfv
-
glGetTexParameteriv
-
glGetUniformLocation
-
glGetUniformfv
-
glGetUniformiv
-
glGetVertexAttribPointerv
-
glGetVertexAttribfv
-
glGetVertexAttribiv
-
glHint
-
glIsBuffer
-
glIsEnabled
-
glIsFramebuffer
-
glIsProgram
-
glIsRenderbuffer
-
glIsShader
-
glIsTexture
-
glLineWidth
-
glLinkProgram
-
glPixelStorei
-
glPolygonOffset
-
glReadPixels
@QtUninvokable public final void glReadPixels(int x, int y, int width, int height, int format, int type, Buffer pixels) -
glReleaseShaderCompiler
-
glRenderbufferStorage
@QtUninvokable public final void glRenderbufferStorage(int target, int internalformat, int width, int height) -
glSampleCoverage
-
glScissor
-
glShaderBinary
@QtUninvokable public final void glShaderBinary(int n, IntBuffer shaders, int binaryformat, Buffer binary, int length) -
glShaderSource
-
glStencilFunc
-
glStencilFuncSeparate
-
glStencilMask
-
glStencilMaskSeparate
-
glStencilOp
-
glStencilOpSeparate
-
glTexImage2D
@QtUninvokable public final void glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, Buffer pixels) -
glTexParameterf
-
glTexParameterfv
-
glTexParameteri
-
glTexParameteriv
-
glTexSubImage2D
@QtUninvokable public final void glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, Buffer pixels) -
glUniform1f
-
glUniform1fv
-
glUniform1i
-
glUniform1iv
-
glUniform2f
-
glUniform2fv
-
glUniform2i
-
glUniform2iv
-
glUniform3f
-
glUniform3fv
-
glUniform3i
-
glUniform3iv
-
glUniform4f
-
glUniform4fv
-
glUniform4i
-
glUniform4iv
-
glUniformMatrix2fv
@QtUninvokable public final void glUniformMatrix2fv(int location, int count, boolean transpose, FloatBuffer value) -
glUniformMatrix3fv
@QtUninvokable public final void glUniformMatrix3fv(int location, int count, boolean transpose, FloatBuffer value) -
glUniformMatrix4fv
@QtUninvokable public final void glUniformMatrix4fv(int location, int count, boolean transpose, FloatBuffer value) -
glUseProgram
-
glValidateProgram
-
glVertexAttrib1f
-
glVertexAttrib1fv
-
glVertexAttrib2f
-
glVertexAttrib2fv
-
glVertexAttrib3f
-
glVertexAttrib3fv
-
glVertexAttrib4f
-
glVertexAttrib4fv
-
glVertexAttribPointer
@QtUninvokable public final void glVertexAttribPointer(int indx, int size, int type, boolean normalized, int stride, Buffer ptr) -
glViewport
-
hasOpenGLFeature
-
initializeOpenGLFunctions
-
openGLFeatures
-