![]() |
Qt 6.x
The Qt SDK
|
#include <qopenglextensions_p.h>
Public Types | |
enum | OpenGLExtension { TextureRectangle = 0x00000001 , GenerateMipmap = 0x00000002 , TextureCompression = 0x00000004 , MirroredRepeat = 0x00000008 , FramebufferMultisample = 0x00000010 , StencilTwoSide = 0x00000020 , StencilWrap = 0x00000040 , PackedDepthStencil = 0x00000080 , NVFloatBuffer = 0x00000100 , PixelBufferObject = 0x00000200 , FramebufferBlit = 0x00000400 , BGRATextureFormat = 0x00000800 , DDSTextureCompression = 0x00001000 , ETC1TextureCompression = 0x00002000 , PVRTCTextureCompression = 0x00004000 , ElementIndexUint = 0x00008000 , Depth24 = 0x00010000 , SRGBFrameBuffer = 0x00020000 , MapBuffer = 0x00040000 , GeometryShaders = 0x00080000 , MapBufferRange = 0x00100000 , Sized8Formats = 0x00200000 , DiscardFramebuffer = 0x00400000 , Sized16Formats = 0x00800000 , TextureSwizzle = 0x01000000 , StandardDerivatives = 0x02000000 , ASTCTextureCompression = 0x04000000 , ETC2TextureCompression = 0x08000000 , HalfFloatVertex = 0x10000000 , MultiView = 0x20000000 , MultiViewExtended = 0x40000000 } |
![]() | |
enum | OpenGLFeature { Multitexture = 0x0001 , Shaders = 0x0002 , Buffers = 0x0004 , Framebuffers = 0x0008 , BlendColor = 0x0010 , BlendEquation = 0x0020 , BlendEquationSeparate = 0x0040 , BlendFuncSeparate = 0x0080 , BlendSubtract = 0x0100 , CompressedTextures = 0x0200 , Multisample = 0x0400 , StencilSeparate = 0x0800 , NPOTTextures = 0x1000 , NPOTTextureRepeat = 0x2000 , FixedFunctionPipeline = 0x4000 , TextureRGFormats = 0x8000 , MultipleRenderTargets = 0x10000 , BlendEquationAdvanced = 0x20000 } |
This enum defines OpenGL and OpenGL ES features whose presence may depend on the implementation. More... | |
Public Member Functions | |
QOpenGLExtensions () | |
QOpenGLExtensions (QOpenGLContext *context) | |
~QOpenGLExtensions () | |
OpenGLExtensions | openGLExtensions () |
Returns the set of extensions that are present on this system's OpenGL implementation. | |
bool | hasOpenGLExtension (QOpenGLExtensions::OpenGLExtension extension) const |
Returns true if extension is present on this system's OpenGL implementation; false otherwise. | |
GLvoid * | glMapBuffer (GLenum target, GLenum access) |
void | glGetBufferSubData (GLenum target, qopengl_GLintptr offset, qopengl_GLsizeiptr size, GLvoid *data) |
void | glDiscardFramebufferEXT (GLenum target, GLsizei numAttachments, const GLenum *attachments) |
void | flushShared () |
QOpenGLExtensionsPrivate * | d () const |
![]() | |
QOpenGLExtraFunctions () | |
Constructs a default function resolver. | |
QOpenGLExtraFunctions (QOpenGLContext *context) | |
Constructs a function resolver for context. | |
~QOpenGLExtraFunctions () | |
void | glReadBuffer (GLenum mode) |
Convenience function that calls glReadBuffer(src). | |
void | glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices) |
Convenience function that calls glDrawRangeElements(mode, start, end, count, type, indices). | |
void | glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels) |
Convenience function that calls glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels). | |
void | glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels) |
Convenience function that calls glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels). | |
void | glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) |
Convenience function that calls glCopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height). | |
void | glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data) |
Convenience function that calls glCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data). | |
void | glCompressedTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data) |
Convenience function that calls glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data). | |
void | glGenQueries (GLsizei n, GLuint *ids) |
Convenience function that calls glGenQueries(n, ids). | |
void | glDeleteQueries (GLsizei n, const GLuint *ids) |
Convenience function that calls glDeleteQueries(n, ids). | |
GLboolean | glIsQuery (GLuint id) |
Convenience function that calls glIsQuery(id). | |
void | glBeginQuery (GLenum target, GLuint id) |
Convenience function that calls glBeginQuery(target, id). | |
void | glEndQuery (GLenum target) |
Convenience function that calls glEndQuery(target). | |
void | glGetQueryiv (GLenum target, GLenum pname, GLint *params) |
Convenience function that calls glGetQueryiv(target, pname, params). | |
void | glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params) |
Convenience function that calls glGetQueryObjectuiv(id, pname, params). | |
GLboolean | glUnmapBuffer (GLenum target) |
Convenience function that calls glUnmapBuffer(target). | |
void | glGetBufferPointerv (GLenum target, GLenum pname, void **params) |
Convenience function that calls glGetBufferPointerv(target, pname, params). | |
void | glDrawBuffers (GLsizei n, const GLenum *bufs) |
Convenience function that calls glDrawBuffers(n, bufs). | |
void | glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
Convenience function that calls glUniformMatrix2x3fv(location, count, transpose, value). | |
void | glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
Convenience function that calls glUniformMatrix3x2fv(location, count, transpose, value). | |
void | glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
Convenience function that calls glUniformMatrix2x4fv(location, count, transpose, value). | |
void | glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
Convenience function that calls glUniformMatrix4x2fv(location, count, transpose, value). | |
void | glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
Convenience function that calls glUniformMatrix3x4fv(location, count, transpose, value). | |
void | glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
Convenience function that calls glUniformMatrix4x3fv(location, count, transpose, value). | |
void | glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) |
Convenience function that calls glBlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter). | |
void | glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) |
Convenience function that calls glRenderbufferStorageMultisample(target, samples, internalformat, width, height). | |
void | glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer) |
Convenience function that calls glFramebufferTextureLayer(target, attachment, texture, level, layer). | |
void * | glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access) |
Convenience function that calls glMapBufferRange(target, offset, length, access). | |
void | glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length) |
Convenience function that calls glFlushMappedBufferRange(target, offset, length). | |
void | glBindVertexArray (GLuint array) |
Convenience function that calls glBindVertexArray(array). | |
void | glDeleteVertexArrays (GLsizei n, const GLuint *arrays) |
Convenience function that calls glDeleteVertexArrays(n, arrays). | |
void | glGenVertexArrays (GLsizei n, GLuint *arrays) |
Convenience function that calls glGenVertexArrays(n, arrays). | |
GLboolean | glIsVertexArray (GLuint array) |
Convenience function that calls glIsVertexArray(array). | |
void | glGetIntegeri_v (GLenum target, GLuint index, GLint *data) |
Convenience function that calls glGetIntegeri_v(target, index, data). | |
void | glBeginTransformFeedback (GLenum primitiveMode) |
Convenience function that calls glBeginTransformFeedback(primitiveMode). | |
void | glEndTransformFeedback (void) |
Convenience function that calls glEndTransformFeedback(). | |
void | glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size) |
Convenience function that calls glBindBufferRange(target, index, buffer, offset, size). | |
void | glBindBufferBase (GLenum target, GLuint index, GLuint buffer) |
Convenience function that calls glBindBufferBase(target, index, buffer). | |
void | glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar *const *varyings, GLenum bufferMode) |
Convenience function that calls glTransformFeedbackVaryings(program, count, varyings, bufferMode). | |
void | glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name) |
Convenience function that calls glGetTransformFeedbackVarying(program, index, bufSize, length, size, type, name). | |
void | glVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer) |
Convenience function that calls glVertexAttribIPointer(index, size, type, stride, pointer). | |
void | glGetVertexAttribIiv (GLuint index, GLenum pname, GLint *params) |
Convenience function that calls glGetVertexAttribIiv(index, pname, params). | |
void | glGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint *params) |
Convenience function that calls glGetVertexAttribIuiv(index, pname, params). | |
void | glVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w) |
Convenience function that calls glVertexAttribI4i(index, x, y, z, w). | |
void | glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) |
Convenience function that calls glVertexAttribI4ui(index, x, y, z, w). | |
void | glVertexAttribI4iv (GLuint index, const GLint *v) |
Convenience function that calls glVertexAttribI4iv(index, v). | |
void | glVertexAttribI4uiv (GLuint index, const GLuint *v) |
Convenience function that calls glVertexAttribI4uiv(index, v). | |
void | glGetUniformuiv (GLuint program, GLint location, GLuint *params) |
Convenience function that calls glGetUniformuiv(program, location, params). | |
GLint | glGetFragDataLocation (GLuint program, const GLchar *name) |
Convenience function that calls glGetFragDataLocation(program, name). | |
void | glUniform1ui (GLint location, GLuint v0) |
Convenience function that calls glUniform1ui(location, v0). | |
void | glUniform2ui (GLint location, GLuint v0, GLuint v1) |
Convenience function that calls glUniform2ui(location, v0, v1). | |
void | glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2) |
Convenience function that calls glUniform3ui(location, v0, v1, v2). | |
void | glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) |
Convenience function that calls glUniform4ui(location, v0, v1, v2, v3). | |
void | glUniform1uiv (GLint location, GLsizei count, const GLuint *value) |
Convenience function that calls glUniform1uiv(location, count, value). | |
void | glUniform2uiv (GLint location, GLsizei count, const GLuint *value) |
Convenience function that calls glUniform2uiv(location, count, value). | |
void | glUniform3uiv (GLint location, GLsizei count, const GLuint *value) |
Convenience function that calls glUniform3uiv(location, count, value). | |
void | glUniform4uiv (GLint location, GLsizei count, const GLuint *value) |
Convenience function that calls glUniform4uiv(location, count, value). | |
void | glClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint *value) |
Convenience function that calls glClearBufferiv(buffer, drawbuffer, value). | |
void | glClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint *value) |
Convenience function that calls glClearBufferuiv(buffer, drawbuffer, value). | |
void | glClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat *value) |
Convenience function that calls glClearBufferfv(buffer, drawbuffer, value). | |
void | glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil) |
Convenience function that calls glClearBufferfi(buffer, drawbuffer, depth, stencil). | |
const GLubyte * | glGetStringi (GLenum name, GLuint index) |
Convenience function that calls glGetStringi(name, index). | |
void | glCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size) |
Convenience function that calls glCopyBufferSubData(readTarget, writeTarget, readOffset, writeOffset, size). | |
void | glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const *uniformNames, GLuint *uniformIndices) |
Convenience function that calls glGetUniformIndices(program, uniformCount, uniformNames, uniformIndices). | |
void | glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params) |
Convenience function that calls glGetActiveUniformsiv(program, uniformCount, uniformIndices, pname, params). | |
GLuint | glGetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName) |
Convenience function that calls glGetUniformBlockIndex(program, uniformBlockName). | |
void | glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params) |
Convenience function that calls glGetActiveUniformBlockiv(program, uniformBlockIndex, pname, params). | |
void | glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName) |
Convenience function that calls glGetActiveUniformBlockName(program, uniformBlockIndex, bufSize, length, uniformBlockName). | |
void | glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding) |
Convenience function that calls glUniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding). | |
void | glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei instancecount) |
Convenience function that calls glDrawArraysInstanced(mode, first, count, instancecount). | |
void | glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount) |
Convenience function that calls glDrawElementsInstanced(mode, count, type, indices, instancecount). | |
GLsync | glFenceSync (GLenum condition, GLbitfield flags) |
Convenience function that calls glFenceSync(condition, flags). | |
GLboolean | glIsSync (GLsync sync) |
Convenience function that calls glIsSync(sync). | |
void | glDeleteSync (GLsync sync) |
Convenience function that calls glDeleteSync(sync). | |
GLenum | glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout) |
Convenience function that calls glClientWaitSync(sync, flags, timeout). | |
void | glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout) |
Convenience function that calls glWaitSync(sync, flags, timeout). | |
void | glGetInteger64v (GLenum pname, GLint64 *data) |
Convenience function that calls glGetInteger64v(pname, data). | |
void | glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values) |
Convenience function that calls glGetSynciv(sync, pname, bufSize, length, values). | |
void | glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data) |
Convenience function that calls glGetInteger64i_v(target, index, data). | |
void | glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params) |
Convenience function that calls glGetBufferParameteri64v(target, pname, params). | |
void | glGenSamplers (GLsizei count, GLuint *samplers) |
Convenience function that calls glGenSamplers(count, samplers). | |
void | glDeleteSamplers (GLsizei count, const GLuint *samplers) |
Convenience function that calls glDeleteSamplers(count, samplers). | |
GLboolean | glIsSampler (GLuint sampler) |
Convenience function that calls glIsSampler(sampler). | |
void | glBindSampler (GLuint unit, GLuint sampler) |
Convenience function that calls glBindSampler(unit, sampler). | |
void | glSamplerParameteri (GLuint sampler, GLenum pname, GLint param) |
Convenience function that calls glSamplerParameteri(sampler, pname, param). | |
void | glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint *param) |
Convenience function that calls glSamplerParameteriv(sampler, pname, param). | |
void | glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param) |
Convenience function that calls glSamplerParameterf(sampler, pname, param). | |
void | glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat *param) |
Convenience function that calls glSamplerParameterfv(sampler, pname, param). | |
void | glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint *params) |
Convenience function that calls glGetSamplerParameteriv(sampler, pname, params). | |
void | glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat *params) |
Convenience function that calls glGetSamplerParameterfv(sampler, pname, params). | |
void | glVertexAttribDivisor (GLuint index, GLuint divisor) |
Convenience function that calls glVertexAttribDivisor(index, divisor). | |
void | glBindTransformFeedback (GLenum target, GLuint id) |
Convenience function that calls glBindTransformFeedback(target, id). | |
void | glDeleteTransformFeedbacks (GLsizei n, const GLuint *ids) |
Convenience function that calls glDeleteTransformFeedbacks(n, ids). | |
void | glGenTransformFeedbacks (GLsizei n, GLuint *ids) |
Convenience function that calls glGenTransformFeedbacks(n, ids). | |
GLboolean | glIsTransformFeedback (GLuint id) |
Convenience function that calls glIsTransformFeedback(id). | |
void | glPauseTransformFeedback (void) |
Convenience function that calls glPauseTransformFeedback(). | |
void | glResumeTransformFeedback (void) |
Convenience function that calls glResumeTransformFeedback(). | |
void | glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary) |
Convenience function that calls glGetProgramBinary(program, bufSize, length, binaryFormat, binary). | |
void | glProgramBinary (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length) |
Convenience function that calls glProgramBinary(program, binaryFormat, binary, length). | |
void | glProgramParameteri (GLuint program, GLenum pname, GLint value) |
Convenience function that calls glProgramParameteri(program, pname, value). | |
void | glInvalidateFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments) |
Convenience function that calls glInvalidateFramebuffer(target, numAttachments, attachments). | |
void | glInvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height) |
Convenience function that calls glInvalidateSubFramebuffer(target, numAttachments, attachments, x, y, width, height). | |
void | glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height) |
Convenience function that calls glTexStorage2D(target, levels, internalformat, width, height). | |
void | glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) |
Convenience function that calls glTexStorage3D(target, levels, internalformat, width, height, depth). | |
void | glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params) |
Convenience function that calls glGetInternalformativ(target, internalformat, pname, bufSize, params). | |
void | glDispatchCompute (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z) |
Convenience function that calls glDispatchCompute(num_groups_x, num_groups_y, num_groups_z). | |
void | glDispatchComputeIndirect (GLintptr indirect) |
Convenience function that calls glDispatchComputeIndirect(indirect). | |
void | glDrawArraysIndirect (GLenum mode, const void *indirect) |
Convenience function that calls glDrawArraysIndirect(mode, indirect). | |
void | glDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect) |
Convenience function that calls glDrawElementsIndirect(mode, type, indirect). | |
void | glFramebufferParameteri (GLenum target, GLenum pname, GLint param) |
Convenience function that calls glFramebufferParameteri(target, pname, param). | |
void | glGetFramebufferParameteriv (GLenum target, GLenum pname, GLint *params) |
Convenience function that calls glGetFramebufferParameteriv(target, pname, params). | |
void | glGetProgramInterfaceiv (GLuint program, GLenum programInterface, GLenum pname, GLint *params) |
Convenience function that calls glGetProgramInterfaceiv(program, programInterface, pname, params). | |
GLuint | glGetProgramResourceIndex (GLuint program, GLenum programInterface, const GLchar *name) |
Convenience function that calls glGetProgramResourceIndex(program, programInterface, name). | |
void | glGetProgramResourceName (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name) |
Convenience function that calls glGetProgramResourceName(program, programInterface, index, bufSize, length, name). | |
void | glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params) |
Convenience function that calls glGetProgramResourceiv(program, programInterface, index, propCount, props, bufSize, length, params). | |
GLint | glGetProgramResourceLocation (GLuint program, GLenum programInterface, const GLchar *name) |
Convenience function that calls glGetProgramResourceLocation(program, programInterface, name). | |
void | glUseProgramStages (GLuint pipeline, GLbitfield stages, GLuint program) |
Convenience function that calls glUseProgramStages(pipeline, stages, program). | |
void | glActiveShaderProgram (GLuint pipeline, GLuint program) |
Convenience function that calls glActiveShaderProgram(pipeline, program). | |
GLuint | glCreateShaderProgramv (GLenum type, GLsizei count, const GLchar *const *strings) |
Convenience function that calls glCreateShaderProgramv(type, count, strings). | |
void | glBindProgramPipeline (GLuint pipeline) |
Convenience function that calls glBindProgramPipeline(pipeline). | |
void | glDeleteProgramPipelines (GLsizei n, const GLuint *pipelines) |
Convenience function that calls glDeleteProgramPipelines(n, pipelines). | |
void | glGenProgramPipelines (GLsizei n, GLuint *pipelines) |
Convenience function that calls glGenProgramPipelines(n, pipelines). | |
GLboolean | glIsProgramPipeline (GLuint pipeline) |
Convenience function that calls glIsProgramPipeline(pipeline). | |
void | glGetProgramPipelineiv (GLuint pipeline, GLenum pname, GLint *params) |
Convenience function that calls glGetProgramPipelineiv(pipeline, pname, params). | |
void | glProgramUniform1i (GLuint program, GLint location, GLint v0) |
Convenience function that calls glProgramUniform1i(program, location, v0). | |
void | glProgramUniform2i (GLuint program, GLint location, GLint v0, GLint v1) |
Convenience function that calls glProgramUniform2i(program, location, v0, v1). | |
void | glProgramUniform3i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2) |
Convenience function that calls glProgramUniform3i(program, location, v0, v1, v2). | |
void | glProgramUniform4i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3) |
Convenience function that calls glProgramUniform4i(program, location, v0, v1, v2, v3). | |
void | glProgramUniform1ui (GLuint program, GLint location, GLuint v0) |
Convenience function that calls glProgramUniform1ui(program, location, v0). | |
void | glProgramUniform2ui (GLuint program, GLint location, GLuint v0, GLuint v1) |
Convenience function that calls glProgramUniform2ui(program, location, v0, v1). | |
void | glProgramUniform3ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2) |
Convenience function that calls glProgramUniform3ui(program, location, v0, v1, v2). | |
void | glProgramUniform4ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) |
Convenience function that calls glProgramUniform4ui(program, location, v0, v1, v2, v3). | |
void | glProgramUniform1f (GLuint program, GLint location, GLfloat v0) |
Convenience function that calls glProgramUniform1f(program, location, v0). | |
void | glProgramUniform2f (GLuint program, GLint location, GLfloat v0, GLfloat v1) |
Convenience function that calls glProgramUniform2f(program, location, v0, v1). | |
void | glProgramUniform3f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2) |
Convenience function that calls glProgramUniform3f(program, location, v0, v1, v2). | |
void | glProgramUniform4f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) |
Convenience function that calls glProgramUniform4f(program, location, v0, v1, v2, v3). | |
void | glProgramUniform1iv (GLuint program, GLint location, GLsizei count, const GLint *value) |
Convenience function that calls glProgramUniform1iv(program, location, count, value). | |
void | glProgramUniform2iv (GLuint program, GLint location, GLsizei count, const GLint *value) |
Convenience function that calls glProgramUniform2iv(program, location, count, value). | |
void | glProgramUniform3iv (GLuint program, GLint location, GLsizei count, const GLint *value) |
Convenience function that calls glProgramUniform3iv(program, location, count, value). | |
void | glProgramUniform4iv (GLuint program, GLint location, GLsizei count, const GLint *value) |
Convenience function that calls glProgramUniform4iv(program, location, count, value). | |
void | glProgramUniform1uiv (GLuint program, GLint location, GLsizei count, const GLuint *value) |
Convenience function that calls glProgramUniform1uiv(program, location, count, value). | |
void | glProgramUniform2uiv (GLuint program, GLint location, GLsizei count, const GLuint *value) |
Convenience function that calls glProgramUniform2uiv(program, location, count, value). | |
void | glProgramUniform3uiv (GLuint program, GLint location, GLsizei count, const GLuint *value) |
Convenience function that calls glProgramUniform3uiv(program, location, count, value). | |
void | glProgramUniform4uiv (GLuint program, GLint location, GLsizei count, const GLuint *value) |
Convenience function that calls glProgramUniform4uiv(program, location, count, value). | |
void | glProgramUniform1fv (GLuint program, GLint location, GLsizei count, const GLfloat *value) |
Convenience function that calls glProgramUniform1fv(program, location, count, value). | |
void | glProgramUniform2fv (GLuint program, GLint location, GLsizei count, const GLfloat *value) |
Convenience function that calls glProgramUniform2fv(program, location, count, value). | |
void | glProgramUniform3fv (GLuint program, GLint location, GLsizei count, const GLfloat *value) |
Convenience function that calls glProgramUniform3fv(program, location, count, value). | |
void | glProgramUniform4fv (GLuint program, GLint location, GLsizei count, const GLfloat *value) |
Convenience function that calls glProgramUniform4fv(program, location, count, value). | |
void | glProgramUniformMatrix2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
Convenience function that calls glProgramUniformMatrix2fv(program, location, count, transpose, value). | |
void | glProgramUniformMatrix3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
Convenience function that calls glProgramUniformMatrix3fv(program, location, count, transpose, value). | |
void | glProgramUniformMatrix4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
Convenience function that calls glProgramUniformMatrix4fv(program, location, count, transpose, value). | |
void | glProgramUniformMatrix2x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
Convenience function that calls glProgramUniformMatrix2x3fv(program, location, count, transpose, value). | |
void | glProgramUniformMatrix3x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
Convenience function that calls glProgramUniformMatrix3x2fv(program, location, count, transpose, value). | |
void | glProgramUniformMatrix2x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
Convenience function that calls glProgramUniformMatrix2x4fv(program, location, count, transpose, value). | |
void | glProgramUniformMatrix4x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
Convenience function that calls glProgramUniformMatrix4x2fv(program, location, count, transpose, value). | |
void | glProgramUniformMatrix3x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
Convenience function that calls glProgramUniformMatrix3x4fv(program, location, count, transpose, value). | |
void | glProgramUniformMatrix4x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
Convenience function that calls glProgramUniformMatrix4x3fv(program, location, count, transpose, value). | |
void | glValidateProgramPipeline (GLuint pipeline) |
Convenience function that calls glValidateProgramPipeline(pipeline). | |
void | glGetProgramPipelineInfoLog (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog) |
Convenience function that calls glGetProgramPipelineInfoLog(pipeline, bufSize, length, infoLog). | |
void | glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format) |
Convenience function that calls glBindImageTexture(unit, texture, level, layered, layer, access, format). | |
void | glGetBooleani_v (GLenum target, GLuint index, GLboolean *data) |
Convenience function that calls glGetBooleani_v(target, index, data). | |
void | glMemoryBarrier (GLbitfield barriers) |
Convenience function that calls glMemoryBarrier(barriers). | |
void | glMemoryBarrierByRegion (GLbitfield barriers) |
Convenience function that calls glMemoryBarrierByRegion(barriers). | |
void | glTexStorage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations) |
Convenience function that calls glTexStorage2DMultisample(target, samples, internalformat, width, height, fixedsamplelocations). | |
void | glGetMultisamplefv (GLenum pname, GLuint index, GLfloat *val) |
Convenience function that calls glGetMultisamplefv(pname, index, val). | |
void | glSampleMaski (GLuint maskNumber, GLbitfield mask) |
Convenience function that calls glSampleMaski(maskNumber, mask). | |
void | glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params) |
Convenience function that calls glGetTexLevelParameteriv(target, level, pname, params). | |
void | glGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat *params) |
Convenience function that calls glGetTexLevelParameterfv(target, level, pname, params). | |
void | glBindVertexBuffer (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride) |
Convenience function that calls glBindVertexBuffer(bindingindex, buffer, offset, stride). | |
void | glVertexAttribFormat (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset) |
Convenience function that calls glVertexAttribFormat(attribindex, size, type, normalized, relativeoffset). | |
void | glVertexAttribIFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset) |
Convenience function that calls glVertexAttribIFormat(attribindex, size, type, relativeoffset). | |
void | glVertexAttribBinding (GLuint attribindex, GLuint bindingindex) |
Convenience function that calls glVertexAttribBinding(attribindex, bindingindex). | |
void | glVertexBindingDivisor (GLuint bindingindex, GLuint divisor) |
Convenience function that calls glVertexBindingDivisor(bindingindex, divisor). | |
void | glBlendBarrier (void) |
Convenience function that calls glBlendBarrier(). | |
void | glCopyImageSubData (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth) |
Convenience function that calls glCopyImageSubData(srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth). | |
void | glDebugMessageControl (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled) |
Convenience function that calls glDebugMessageControl(source, type, severity, count, ids, enabled). | |
void | glDebugMessageInsert (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf) |
Convenience function that calls glDebugMessageInsert(source, type, id, severity, length, buf). | |
void | glDebugMessageCallback (GLDEBUGPROC callback, const void *userParam) |
Convenience function that calls glDebugMessageCallback(callback, userParam). | |
GLuint | glGetDebugMessageLog (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog) |
Convenience function that calls glGetDebugMessageLog(count, bufSize, sources, types, ids, severities, lengths, messageLog). | |
void | glPushDebugGroup (GLenum source, GLuint id, GLsizei length, const GLchar *message) |
Convenience function that calls glPushDebugGroup(source, id, length, message). | |
void | glPopDebugGroup (void) |
Convenience function that calls glPopDebugGroup(). | |
void | glObjectLabel (GLenum identifier, GLuint name, GLsizei length, const GLchar *label) |
Convenience function that calls glObjectLabel(identifier, name, length, label). | |
void | glGetObjectLabel (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label) |
Convenience function that calls glGetObjectLabel(identifier, name, bufSize, length, label). | |
void | glObjectPtrLabel (const void *ptr, GLsizei length, const GLchar *label) |
Convenience function that calls glObjectPtrLabel(ptr, length, label). | |
void | glGetObjectPtrLabel (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label) |
Convenience function that calls glGetObjectPtrLabel(ptr, bufSize, length, label). | |
void | glGetPointerv (GLenum pname, void **params) |
Convenience function that calls glGetPointerv(pname, params). | |
void | glEnablei (GLenum target, GLuint index) |
Convenience function that calls glEnablei(target, index). | |
void | glDisablei (GLenum target, GLuint index) |
Convenience function that calls glDisablei(target, index). | |
void | glBlendEquationi (GLuint buf, GLenum mode) |
Convenience function that calls glBlendEquationi(buf, mode). | |
void | glBlendEquationSeparatei (GLuint buf, GLenum modeRGB, GLenum modeAlpha) |
Convenience function that calls glBlendEquationSeparatei(buf, modeRGB, modeAlpha). | |
void | glBlendFunci (GLuint buf, GLenum src, GLenum dst) |
Convenience function that calls glBlendFunci(buf, src, dst). | |
void | glBlendFuncSeparatei (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) |
Convenience function that calls glBlendFuncSeparatei(buf, srcRGB, dstRGB, srcAlpha, dstAlpha). | |
void | glColorMaski (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a) |
Convenience function that calls glColorMaski(index, r, g, b, a). | |
GLboolean | glIsEnabledi (GLenum target, GLuint index) |
Convenience function that calls glIsEnabledi(target, index). | |
void | glDrawElementsBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex) |
Convenience function that calls glDrawElementsBaseVertex(mode, count, type, indices, basevertex). | |
void | glDrawRangeElementsBaseVertex (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex) |
Convenience function that calls glDrawRangeElementsBaseVertex(mode, start, end, count, type, indices, basevertex). | |
void | glDrawElementsInstancedBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex) |
Convenience function that calls glDrawElementsInstancedBaseVertex(mode, count, type, indices, instancecount, basevertex). | |
void | glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level) |
Convenience function that calls glFramebufferTexture(target, attachment, texture, level). | |
void | glPrimitiveBoundingBox (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW) |
Convenience function that calls glPrimitiveBoundingBox(minX, minY, minZ, minW, maxX, maxY, maxZ, maxW). | |
GLenum | glGetGraphicsResetStatus (void) |
Convenience function that calls glGetGraphicsResetStatus(). | |
void | glReadnPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data) |
Convenience function that calls glReadnPixels(x, y, width, height, format, type, bufSize, data). | |
void | glGetnUniformfv (GLuint program, GLint location, GLsizei bufSize, GLfloat *params) |
Convenience function that calls glGetnUniformfv(program, location, bufSize, params). | |
void | glGetnUniformiv (GLuint program, GLint location, GLsizei bufSize, GLint *params) |
Convenience function that calls glGetnUniformiv(program, location, bufSize, params). | |
void | glGetnUniformuiv (GLuint program, GLint location, GLsizei bufSize, GLuint *params) |
Convenience function that calls glGetnUniformuiv(program, location, bufSize, params). | |
void | glMinSampleShading (GLfloat value) |
Convenience function that calls glMinSampleShading(value). | |
void | glPatchParameteri (GLenum pname, GLint value) |
Convenience function that calls glPatchParameteri(pname, value). | |
void | glTexParameterIiv (GLenum target, GLenum pname, const GLint *params) |
Convenience function that calls glTexParameterIiv(target, pname, params). | |
void | glTexParameterIuiv (GLenum target, GLenum pname, const GLuint *params) |
Convenience function that calls glTexParameterIuiv(target, pname, params). | |
void | glGetTexParameterIiv (GLenum target, GLenum pname, GLint *params) |
Convenience function that calls glGetTexParameterIiv(target, pname, params). | |
void | glGetTexParameterIuiv (GLenum target, GLenum pname, GLuint *params) |
Convenience function that calls glGetTexParameterIuiv(target, pname, params). | |
void | glSamplerParameterIiv (GLuint sampler, GLenum pname, const GLint *param) |
Convenience function that calls glSamplerParameterIiv(sampler, pname, param). | |
void | glSamplerParameterIuiv (GLuint sampler, GLenum pname, const GLuint *param) |
Convenience function that calls glSamplerParameterIuiv(sampler, pname, param). | |
void | glGetSamplerParameterIiv (GLuint sampler, GLenum pname, GLint *params) |
Convenience function that calls glGetSamplerParameterIiv(sampler, pname, params). | |
void | glGetSamplerParameterIuiv (GLuint sampler, GLenum pname, GLuint *params) |
Convenience function that calls glGetSamplerParameterIuiv(sampler, pname, params). | |
void | glTexBuffer (GLenum target, GLenum internalformat, GLuint buffer) |
Convenience function that calls glTexBuffer(target, internalformat, buffer). | |
void | glTexBufferRange (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size) |
Convenience function that calls glTexBufferRange(target, internalformat, buffer, offset, size). | |
void | glTexStorage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations) |
Convenience function that calls glTexStorage3DMultisample(target, samples, internalformat, width, height, depth, fixedsamplelocations). | |
![]() | |
QOpenGLFunctions () | |
Constructs a default function resolver. | |
QOpenGLFunctions (QOpenGLContext *context) | |
Constructs a function resolver for context. | |
~QOpenGLFunctions () | |
Destroys this function resolver. | |
QOpenGLFunctions::OpenGLFeatures | openGLFeatures () const |
Returns the set of features that are present on this system's OpenGL implementation. | |
bool | hasOpenGLFeature (QOpenGLFunctions::OpenGLFeature feature) const |
Returns true if feature is present on this system's OpenGL implementation; false otherwise. | |
void | initializeOpenGLFunctions () |
Initializes OpenGL function resolution for the current context. | |
void | glBindTexture (GLenum target, GLuint texture) |
Convenience function that calls glBindTexture(target, texture). | |
void | glBlendFunc (GLenum sfactor, GLenum dfactor) |
Convenience function that calls glBlendFunc(sfactor, dfactor). | |
void | glClear (GLbitfield mask) |
Convenience function that calls glClear(mask). | |
void | glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) |
Convenience function that calls glClearColor(red, green, blue, alpha). | |
void | glClearStencil (GLint s) |
Convenience function that calls glClearStencil(s). | |
void | glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) |
Convenience function that calls glColorMask(red, green, blue, alpha). | |
void | glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) |
Convenience function that calls glCopyTexImage2D(target, level, internalformat, x, y, width, height, border). | |
void | glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) |
Convenience function that calls glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height). | |
void | glCullFace (GLenum mode) |
Convenience function that calls glCullFace(mode). | |
void | glDeleteTextures (GLsizei n, const GLuint *textures) |
Convenience function that calls glDeleteTextures(n, textures). | |
void | glDepthFunc (GLenum func) |
Convenience function that calls glDepthFunc(func). | |
void | glDepthMask (GLboolean flag) |
Convenience function that calls glDepthMask(flag). | |
void | glDisable (GLenum cap) |
Convenience function that calls glDisable(cap). | |
void | glDrawArrays (GLenum mode, GLint first, GLsizei count) |
Convenience function that calls glDrawArrays(mode, first, count). | |
void | glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) |
Convenience function that calls glDrawElements(mode, count, type, indices). | |
void | glEnable (GLenum cap) |
Convenience function that calls glEnable(cap). | |
void | glFinish () |
Convenience function that calls glFinish(). | |
void | glFlush () |
Convenience function that calls glFlush(). | |
void | glFrontFace (GLenum mode) |
Convenience function that calls glFrontFace(mode). | |
void | glGenTextures (GLsizei n, GLuint *textures) |
Convenience function that calls glGenTextures(n, textures). | |
void | glGetBooleanv (GLenum pname, GLboolean *params) |
Convenience function that calls glGetBooleanv(pname, params). | |
GLenum | glGetError () |
Convenience function that calls glGetError(). | |
void | glGetFloatv (GLenum pname, GLfloat *params) |
Convenience function that calls glGetFloatv(pname, params). | |
void | glGetIntegerv (GLenum pname, GLint *params) |
Convenience function that calls glGetIntegerv(pname, params). | |
const GLubyte * | glGetString (GLenum name) |
Convenience function that calls glGetString(name). | |
void | glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params) |
Convenience function that calls glGetTexParameterfv(target, pname, params). | |
void | glGetTexParameteriv (GLenum target, GLenum pname, GLint *params) |
Convenience function that calls glGetTexParameteriv(target, pname, params). | |
void | glHint (GLenum target, GLenum mode) |
Convenience function that calls glHint(target, mode). | |
GLboolean | glIsEnabled (GLenum cap) |
Convenience function that calls glIsEnabled(cap). | |
GLboolean | glIsTexture (GLuint texture) |
Convenience function that calls glIsTexture(texture). | |
void | glLineWidth (GLfloat width) |
Convenience function that calls glLineWidth(width). | |
void | glPixelStorei (GLenum pname, GLint param) |
Convenience function that calls glPixelStorei(pname, param). | |
void | glPolygonOffset (GLfloat factor, GLfloat units) |
Convenience function that calls glPolygonOffset(factor, units). | |
void | glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels) |
Convenience function that calls glReadPixels(x, y, width, height, format, type, pixels). | |
void | glScissor (GLint x, GLint y, GLsizei width, GLsizei height) |
Convenience function that calls glScissor(x, y, width, height). | |
void | glStencilFunc (GLenum func, GLint ref, GLuint mask) |
Convenience function that calls glStencilFunc(func, ref, mask). | |
void | glStencilMask (GLuint mask) |
Convenience function that calls glStencilMask(mask). | |
void | glStencilOp (GLenum fail, GLenum zfail, GLenum zpass) |
Convenience function that calls glStencilOp(fail, zfail, zpass). | |
void | glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
Convenience function that calls glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels). | |
void | glTexParameterf (GLenum target, GLenum pname, GLfloat param) |
Convenience function that calls glTexParameterf(target, pname, param). | |
void | glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params) |
Convenience function that calls glTexParameterfv(target, pname, params). | |
void | glTexParameteri (GLenum target, GLenum pname, GLint param) |
Convenience function that calls glTexParameteri(target, pname, param). | |
void | glTexParameteriv (GLenum target, GLenum pname, const GLint *params) |
Convenience function that calls glTexParameteriv(target, pname, params). | |
void | glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) |
Convenience function that calls glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels). | |
void | glViewport (GLint x, GLint y, GLsizei width, GLsizei height) |
Convenience function that calls glViewport(x, y, width, height). | |
void | glActiveTexture (GLenum texture) |
Convenience function that calls glActiveTexture(texture). | |
void | glAttachShader (GLuint program, GLuint shader) |
Convenience function that calls glAttachShader(program, shader). | |
void | glBindAttribLocation (GLuint program, GLuint index, const char *name) |
Convenience function that calls glBindAttribLocation(program, index, name). | |
void | glBindBuffer (GLenum target, GLuint buffer) |
Convenience function that calls glBindBuffer(target, buffer). | |
void | glBindFramebuffer (GLenum target, GLuint framebuffer) |
Convenience function that calls glBindFramebuffer(target, framebuffer). | |
void | glBindRenderbuffer (GLenum target, GLuint renderbuffer) |
Convenience function that calls glBindRenderbuffer(target, renderbuffer). | |
void | glBlendColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) |
Convenience function that calls glBlendColor(red, green, blue, alpha). | |
void | glBlendEquation (GLenum mode) |
Convenience function that calls glBlendEquation(mode). | |
void | glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha) |
Convenience function that calls glBlendEquationSeparate(modeRGB, modeAlpha). | |
void | glBlendFuncSeparate (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) |
Convenience function that calls glBlendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha). | |
void | glBufferData (GLenum target, qopengl_GLsizeiptr size, const void *data, GLenum usage) |
Convenience function that calls glBufferData(target, size, data, usage). | |
void | glBufferSubData (GLenum target, qopengl_GLintptr offset, qopengl_GLsizeiptr size, const void *data) |
Convenience function that calls glBufferSubData(target, offset, size, data). | |
GLenum | glCheckFramebufferStatus (GLenum target) |
Convenience function that calls glCheckFramebufferStatus(target). | |
void | glClearDepthf (GLclampf depth) |
Convenience function that calls glClearDepth(depth) on desktop OpenGL systems and glClearDepthf(depth) on embedded OpenGL ES systems. | |
void | glCompileShader (GLuint shader) |
Convenience function that calls glCompileShader(shader). | |
void | glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data) |
Convenience function that calls glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data). | |
void | glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data) |
Convenience function that calls glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data). | |
GLuint | glCreateProgram () |
Convenience function that calls glCreateProgram(). | |
GLuint | glCreateShader (GLenum type) |
Convenience function that calls glCreateShader(type). | |
void | glDeleteBuffers (GLsizei n, const GLuint *buffers) |
Convenience function that calls glDeleteBuffers(n, buffers). | |
void | glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers) |
Convenience function that calls glDeleteFramebuffers(n, framebuffers). | |
void | glDeleteProgram (GLuint program) |
Convenience function that calls glDeleteProgram(program). | |
void | glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers) |
Convenience function that calls glDeleteRenderbuffers(n, renderbuffers). | |
void | glDeleteShader (GLuint shader) |
Convenience function that calls glDeleteShader(shader). | |
void | glDepthRangef (GLclampf zNear, GLclampf zFar) |
Convenience function that calls glDepthRange(zNear, zFar) on desktop OpenGL systems and glDepthRangef(zNear, zFar) on embedded OpenGL ES systems. | |
void | glDetachShader (GLuint program, GLuint shader) |
Convenience function that calls glDetachShader(program, shader). | |
void | glDisableVertexAttribArray (GLuint index) |
Convenience function that calls glDisableVertexAttribArray(index). | |
void | glEnableVertexAttribArray (GLuint index) |
Convenience function that calls glEnableVertexAttribArray(index). | |
void | glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) |
Convenience function that calls glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer). | |
void | glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) |
Convenience function that calls glFramebufferTexture2D(target, attachment, textarget, texture, level). | |
void | glGenBuffers (GLsizei n, GLuint *buffers) |
Convenience function that calls glGenBuffers(n, buffers). | |
void | glGenerateMipmap (GLenum target) |
Convenience function that calls glGenerateMipmap(target). | |
void | glGenFramebuffers (GLsizei n, GLuint *framebuffers) |
Convenience function that calls glGenFramebuffers(n, framebuffers). | |
void | glGenRenderbuffers (GLsizei n, GLuint *renderbuffers) |
Convenience function that calls glGenRenderbuffers(n, renderbuffers). | |
void | glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name) |
Convenience function that calls glGetActiveAttrib(program, index, bufsize, length, size, type, name). | |
void | glGetActiveUniform (GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name) |
Convenience function that calls glGetActiveUniform(program, index, bufsize, length, size, type, name). | |
void | glGetAttachedShaders (GLuint program, GLsizei maxcount, GLsizei *count, GLuint *shaders) |
Convenience function that calls glGetAttachedShaders(program, maxcount, count, shaders). | |
GLint | glGetAttribLocation (GLuint program, const char *name) |
Convenience function that calls glGetAttribLocation(program, name). | |
void | glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params) |
Convenience function that calls glGetBufferParameteriv(target, pname, params). | |
void | glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params) |
Convenience function that calls glGetFramebufferAttachmentParameteriv(target, attachment, pname, params). | |
void | glGetProgramiv (GLuint program, GLenum pname, GLint *params) |
Convenience function that calls glGetProgramiv(program, pname, params). | |
void | glGetProgramInfoLog (GLuint program, GLsizei bufsize, GLsizei *length, char *infolog) |
Convenience function that calls glGetProgramInfoLog(program, bufsize, length, infolog). | |
void | glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params) |
Convenience function that calls glGetRenderbufferParameteriv(target, pname, params). | |
void | glGetShaderiv (GLuint shader, GLenum pname, GLint *params) |
Convenience function that calls glGetShaderiv(shader, pname, params). | |
void | glGetShaderInfoLog (GLuint shader, GLsizei bufsize, GLsizei *length, char *infolog) |
Convenience function that calls glGetShaderInfoLog(shader, bufsize, length, infolog). | |
void | glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision) |
Convenience function that calls glGetShaderPrecisionFormat(shadertype, precisiontype, range, precision). | |
void | glGetShaderSource (GLuint shader, GLsizei bufsize, GLsizei *length, char *source) |
Convenience function that calls glGetShaderSource(shader, bufsize, length, source). | |
void | glGetUniformfv (GLuint program, GLint location, GLfloat *params) |
Convenience function that calls glGetUniformfv(program, location, params). | |
void | glGetUniformiv (GLuint program, GLint location, GLint *params) |
Convenience function that calls glGetUniformiv(program, location, params). | |
GLint | glGetUniformLocation (GLuint program, const char *name) |
Convenience function that calls glGetUniformLocation(program, name). | |
void | glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params) |
Convenience function that calls glGetVertexAttribfv(index, pname, params). | |
void | glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params) |
Convenience function that calls glGetVertexAttribiv(index, pname, params). | |
void | glGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer) |
Convenience function that calls glGetVertexAttribPointerv(index, pname, pointer). | |
GLboolean | glIsBuffer (GLuint buffer) |
Convenience function that calls glIsBuffer(buffer). | |
GLboolean | glIsFramebuffer (GLuint framebuffer) |
Convenience function that calls glIsFramebuffer(framebuffer). | |
GLboolean | glIsProgram (GLuint program) |
Convenience function that calls glIsProgram(program). | |
GLboolean | glIsRenderbuffer (GLuint renderbuffer) |
Convenience function that calls glIsRenderbuffer(renderbuffer). | |
GLboolean | glIsShader (GLuint shader) |
Convenience function that calls glIsShader(shader). | |
void | glLinkProgram (GLuint program) |
Convenience function that calls glLinkProgram(program). | |
void | glReleaseShaderCompiler () |
Convenience function that calls glReleaseShaderCompiler(). | |
void | glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height) |
Convenience function that calls glRenderbufferStorage(target, internalformat, width, height). | |
void | glSampleCoverage (GLclampf value, GLboolean invert) |
Convenience function that calls glSampleCoverage(value, invert). | |
void | glShaderBinary (GLint n, const GLuint *shaders, GLenum binaryformat, const void *binary, GLint length) |
Convenience function that calls glShaderBinary(n, shaders, binaryformat, binary, length). | |
void | glShaderSource (GLuint shader, GLsizei count, const char **string, const GLint *length) |
Convenience function that calls glShaderSource(shader, count, string, length). | |
void | glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask) |
Convenience function that calls glStencilFuncSeparate(face, func, ref, mask). | |
void | glStencilMaskSeparate (GLenum face, GLuint mask) |
Convenience function that calls glStencilMaskSeparate(face, mask). | |
void | glStencilOpSeparate (GLenum face, GLenum fail, GLenum zfail, GLenum zpass) |
Convenience function that calls glStencilOpSeparate(face, fail, zfail, zpass). | |
void | glUniform1f (GLint location, GLfloat x) |
Convenience function that calls glUniform1f(location, x). | |
void | glUniform1fv (GLint location, GLsizei count, const GLfloat *v) |
Convenience function that calls glUniform1fv(location, count, v). | |
void | glUniform1i (GLint location, GLint x) |
Convenience function that calls glUniform1i(location, x). | |
void | glUniform1iv (GLint location, GLsizei count, const GLint *v) |
Convenience function that calls glUniform1iv(location, count, v). | |
void | glUniform2f (GLint location, GLfloat x, GLfloat y) |
Convenience function that calls glUniform2f(location, x, y). | |
void | glUniform2fv (GLint location, GLsizei count, const GLfloat *v) |
Convenience function that calls glUniform2fv(location, count, v). | |
void | glUniform2i (GLint location, GLint x, GLint y) |
Convenience function that calls glUniform2i(location, x, y). | |
void | glUniform2iv (GLint location, GLsizei count, const GLint *v) |
Convenience function that calls glUniform2iv(location, count, v). | |
void | glUniform3f (GLint location, GLfloat x, GLfloat y, GLfloat z) |
Convenience function that calls glUniform3f(location, x, y, z). | |
void | glUniform3fv (GLint location, GLsizei count, const GLfloat *v) |
Convenience function that calls glUniform3fv(location, count, v). | |
void | glUniform3i (GLint location, GLint x, GLint y, GLint z) |
Convenience function that calls glUniform3i(location, x, y, z). | |
void | glUniform3iv (GLint location, GLsizei count, const GLint *v) |
Convenience function that calls glUniform3iv(location, count, v). | |
void | glUniform4f (GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
Convenience function that calls glUniform4f(location, x, y, z, w). | |
void | glUniform4fv (GLint location, GLsizei count, const GLfloat *v) |
Convenience function that calls glUniform4fv(location, count, v). | |
void | glUniform4i (GLint location, GLint x, GLint y, GLint z, GLint w) |
Convenience function that calls glUniform4i(location, x, y, z, w). | |
void | glUniform4iv (GLint location, GLsizei count, const GLint *v) |
Convenience function that calls glUniform4iv(location, count, v). | |
void | glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
Convenience function that calls glUniformMatrix2fv(location, count, transpose, value). | |
void | glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
Convenience function that calls glUniformMatrix3fv(location, count, transpose, value). | |
void | glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
Convenience function that calls glUniformMatrix4fv(location, count, transpose, value). | |
void | glUseProgram (GLuint program) |
Convenience function that calls glUseProgram(program). | |
void | glValidateProgram (GLuint program) |
Convenience function that calls glValidateProgram(program). | |
void | glVertexAttrib1f (GLuint indx, GLfloat x) |
Convenience function that calls glVertexAttrib1f(indx, x). | |
void | glVertexAttrib1fv (GLuint indx, const GLfloat *values) |
Convenience function that calls glVertexAttrib1fv(indx, values). | |
void | glVertexAttrib2f (GLuint indx, GLfloat x, GLfloat y) |
Convenience function that calls glVertexAttrib2f(indx, x, y). | |
void | glVertexAttrib2fv (GLuint indx, const GLfloat *values) |
Convenience function that calls glVertexAttrib2fv(indx, values). | |
void | glVertexAttrib3f (GLuint indx, GLfloat x, GLfloat y, GLfloat z) |
Convenience function that calls glVertexAttrib3f(indx, x, y, z). | |
void | glVertexAttrib3fv (GLuint indx, const GLfloat *values) |
Convenience function that calls glVertexAttrib3fv(indx, values). | |
void | glVertexAttrib4f (GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
Convenience function that calls glVertexAttrib4f(indx, x, y, z, w). | |
void | glVertexAttrib4fv (GLuint indx, const GLfloat *values) |
Convenience function that calls glVertexAttrib4fv(indx, values). | |
void | glVertexAttribPointer (GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *ptr) |
Convenience function that calls glVertexAttribPointer(indx, size, type, normalized, stride, ptr). | |
Additional Inherited Members | |
![]() | |
static bool | isInitialized (const QOpenGLFunctionsPrivate *d) |
![]() | |
QOpenGLFunctionsPrivate * | d_ptr |
Definition at line 25 of file qopenglextensions_p.h.
Definition at line 33 of file qopenglextensions_p.h.
QOpenGLExtensions::QOpenGLExtensions | ( | ) |
Definition at line 195 of file qopenglfunctions.cpp.
QOpenGLExtensions::QOpenGLExtensions | ( | QOpenGLContext * | context | ) |
Definition at line 199 of file qopenglfunctions.cpp.
|
inline |
Definition at line 31 of file qopenglextensions_p.h.
|
inline |
Definition at line 98 of file qopenglextensions_p.h.
References QOpenGLFunctions::d_ptr.
Referenced by flushShared(), glDiscardFramebufferEXT(), glGetBufferSubData(), glMapBuffer(), hasOpenGLExtension(), and openGLExtensions().
void QOpenGLExtensions::flushShared | ( | ) |
Definition at line 5056 of file qopenglfunctions.cpp.
References d(), QOpenGLExtensionsPrivate::flushIsSufficientToSyncContexts, QOpenGLExtensionsPrivate::flushVendorChecked, QOpenGLFunctions::glFinish(), QOpenGLFunctions::glFlush(), QOpenGLFunctions::glGetString(), and i.
|
inline |
Definition at line 121 of file qopenglextensions_p.h.
References d(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
|
inline |
Definition at line 112 of file qopenglextensions_p.h.
References d(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
Definition at line 103 of file qopenglextensions_p.h.
References d(), QOpenGLExtensionsPrivate::MapBuffer(), Q_ASSERT, and Q_OPENGL_FUNCTIONS_DEBUG.
bool QOpenGLExtensions::hasOpenGLExtension | ( | QOpenGLExtensions::OpenGLExtension | extension | ) | const |
Returns true
if extension is present on this system's OpenGL implementation; false otherwise.
It is assumed that the QOpenGLContext associated with this extension resolver is current.
Definition at line 536 of file qopenglfunctions.cpp.
References d(), QOpenGLFunctions::d_ptr, extension(), and qt_gl_resolve_extensions().
Referenced by QOpenGLFramebufferObject::blitFramebuffer(), QOpenGL2PaintEngineExPrivate::fill(), QOpenGLFramebufferObject::hasOpenGLFramebufferBlit(), QOpenGLFramebufferObjectPrivate::initColorBuffer(), QOpenGLFramebufferObjectPrivate::initDepthStencilAttachments(), Q_TRACE_INSTRUMENT(), and QOpenGLWidgetPrivate::recreateFbos().
QOpenGLExtensions::OpenGLExtensions QOpenGLExtensions::openGLExtensions | ( | ) |
Returns the set of extensions that are present on this system's OpenGL implementation.
It is assumed that the QOpenGLContext associated with this extension resolver is current.
Definition at line 517 of file qopenglfunctions.cpp.
References d(), QOpenGLFunctions::d_ptr, and qt_gl_resolve_extensions().