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