#[repr(C)]
pub struct QOpenGLExtraFunctions { /* private fields */ }
Expand description

The QOpenGLExtraFunctions class provides cross-platform access to the OpenGL ES 3.0 and 3.1 API.

C++ class: QOpenGLExtraFunctions.

C++ documentation:

The QOpenGLExtraFunctions class provides cross-platform access to the OpenGL ES 3.0 and 3.1 API.

This subclass of QOpenGLFunctions includes the OpenGL ES 3.0 and 3.1 functions. These will only work when an OpenGL ES 3.0 or 3.1 context, or an OpenGL context of a version containing the functions in question either in core or as extension, is in use. This allows developing GLES 3.0 and 3.1 applications in a cross-platform manner: development can happen on a desktop platform with OpenGL 3.x or 4.x, deploying to a real GLES 3.1 device later on will require no or minimal changes to the application.

Note: This class is different from the versioned OpenGL wrappers, for instance QOpenGLFunctions_3_2_Core. The versioned function wrappers target a given version and profile of OpenGL. They are therefore not suitable for cross-OpenGL-OpenGLES development.

Implementations§

source§

impl QOpenGLExtraFunctions

source

pub unsafe fn copy_from( &self, other: impl CastInto<Ref<QOpenGLExtraFunctions>> ) -> Ref<QOpenGLExtraFunctions>

The QOpenGLExtraFunctions class provides cross-platform access to the OpenGL ES 3.0 and 3.1 API.

Calls C++ function: QOpenGLExtraFunctions& QOpenGLExtraFunctions::operator=(const QOpenGLExtraFunctions& other).

C++ documentation:

The QOpenGLExtraFunctions class provides cross-platform access to the OpenGL ES 3.0 and 3.1 API.

This subclass of QOpenGLFunctions includes the OpenGL ES 3.0 and 3.1 functions. These will only work when an OpenGL ES 3.0 or 3.1 context, or an OpenGL context of a version containing the functions in question either in core or as extension, is in use. This allows developing GLES 3.0 and 3.1 applications in a cross-platform manner: development can happen on a desktop platform with OpenGL 3.x or 4.x, deploying to a real GLES 3.1 device later on will require no or minimal changes to the application.

Note: This class is different from the versioned OpenGL wrappers, for instance QOpenGLFunctions_3_2_Core. The versioned function wrappers target a given version and profile of OpenGL. They are therefore not suitable for cross-OpenGL-OpenGLES development.

source

pub unsafe fn gl_active_shader_program(&self, pipeline: u32, program: u32)

Convenience function that calls glActiveShaderProgram(pipeline, program).

Calls C++ function: void QOpenGLExtraFunctions::glActiveShaderProgram(GLuint pipeline, GLuint program).

C++ documentation:

Convenience function that calls glActiveShaderProgram(pipeline, program).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glActiveShaderProgram().

source

pub unsafe fn gl_begin_query(&self, target: c_uint, id: u32)

Convenience function that calls glBeginQuery(target, id).

Calls C++ function: void QOpenGLExtraFunctions::glBeginQuery(unsigned int target, GLuint id).

C++ documentation:

Convenience function that calls glBeginQuery(target, id).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glBeginQuery().

source

pub unsafe fn gl_begin_transform_feedback(&self, primitive_mode: c_uint)

Convenience function that calls glBeginTransformFeedback(primitiveMode).

Calls C++ function: void QOpenGLExtraFunctions::glBeginTransformFeedback(unsigned int primitiveMode).

C++ documentation:

Convenience function that calls glBeginTransformFeedback(primitiveMode).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glBeginTransformFeedback().

source

pub unsafe fn gl_bind_buffer_base( &self, target: c_uint, index: u32, buffer: u32 )

Convenience function that calls glBindBufferBase(target, index, buffer).

Calls C++ function: void QOpenGLExtraFunctions::glBindBufferBase(unsigned int target, GLuint index, GLuint buffer).

C++ documentation:

Convenience function that calls glBindBufferBase(target, index, buffer).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glBindBufferBase().

source

pub unsafe fn gl_bind_buffer_range( &self, target: c_uint, index: u32, buffer: u32, offset: c_long, size: c_long )

Convenience function that calls glBindBufferRange(target, index, buffer, offset, size).

Calls C++ function: void QOpenGLExtraFunctions::glBindBufferRange(unsigned int target, GLuint index, GLuint buffer, long offset, long size).

C++ documentation:

Convenience function that calls glBindBufferRange(target, index, buffer, offset, size).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glBindBufferRange().

source

pub unsafe fn gl_bind_image_texture( &self, unit: u32, texture: u32, level: i32, layered: c_uchar, layer: i32, access: c_uint, format: c_uint )

Convenience function that calls glBindImageTexture(unit, texture, level, layered, layer, access, format).

Calls C++ function: void QOpenGLExtraFunctions::glBindImageTexture(GLuint unit, GLuint texture, GLint level, unsigned char layered, GLint layer, unsigned int access, unsigned int format).

C++ documentation:

Convenience function that calls glBindImageTexture(unit, texture, level, layered, layer, access, format).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glBindImageTexture().

source

pub unsafe fn gl_bind_program_pipeline(&self, pipeline: u32)

Convenience function that calls glBindProgramPipeline(pipeline).

Calls C++ function: void QOpenGLExtraFunctions::glBindProgramPipeline(GLuint pipeline).

C++ documentation:

Convenience function that calls glBindProgramPipeline(pipeline).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glBindProgramPipeline().

source

pub unsafe fn gl_bind_sampler(&self, unit: u32, sampler: u32)

Convenience function that calls glBindSampler(unit, sampler).

Calls C++ function: void QOpenGLExtraFunctions::glBindSampler(GLuint unit, GLuint sampler).

C++ documentation:

Convenience function that calls glBindSampler(unit, sampler).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glBindSampler().

source

pub unsafe fn gl_bind_transform_feedback(&self, target: c_uint, id: u32)

Convenience function that calls glBindTransformFeedback(target, id).

Calls C++ function: void QOpenGLExtraFunctions::glBindTransformFeedback(unsigned int target, GLuint id).

C++ documentation:

Convenience function that calls glBindTransformFeedback(target, id).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glBindTransformFeedback().

source

pub unsafe fn gl_bind_vertex_array(&self, array: u32)

Convenience function that calls glBindVertexArray(array).

Calls C++ function: void QOpenGLExtraFunctions::glBindVertexArray(GLuint array).

C++ documentation:

Convenience function that calls glBindVertexArray(array).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glBindVertexArray().

source

pub unsafe fn gl_bind_vertex_buffer( &self, bindingindex: u32, buffer: u32, offset: c_long, stride: c_int )

Convenience function that calls glBindVertexBuffer(bindingindex, buffer, offset, stride).

Calls C++ function: void QOpenGLExtraFunctions::glBindVertexBuffer(GLuint bindingindex, GLuint buffer, long offset, int stride).

C++ documentation:

Convenience function that calls glBindVertexBuffer(bindingindex, buffer, offset, stride).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glBindVertexBuffer().

source

pub unsafe fn gl_blend_barrier(&self)

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glBlendBarrier().

Calls C++ function: void QOpenGLExtraFunctions::glBlendBarrier().

C++ documentation:

Convenience function that calls glBlendBarrier().

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glBlendBarrier().

source

pub unsafe fn gl_blend_equation_separatei( &self, buf: u32, mode_r_g_b: c_uint, mode_alpha: c_uint )

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glBlendEquationSeparatei(buf, modeRGB, modeAlpha).

Calls C++ function: void QOpenGLExtraFunctions::glBlendEquationSeparatei(GLuint buf, unsigned int modeRGB, unsigned int modeAlpha).

C++ documentation:

Convenience function that calls glBlendEquationSeparatei(buf, modeRGB, modeAlpha).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glBlendEquationSeparatei().

source

pub unsafe fn gl_blend_equationi(&self, buf: u32, mode: c_uint)

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glBlendEquationi(buf, mode).

Calls C++ function: void QOpenGLExtraFunctions::glBlendEquationi(GLuint buf, unsigned int mode).

C++ documentation:

Convenience function that calls glBlendEquationi(buf, mode).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glBlendEquationi().

source

pub unsafe fn gl_blend_func_separatei( &self, buf: u32, src_r_g_b: c_uint, dst_r_g_b: c_uint, src_alpha: c_uint, dst_alpha: c_uint )

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glBlendFuncSeparatei(buf, srcRGB, dstRGB, srcAlpha, dstAlpha).

Calls C++ function: void QOpenGLExtraFunctions::glBlendFuncSeparatei(GLuint buf, unsigned int srcRGB, unsigned int dstRGB, unsigned int srcAlpha, unsigned int dstAlpha).

C++ documentation:

Convenience function that calls glBlendFuncSeparatei(buf, srcRGB, dstRGB, srcAlpha, dstAlpha).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glBlendFuncSeparatei().

source

pub unsafe fn gl_blend_funci(&self, buf: u32, src: c_uint, dst: c_uint)

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glBlendFunci(buf, src, dst).

Calls C++ function: void QOpenGLExtraFunctions::glBlendFunci(GLuint buf, unsigned int src, unsigned int dst).

C++ documentation:

Convenience function that calls glBlendFunci(buf, src, dst).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glBlendFunci().

source

pub unsafe fn gl_blit_framebuffer( &self, src_x0: i32, src_y0: i32, src_x1: i32, src_y1: i32, dst_x0: i32, dst_y0: i32, dst_x1: i32, dst_y1: i32, mask: c_uint, filter: c_uint )

Convenience function that calls glBlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter).

Calls C++ function: void QOpenGLExtraFunctions::glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, unsigned int mask, unsigned int filter).

C++ documentation:

Convenience function that calls glBlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glBlitFramebuffer().

source

pub unsafe fn gl_clear_bufferfi( &self, buffer: c_uint, drawbuffer: i32, depth: c_float, stencil: i32 )

Convenience function that calls glClearBufferfi(buffer, drawbuffer, depth, stencil).

Calls C++ function: void QOpenGLExtraFunctions::glClearBufferfi(unsigned int buffer, GLint drawbuffer, float depth, GLint stencil).

C++ documentation:

Convenience function that calls glClearBufferfi(buffer, drawbuffer, depth, stencil).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glClearBufferfi().

source

pub unsafe fn gl_clear_bufferfv( &self, buffer: c_uint, drawbuffer: i32, value: *const c_float )

Convenience function that calls glClearBufferfv(buffer, drawbuffer, value).

Calls C++ function: void QOpenGLExtraFunctions::glClearBufferfv(unsigned int buffer, GLint drawbuffer, const float* value).

C++ documentation:

Convenience function that calls glClearBufferfv(buffer, drawbuffer, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glClearBufferfv().

source

pub unsafe fn gl_clear_bufferiv( &self, buffer: c_uint, drawbuffer: i32, value: *const i32 )

Convenience function that calls glClearBufferiv(buffer, drawbuffer, value).

Calls C++ function: void QOpenGLExtraFunctions::glClearBufferiv(unsigned int buffer, GLint drawbuffer, const GLint* value).

C++ documentation:

Convenience function that calls glClearBufferiv(buffer, drawbuffer, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glClearBufferiv().

source

pub unsafe fn gl_clear_bufferuiv( &self, buffer: c_uint, drawbuffer: i32, value: *const u32 )

Convenience function that calls glClearBufferuiv(buffer, drawbuffer, value).

Calls C++ function: void QOpenGLExtraFunctions::glClearBufferuiv(unsigned int buffer, GLint drawbuffer, const GLuint* value).

C++ documentation:

Convenience function that calls glClearBufferuiv(buffer, drawbuffer, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glClearBufferuiv().

source

pub unsafe fn gl_color_maski( &self, index: u32, r: c_uchar, g: c_uchar, b: c_uchar, a: c_uchar )

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glColorMaski(index, r, g, b, a).

Calls C++ function: void QOpenGLExtraFunctions::glColorMaski(GLuint index, unsigned char r, unsigned char g, unsigned char b, unsigned char a).

C++ documentation:

Convenience function that calls glColorMaski(index, r, g, b, a).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glColorMaski().

source

pub unsafe fn gl_compressed_tex_image_3d( &self, target: c_uint, level: i32, internalformat: c_uint, width: c_int, height: c_int, depth: c_int, border: i32, image_size: c_int, data: *const c_void )

Convenience function that calls glCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data).

Calls C++ function: void QOpenGLExtraFunctions::glCompressedTexImage3D(unsigned int target, GLint level, unsigned int internalformat, int width, int height, int depth, GLint border, int imageSize, const void* data).

C++ documentation:

Convenience function that calls glCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glCompressedTexImage3D().

source

pub unsafe fn gl_compressed_tex_sub_image_3d( &self, target: c_uint, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: c_int, height: c_int, depth: c_int, format: c_uint, image_size: c_int, data: *const c_void )

Convenience function that calls glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data).

Calls C++ function: void QOpenGLExtraFunctions::glCompressedTexSubImage3D(unsigned int target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, int width, int height, int depth, unsigned int format, int imageSize, const void* data).

C++ documentation:

Convenience function that calls glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glCompressedTexSubImage3D().

source

pub unsafe fn gl_copy_buffer_sub_data( &self, read_target: c_uint, write_target: c_uint, read_offset: c_long, write_offset: c_long, size: c_long )

Convenience function that calls glCopyBufferSubData(readTarget, writeTarget, readOffset, writeOffset, size).

Calls C++ function: void QOpenGLExtraFunctions::glCopyBufferSubData(unsigned int readTarget, unsigned int writeTarget, long readOffset, long writeOffset, long size).

C++ documentation:

Convenience function that calls glCopyBufferSubData(readTarget, writeTarget, readOffset, writeOffset, size).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glCopyBufferSubData().

source

pub unsafe fn gl_copy_image_sub_data( &self, src_name: u32, src_target: c_uint, src_level: i32, src_x: i32, src_y: i32, src_z: i32, dst_name: u32, dst_target: c_uint, dst_level: i32, dst_x: i32, dst_y: i32, dst_z: i32, src_width: c_int, src_height: c_int, src_depth: c_int )

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glCopyImageSubData(srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth).

Calls C++ function: void QOpenGLExtraFunctions::glCopyImageSubData(GLuint srcName, unsigned int srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, unsigned int dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, int srcWidth, int srcHeight, int srcDepth).

C++ documentation:

Convenience function that calls glCopyImageSubData(srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glCopyImageSubData().

source

pub unsafe fn gl_copy_tex_sub_image_3d( &self, target: c_uint, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, x: i32, y: i32, width: c_int, height: c_int )

Convenience function that calls glCopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height).

Calls C++ function: void QOpenGLExtraFunctions::glCopyTexSubImage3D(unsigned int target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, int width, int height).

C++ documentation:

Convenience function that calls glCopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glCopyTexSubImage3D().

source

pub unsafe fn gl_create_shader_programv( &self, type_: c_uint, count: c_int, strings: *const *const c_char ) -> u32

Convenience function that calls glCreateShaderProgramv(type, count, strings).

Calls C++ function: GLuint QOpenGLExtraFunctions::glCreateShaderProgramv(unsigned int type, int count, const const char** strings).

C++ documentation:

Convenience function that calls glCreateShaderProgramv(type, count, strings).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glCreateShaderProgramv().

source

pub unsafe fn gl_debug_message_callback( &self, callback: Option<extern "C" fn(_: c_uint, _: c_uint, _: c_uint, _: c_uint, _: c_int, _: *const c_char, _: *const c_void)>, user_param: *const c_void )

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glDebugMessageCallback(callback, userParam).

Calls C++ function: void QOpenGLExtraFunctions::glDebugMessageCallback(void (*FN_PTR)(unsigned int, unsigned int, unsigned int, unsigned int, int, char const *, void const *) callback, const void* userParam).

C++ documentation:

Convenience function that calls glDebugMessageCallback(callback, userParam).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glDebugMessageCallback().

source

pub unsafe fn gl_debug_message_control( &self, source: c_uint, type_: c_uint, severity: c_uint, count: c_int, ids: *const u32, enabled: c_uchar )

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glDebugMessageControl(source, type, severity, count, ids, enabled).

Calls C++ function: void QOpenGLExtraFunctions::glDebugMessageControl(unsigned int source, unsigned int type, unsigned int severity, int count, const GLuint* ids, unsigned char enabled).

C++ documentation:

Convenience function that calls glDebugMessageControl(source, type, severity, count, ids, enabled).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glDebugMessageContro().

source

pub unsafe fn gl_debug_message_insert( &self, source: c_uint, type_: c_uint, id: u32, severity: c_uint, length: c_int, buf: *const c_char )

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glDebugMessageInsert(source, type, id, severity, length, buf).

Calls C++ function: void QOpenGLExtraFunctions::glDebugMessageInsert(unsigned int source, unsigned int type, GLuint id, unsigned int severity, int length, const char* buf).

C++ documentation:

Convenience function that calls glDebugMessageInsert(source, type, id, severity, length, buf).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glDebugMessageInsert().

source

pub unsafe fn gl_delete_program_pipelines( &self, n: c_int, pipelines: *const u32 )

Convenience function that calls glDeleteProgramPipelines(n, pipelines).

Calls C++ function: void QOpenGLExtraFunctions::glDeleteProgramPipelines(int n, const GLuint* pipelines).

C++ documentation:

Convenience function that calls glDeleteProgramPipelines(n, pipelines).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glDeleteProgramPipelines().

source

pub unsafe fn gl_delete_queries(&self, n: c_int, ids: *const u32)

Convenience function that calls glDeleteQueries(n, ids).

Calls C++ function: void QOpenGLExtraFunctions::glDeleteQueries(int n, const GLuint* ids).

C++ documentation:

Convenience function that calls glDeleteQueries(n, ids).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glDeleteQueries().

source

pub unsafe fn gl_delete_samplers(&self, count: c_int, samplers: *const u32)

Convenience function that calls glDeleteSamplers(count, samplers).

Calls C++ function: void QOpenGLExtraFunctions::glDeleteSamplers(int count, const GLuint* samplers).

C++ documentation:

Convenience function that calls glDeleteSamplers(count, samplers).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glDeleteSamplers().

source

pub unsafe fn gl_delete_transform_feedbacks(&self, n: c_int, ids: *const u32)

Convenience function that calls glDeleteTransformFeedbacks(n, ids).

Calls C++ function: void QOpenGLExtraFunctions::glDeleteTransformFeedbacks(int n, const GLuint* ids).

C++ documentation:

Convenience function that calls glDeleteTransformFeedbacks(n, ids).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glDeleteTransformFeedbacks().

source

pub unsafe fn gl_delete_vertex_arrays(&self, n: c_int, arrays: *const u32)

Convenience function that calls glDeleteVertexArrays(n, arrays).

Calls C++ function: void QOpenGLExtraFunctions::glDeleteVertexArrays(int n, const GLuint* arrays).

C++ documentation:

Convenience function that calls glDeleteVertexArrays(n, arrays).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glDeleteVertexArrays().

source

pub unsafe fn gl_disablei(&self, target: c_uint, index: u32)

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glDisablei(target, index).

Calls C++ function: void QOpenGLExtraFunctions::glDisablei(unsigned int target, GLuint index).

C++ documentation:

Convenience function that calls glDisablei(target, index).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glDisablei().

source

pub unsafe fn gl_dispatch_compute( &self, num_groups_x: u32, num_groups_y: u32, num_groups_z: u32 )

Convenience function that calls glDispatchCompute(num_groups_x, num_groups_y, num_groups_z).

Calls C++ function: void QOpenGLExtraFunctions::glDispatchCompute(GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z).

C++ documentation:

Convenience function that calls glDispatchCompute(num_groups_x, num_groups_y, num_groups_z).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glDispatchCompute().

source

pub unsafe fn gl_dispatch_compute_indirect(&self, indirect: c_long)

Convenience function that calls glDispatchComputeIndirect(indirect).

Calls C++ function: void QOpenGLExtraFunctions::glDispatchComputeIndirect(long indirect).

C++ documentation:

Convenience function that calls glDispatchComputeIndirect(indirect).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glDispatchComputeIndirect().

source

pub unsafe fn gl_draw_arrays_indirect( &self, mode: c_uint, indirect: *const c_void )

Convenience function that calls glDrawArraysIndirect(mode, indirect).

Calls C++ function: void QOpenGLExtraFunctions::glDrawArraysIndirect(unsigned int mode, const void* indirect).

C++ documentation:

Convenience function that calls glDrawArraysIndirect(mode, indirect).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glDrawArraysIndirect().

source

pub unsafe fn gl_draw_arrays_instanced( &self, mode: c_uint, first: i32, count: c_int, instancecount: c_int )

Convenience function that calls glDrawArraysInstanced(mode, first, count, instancecount).

Calls C++ function: void QOpenGLExtraFunctions::glDrawArraysInstanced(unsigned int mode, GLint first, int count, int instancecount).

C++ documentation:

Convenience function that calls glDrawArraysInstanced(mode, first, count, instancecount).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glDrawArraysInstanced().

source

pub unsafe fn gl_draw_buffers(&self, n: c_int, bufs: *const c_uint)

Convenience function that calls glDrawBuffers(n, bufs).

Calls C++ function: void QOpenGLExtraFunctions::glDrawBuffers(int n, const unsigned int* bufs).

C++ documentation:

Convenience function that calls glDrawBuffers(n, bufs).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glDrawBuffers().

source

pub unsafe fn gl_draw_elements_base_vertex( &self, mode: c_uint, count: c_int, type_: c_uint, indices: *const c_void, basevertex: i32 )

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glDrawElementsBaseVertex(mode, count, type, indices, basevertex).

Calls C++ function: void QOpenGLExtraFunctions::glDrawElementsBaseVertex(unsigned int mode, int count, unsigned int type, const void* indices, GLint basevertex).

C++ documentation:

Convenience function that calls glDrawElementsBaseVertex(mode, count, type, indices, basevertex).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glDrawElementsBaseVerte().

source

pub unsafe fn gl_draw_elements_indirect( &self, mode: c_uint, type_: c_uint, indirect: *const c_void )

Convenience function that calls glDrawElementsIndirect(mode, type, indirect).

Calls C++ function: void QOpenGLExtraFunctions::glDrawElementsIndirect(unsigned int mode, unsigned int type, const void* indirect).

C++ documentation:

Convenience function that calls glDrawElementsIndirect(mode, type, indirect).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glDrawElementsIndirect().

source

pub unsafe fn gl_draw_elements_instanced( &self, mode: c_uint, count: c_int, type_: c_uint, indices: *const c_void, instancecount: c_int )

Convenience function that calls glDrawElementsInstanced(mode, count, type, indices, instancecount).

Calls C++ function: void QOpenGLExtraFunctions::glDrawElementsInstanced(unsigned int mode, int count, unsigned int type, const void* indices, int instancecount).

C++ documentation:

Convenience function that calls glDrawElementsInstanced(mode, count, type, indices, instancecount).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glDrawElementsInstanced().

source

pub unsafe fn gl_draw_elements_instanced_base_vertex( &self, mode: c_uint, count: c_int, type_: c_uint, indices: *const c_void, instancecount: c_int, basevertex: i32 )

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glDrawElementsInstancedBaseVertex(mode, count, type, indices, instancecount, basevertex).

Calls C++ function: void QOpenGLExtraFunctions::glDrawElementsInstancedBaseVertex(unsigned int mode, int count, unsigned int type, const void* indices, int instancecount, GLint basevertex).

C++ documentation:

Convenience function that calls glDrawElementsInstancedBaseVertex(mode, count, type, indices, instancecount, basevertex).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glDrawElementsInstancedBaseVerte().

source

pub unsafe fn gl_draw_range_elements( &self, mode: c_uint, start: u32, end: u32, count: c_int, type_: c_uint, indices: *const c_void )

Convenience function that calls glDrawRangeElements(mode, start, end, count, type, indices).

Calls C++ function: void QOpenGLExtraFunctions::glDrawRangeElements(unsigned int mode, GLuint start, GLuint end, int count, unsigned int type, const void* indices).

C++ documentation:

Convenience function that calls glDrawRangeElements(mode, start, end, count, type, indices).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glDrawRangeElements().

source

pub unsafe fn gl_draw_range_elements_base_vertex( &self, mode: c_uint, start: u32, end: u32, count: c_int, type_: c_uint, indices: *const c_void, basevertex: i32 )

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glDrawRangeElementsBaseVertex(mode, start, end, count, type, indices, basevertex).

Calls C++ function: void QOpenGLExtraFunctions::glDrawRangeElementsBaseVertex(unsigned int mode, GLuint start, GLuint end, int count, unsigned int type, const void* indices, GLint basevertex).

C++ documentation:

Convenience function that calls glDrawRangeElementsBaseVertex(mode, start, end, count, type, indices, basevertex).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glDrawRangeElementsBaseVerte().

source

pub unsafe fn gl_enablei(&self, target: c_uint, index: u32)

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glEnablei(target, index).

Calls C++ function: void QOpenGLExtraFunctions::glEnablei(unsigned int target, GLuint index).

C++ documentation:

Convenience function that calls glEnablei(target, index).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glEnablei().

source

pub unsafe fn gl_end_query(&self, target: c_uint)

Convenience function that calls glEndQuery(target).

Calls C++ function: void QOpenGLExtraFunctions::glEndQuery(unsigned int target).

C++ documentation:

Convenience function that calls glEndQuery(target).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glEndQuery().

source

pub unsafe fn gl_end_transform_feedback(&self)

Convenience function that calls glEndTransformFeedback().

Calls C++ function: void QOpenGLExtraFunctions::glEndTransformFeedback().

C++ documentation:

Convenience function that calls glEndTransformFeedback().

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glEndTransformFeedback().

source

pub unsafe fn gl_flush_mapped_buffer_range( &self, target: c_uint, offset: c_long, length: c_long )

Convenience function that calls glFlushMappedBufferRange(target, offset, length).

Calls C++ function: void QOpenGLExtraFunctions::glFlushMappedBufferRange(unsigned int target, long offset, long length).

C++ documentation:

Convenience function that calls glFlushMappedBufferRange(target, offset, length).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glFlushMappedBufferRange().

source

pub unsafe fn gl_framebuffer_parameteri( &self, target: c_uint, pname: c_uint, param: i32 )

Convenience function that calls glFramebufferParameteri(target, pname, param).

Calls C++ function: void QOpenGLExtraFunctions::glFramebufferParameteri(unsigned int target, unsigned int pname, GLint param).

C++ documentation:

Convenience function that calls glFramebufferParameteri(target, pname, param).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glFramebufferParameteri().

source

pub unsafe fn gl_framebuffer_texture( &self, target: c_uint, attachment: c_uint, texture: u32, level: i32 )

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glFramebufferTexture(target, attachment, texture, level).

Calls C++ function: void QOpenGLExtraFunctions::glFramebufferTexture(unsigned int target, unsigned int attachment, GLuint texture, GLint level).

C++ documentation:

Convenience function that calls glFramebufferTexture(target, attachment, texture, level).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glFramebufferTexture().

source

pub unsafe fn gl_framebuffer_texture_layer( &self, target: c_uint, attachment: c_uint, texture: u32, level: i32, layer: i32 )

Convenience function that calls glFramebufferTextureLayer(target, attachment, texture, level, layer).

Calls C++ function: void QOpenGLExtraFunctions::glFramebufferTextureLayer(unsigned int target, unsigned int attachment, GLuint texture, GLint level, GLint layer).

C++ documentation:

Convenience function that calls glFramebufferTextureLayer(target, attachment, texture, level, layer).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glFramebufferTextureLayer().

source

pub unsafe fn gl_gen_program_pipelines(&self, n: c_int, pipelines: *mut u32)

Convenience function that calls glGenProgramPipelines(n, pipelines).

Calls C++ function: void QOpenGLExtraFunctions::glGenProgramPipelines(int n, GLuint* pipelines).

C++ documentation:

Convenience function that calls glGenProgramPipelines(n, pipelines).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGenProgramPipelines().

source

pub unsafe fn gl_gen_queries(&self, n: c_int, ids: *mut u32)

Convenience function that calls glGenQueries(n, ids).

Calls C++ function: void QOpenGLExtraFunctions::glGenQueries(int n, GLuint* ids).

C++ documentation:

Convenience function that calls glGenQueries(n, ids).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGenQueries().

source

pub unsafe fn gl_gen_samplers(&self, count: c_int, samplers: *mut u32)

Convenience function that calls glGenSamplers(count, samplers).

Calls C++ function: void QOpenGLExtraFunctions::glGenSamplers(int count, GLuint* samplers).

C++ documentation:

Convenience function that calls glGenSamplers(count, samplers).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGenSamplers().

source

pub unsafe fn gl_gen_transform_feedbacks(&self, n: c_int, ids: *mut u32)

Convenience function that calls glGenTransformFeedbacks(n, ids).

Calls C++ function: void QOpenGLExtraFunctions::glGenTransformFeedbacks(int n, GLuint* ids).

C++ documentation:

Convenience function that calls glGenTransformFeedbacks(n, ids).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGenTransformFeedbacks().

source

pub unsafe fn gl_gen_vertex_arrays(&self, n: c_int, arrays: *mut u32)

Convenience function that calls glGenVertexArrays(n, arrays).

Calls C++ function: void QOpenGLExtraFunctions::glGenVertexArrays(int n, GLuint* arrays).

C++ documentation:

Convenience function that calls glGenVertexArrays(n, arrays).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGenVertexArrays().

source

pub unsafe fn gl_get_active_uniform_block_name( &self, program: u32, uniform_block_index: u32, buf_size: c_int, length: *mut c_int, uniform_block_name: *mut c_char )

Convenience function that calls glGetActiveUniformBlockName(program, uniformBlockIndex, bufSize, length, uniformBlockName).

Calls C++ function: void QOpenGLExtraFunctions::glGetActiveUniformBlockName(GLuint program, GLuint uniformBlockIndex, int bufSize, int* length, char* uniformBlockName).

C++ documentation:

Convenience function that calls glGetActiveUniformBlockName(program, uniformBlockIndex, bufSize, length, uniformBlockName).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetActiveUniformBlockName().

source

pub unsafe fn gl_get_active_uniform_blockiv( &self, program: u32, uniform_block_index: u32, pname: c_uint, params: *mut i32 )

Convenience function that calls glGetActiveUniformBlockiv(program, uniformBlockIndex, pname, params).

Calls C++ function: void QOpenGLExtraFunctions::glGetActiveUniformBlockiv(GLuint program, GLuint uniformBlockIndex, unsigned int pname, GLint* params).

C++ documentation:

Convenience function that calls glGetActiveUniformBlockiv(program, uniformBlockIndex, pname, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetActiveUniformBlockiv().

source

pub unsafe fn gl_get_active_uniformsiv( &self, program: u32, uniform_count: c_int, uniform_indices: *const u32, pname: c_uint, params: *mut i32 )

Convenience function that calls glGetActiveUniformsiv(program, uniformCount, uniformIndices, pname, params).

Calls C++ function: void QOpenGLExtraFunctions::glGetActiveUniformsiv(GLuint program, int uniformCount, const GLuint* uniformIndices, unsigned int pname, GLint* params).

C++ documentation:

Convenience function that calls glGetActiveUniformsiv(program, uniformCount, uniformIndices, pname, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetActiveUniformsiv().

source

pub unsafe fn gl_get_booleani_v( &self, target: c_uint, index: u32, data: *mut c_uchar )

Convenience function that calls glGetBooleani_v(target, index, data).

Calls C++ function: void QOpenGLExtraFunctions::glGetBooleani_v(unsigned int target, GLuint index, unsigned char* data).

C++ documentation:

Convenience function that calls glGetBooleani_v(target, index, data).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetBooleani_v().

source

pub unsafe fn gl_get_buffer_parameteri_64v( &self, target: c_uint, pname: c_uint, params: *mut i64 )

Convenience function that calls glGetBufferParameteri64v(target, pname, params).

Calls C++ function: void QOpenGLExtraFunctions::glGetBufferParameteri64v(unsigned int target, unsigned int pname, GLint64* params).

C++ documentation:

Convenience function that calls glGetBufferParameteri64v(target, pname, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetBufferParameteri64v().

source

pub unsafe fn gl_get_buffer_pointerv( &self, target: c_uint, pname: c_uint, params: *mut *mut c_void )

Convenience function that calls glGetBufferPointerv(target, pname, params).

Calls C++ function: void QOpenGLExtraFunctions::glGetBufferPointerv(unsigned int target, unsigned int pname, void** params).

C++ documentation:

Convenience function that calls glGetBufferPointerv(target, pname, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetBufferPointerv().

source

pub unsafe fn gl_get_debug_message_log( &self, count: u32, buf_size: c_int, sources: *mut c_uint, types: *mut c_uint, ids: *mut u32, severities: *mut c_uint, lengths: *mut c_int, message_log: *mut c_char ) -> u32

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glGetDebugMessageLog(count, bufSize, sources, types, ids, severities, lengths, messageLog).

Calls C++ function: GLuint QOpenGLExtraFunctions::glGetDebugMessageLog(GLuint count, int bufSize, unsigned int* sources, unsigned int* types, GLuint* ids, unsigned int* severities, int* lengths, char* messageLog).

C++ documentation:

Convenience function that calls glGetDebugMessageLog(count, bufSize, sources, types, ids, severities, lengths, messageLog).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glGetDebugMessageLog().

source

pub unsafe fn gl_get_frag_data_location( &self, program: u32, name: *const c_char ) -> i32

Convenience function that calls glGetFragDataLocation(program, name).

Calls C++ function: GLint QOpenGLExtraFunctions::glGetFragDataLocation(GLuint program, const char* name).

C++ documentation:

Convenience function that calls glGetFragDataLocation(program, name).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetFragDataLocation().

source

pub unsafe fn gl_get_framebuffer_parameteriv( &self, target: c_uint, pname: c_uint, params: *mut i32 )

Convenience function that calls glGetFramebufferParameteriv(target, pname, params).

Calls C++ function: void QOpenGLExtraFunctions::glGetFramebufferParameteriv(unsigned int target, unsigned int pname, GLint* params).

C++ documentation:

Convenience function that calls glGetFramebufferParameteriv(target, pname, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetFramebufferParameteriv().

source

pub unsafe fn gl_get_graphics_reset_status(&self) -> c_uint

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glGetGraphicsResetStatus().

Calls C++ function: unsigned int QOpenGLExtraFunctions::glGetGraphicsResetStatus().

C++ documentation:

Convenience function that calls glGetGraphicsResetStatus().

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glGetGraphicsResetStatus().

source

pub unsafe fn gl_get_integer_64i_v( &self, target: c_uint, index: u32, data: *mut i64 )

Convenience function that calls glGetInteger64i_v(target, index, data).

Calls C++ function: void QOpenGLExtraFunctions::glGetInteger64i_v(unsigned int target, GLuint index, GLint64* data).

C++ documentation:

Convenience function that calls glGetInteger64i_v(target, index, data).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetInteger64i_v().

source

pub unsafe fn gl_get_integer_64v(&self, pname: c_uint, data: *mut i64)

Convenience function that calls glGetInteger64v(pname, data).

Calls C++ function: void QOpenGLExtraFunctions::glGetInteger64v(unsigned int pname, GLint64* data).

C++ documentation:

Convenience function that calls glGetInteger64v(pname, data).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetInteger64v().

source

pub unsafe fn gl_get_integeri_v( &self, target: c_uint, index: u32, data: *mut i32 )

Convenience function that calls glGetIntegeri_v(target, index, data).

Calls C++ function: void QOpenGLExtraFunctions::glGetIntegeri_v(unsigned int target, GLuint index, GLint* data).

C++ documentation:

Convenience function that calls glGetIntegeri_v(target, index, data).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetIntegeri_v().

source

pub unsafe fn gl_get_internalformativ( &self, target: c_uint, internalformat: c_uint, pname: c_uint, buf_size: c_int, params: *mut i32 )

Convenience function that calls glGetInternalformativ(target, internalformat, pname, bufSize, params).

Calls C++ function: void QOpenGLExtraFunctions::glGetInternalformativ(unsigned int target, unsigned int internalformat, unsigned int pname, int bufSize, GLint* params).

C++ documentation:

Convenience function that calls glGetInternalformativ(target, internalformat, pname, bufSize, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetInternalformativ().

source

pub unsafe fn gl_get_multisamplefv( &self, pname: c_uint, index: u32, val: *mut c_float )

Convenience function that calls glGetMultisamplefv(pname, index, val).

Calls C++ function: void QOpenGLExtraFunctions::glGetMultisamplefv(unsigned int pname, GLuint index, float* val).

C++ documentation:

Convenience function that calls glGetMultisamplefv(pname, index, val).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetMultisamplefv().

source

pub unsafe fn gl_get_object_label( &self, identifier: c_uint, name: u32, buf_size: c_int, length: *mut c_int, label: *mut c_char )

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glGetObjectLabel(identifier, name, bufSize, length, label).

Calls C++ function: void QOpenGLExtraFunctions::glGetObjectLabel(unsigned int identifier, GLuint name, int bufSize, int* length, char* label).

C++ documentation:

Convenience function that calls glGetObjectLabel(identifier, name, bufSize, length, label).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glGetObjectLabe().

source

pub unsafe fn gl_get_object_ptr_label( &self, ptr: *const c_void, buf_size: c_int, length: *mut c_int, label: *mut c_char )

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glGetObjectPtrLabel(ptr, bufSize, length, label).

Calls C++ function: void QOpenGLExtraFunctions::glGetObjectPtrLabel(const void* ptr, int bufSize, int* length, char* label).

C++ documentation:

Convenience function that calls glGetObjectPtrLabel(ptr, bufSize, length, label).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glGetObjectPtrLabe().

source

pub unsafe fn gl_get_pointerv(&self, pname: c_uint, params: *mut *mut c_void)

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glGetPointerv(pname, params).

Calls C++ function: void QOpenGLExtraFunctions::glGetPointerv(unsigned int pname, void** params).

C++ documentation:

Convenience function that calls glGetPointerv(pname, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glGetPointerv().

source

pub unsafe fn gl_get_program_binary( &self, program: u32, buf_size: c_int, length: *mut c_int, binary_format: *mut c_uint, binary: *mut c_void )

Convenience function that calls glGetProgramBinary(program, bufSize, length, binaryFormat, binary).

Calls C++ function: void QOpenGLExtraFunctions::glGetProgramBinary(GLuint program, int bufSize, int* length, unsigned int* binaryFormat, void* binary).

C++ documentation:

Convenience function that calls glGetProgramBinary(program, bufSize, length, binaryFormat, binary).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetProgramBinary().

source

pub unsafe fn gl_get_program_interfaceiv( &self, program: u32, program_interface: c_uint, pname: c_uint, params: *mut i32 )

Convenience function that calls glGetProgramInterfaceiv(program, programInterface, pname, params).

Calls C++ function: void QOpenGLExtraFunctions::glGetProgramInterfaceiv(GLuint program, unsigned int programInterface, unsigned int pname, GLint* params).

C++ documentation:

Convenience function that calls glGetProgramInterfaceiv(program, programInterface, pname, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetProgramInterfaceiv().

source

pub unsafe fn gl_get_program_pipeline_info_log( &self, pipeline: u32, buf_size: c_int, length: *mut c_int, info_log: *mut c_char )

Convenience function that calls glGetProgramPipelineInfoLog(pipeline, bufSize, length, infoLog).

Calls C++ function: void QOpenGLExtraFunctions::glGetProgramPipelineInfoLog(GLuint pipeline, int bufSize, int* length, char* infoLog).

C++ documentation:

Convenience function that calls glGetProgramPipelineInfoLog(pipeline, bufSize, length, infoLog).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetProgramPipelineInfoLog().

source

pub unsafe fn gl_get_program_pipelineiv( &self, pipeline: u32, pname: c_uint, params: *mut i32 )

Convenience function that calls glGetProgramPipelineiv(pipeline, pname, params).

Calls C++ function: void QOpenGLExtraFunctions::glGetProgramPipelineiv(GLuint pipeline, unsigned int pname, GLint* params).

C++ documentation:

Convenience function that calls glGetProgramPipelineiv(pipeline, pname, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetProgramPipelineiv().

source

pub unsafe fn gl_get_program_resource_index( &self, program: u32, program_interface: c_uint, name: *const c_char ) -> u32

Convenience function that calls glGetProgramResourceIndex(program, programInterface, name).

Calls C++ function: GLuint QOpenGLExtraFunctions::glGetProgramResourceIndex(GLuint program, unsigned int programInterface, const char* name).

C++ documentation:

Convenience function that calls glGetProgramResourceIndex(program, programInterface, name).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetProgramResourceIndex().

source

pub unsafe fn gl_get_program_resource_location( &self, program: u32, program_interface: c_uint, name: *const c_char ) -> i32

Convenience function that calls glGetProgramResourceLocation(program, programInterface, name).

Calls C++ function: GLint QOpenGLExtraFunctions::glGetProgramResourceLocation(GLuint program, unsigned int programInterface, const char* name).

C++ documentation:

Convenience function that calls glGetProgramResourceLocation(program, programInterface, name).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetProgramResourceLocation().

source

pub unsafe fn gl_get_program_resource_name( &self, program: u32, program_interface: c_uint, index: u32, buf_size: c_int, length: *mut c_int, name: *mut c_char )

Convenience function that calls glGetProgramResourceName(program, programInterface, index, bufSize, length, name).

Calls C++ function: void QOpenGLExtraFunctions::glGetProgramResourceName(GLuint program, unsigned int programInterface, GLuint index, int bufSize, int* length, char* name).

C++ documentation:

Convenience function that calls glGetProgramResourceName(program, programInterface, index, bufSize, length, name).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetProgramResourceName().

source

pub unsafe fn gl_get_program_resourceiv( &self, program: u32, program_interface: c_uint, index: u32, prop_count: c_int, props: *const c_uint, buf_size: c_int, length: *mut c_int, params: *mut i32 )

Convenience function that calls glGetProgramResourceiv(program, programInterface, index, propCount, props, bufSize, length, params).

Calls C++ function: void QOpenGLExtraFunctions::glGetProgramResourceiv(GLuint program, unsigned int programInterface, GLuint index, int propCount, const unsigned int* props, int bufSize, int* length, GLint* params).

C++ documentation:

Convenience function that calls glGetProgramResourceiv(program, programInterface, index, propCount, props, bufSize, length, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetProgramResourceiv().

source

pub unsafe fn gl_get_query_objectuiv( &self, id: u32, pname: c_uint, params: *mut u32 )

Convenience function that calls glGetQueryObjectuiv(id, pname, params).

Calls C++ function: void QOpenGLExtraFunctions::glGetQueryObjectuiv(GLuint id, unsigned int pname, GLuint* params).

C++ documentation:

Convenience function that calls glGetQueryObjectuiv(id, pname, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetQueryObjectuiv().

source

pub unsafe fn gl_get_queryiv( &self, target: c_uint, pname: c_uint, params: *mut i32 )

Convenience function that calls glGetQueryiv(target, pname, params).

Calls C++ function: void QOpenGLExtraFunctions::glGetQueryiv(unsigned int target, unsigned int pname, GLint* params).

C++ documentation:

Convenience function that calls glGetQueryiv(target, pname, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetQueryiv().

source

pub unsafe fn gl_get_sampler_parameter_iiv( &self, sampler: u32, pname: c_uint, params: *mut i32 )

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glGetSamplerParameterIiv(sampler, pname, params).

Calls C++ function: void QOpenGLExtraFunctions::glGetSamplerParameterIiv(GLuint sampler, unsigned int pname, GLint* params).

C++ documentation:

Convenience function that calls glGetSamplerParameterIiv(sampler, pname, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glGetSamplerParameterIiv().

source

pub unsafe fn gl_get_sampler_parameter_iuiv( &self, sampler: u32, pname: c_uint, params: *mut u32 )

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glGetSamplerParameterIuiv(sampler, pname, params).

Calls C++ function: void QOpenGLExtraFunctions::glGetSamplerParameterIuiv(GLuint sampler, unsigned int pname, GLuint* params).

C++ documentation:

Convenience function that calls glGetSamplerParameterIuiv(sampler, pname, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glGetSamplerParameterIuiv().

source

pub unsafe fn gl_get_sampler_parameterfv( &self, sampler: u32, pname: c_uint, params: *mut c_float )

Convenience function that calls glGetSamplerParameterfv(sampler, pname, params).

Calls C++ function: void QOpenGLExtraFunctions::glGetSamplerParameterfv(GLuint sampler, unsigned int pname, float* params).

C++ documentation:

Convenience function that calls glGetSamplerParameterfv(sampler, pname, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetSamplerParameterfv().

source

pub unsafe fn gl_get_sampler_parameteriv( &self, sampler: u32, pname: c_uint, params: *mut i32 )

Convenience function that calls glGetSamplerParameteriv(sampler, pname, params).

Calls C++ function: void QOpenGLExtraFunctions::glGetSamplerParameteriv(GLuint sampler, unsigned int pname, GLint* params).

C++ documentation:

Convenience function that calls glGetSamplerParameteriv(sampler, pname, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetSamplerParameteriv().

source

pub unsafe fn gl_get_stringi(&self, name: c_uint, index: u32) -> *const u8

Convenience function that calls glGetStringi(name, index).

Calls C++ function: const GLubyte* QOpenGLExtraFunctions::glGetStringi(unsigned int name, GLuint index).

C++ documentation:

Convenience function that calls glGetStringi(name, index).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetStringi().

source

pub unsafe fn gl_get_tex_level_parameterfv( &self, target: c_uint, level: i32, pname: c_uint, params: *mut c_float )

Convenience function that calls glGetTexLevelParameterfv(target, level, pname, params).

Calls C++ function: void QOpenGLExtraFunctions::glGetTexLevelParameterfv(unsigned int target, GLint level, unsigned int pname, float* params).

C++ documentation:

Convenience function that calls glGetTexLevelParameterfv(target, level, pname, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetTexLevelParameterfv().

source

pub unsafe fn gl_get_tex_level_parameteriv( &self, target: c_uint, level: i32, pname: c_uint, params: *mut i32 )

Convenience function that calls glGetTexLevelParameteriv(target, level, pname, params).

Calls C++ function: void QOpenGLExtraFunctions::glGetTexLevelParameteriv(unsigned int target, GLint level, unsigned int pname, GLint* params).

C++ documentation:

Convenience function that calls glGetTexLevelParameteriv(target, level, pname, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetTexLevelParameteriv().

source

pub unsafe fn gl_get_tex_parameter_iiv( &self, target: c_uint, pname: c_uint, params: *mut i32 )

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glGetTexParameterIiv(target, pname, params).

Calls C++ function: void QOpenGLExtraFunctions::glGetTexParameterIiv(unsigned int target, unsigned int pname, GLint* params).

C++ documentation:

Convenience function that calls glGetTexParameterIiv(target, pname, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glGetTexParameterIiv().

source

pub unsafe fn gl_get_tex_parameter_iuiv( &self, target: c_uint, pname: c_uint, params: *mut u32 )

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glGetTexParameterIuiv(target, pname, params).

Calls C++ function: void QOpenGLExtraFunctions::glGetTexParameterIuiv(unsigned int target, unsigned int pname, GLuint* params).

C++ documentation:

Convenience function that calls glGetTexParameterIuiv(target, pname, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glGetTexParameterIuiv().

source

pub unsafe fn gl_get_transform_feedback_varying( &self, program: u32, index: u32, buf_size: c_int, length: *mut c_int, size: *mut c_int, type_: *mut c_uint, name: *mut c_char )

Convenience function that calls glGetTransformFeedbackVarying(program, index, bufSize, length, size, type, name).

Calls C++ function: void QOpenGLExtraFunctions::glGetTransformFeedbackVarying(GLuint program, GLuint index, int bufSize, int* length, int* size, unsigned int* type, char* name).

C++ documentation:

Convenience function that calls glGetTransformFeedbackVarying(program, index, bufSize, length, size, type, name).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetTransformFeedbackVarying().

source

pub unsafe fn gl_get_uniform_block_index( &self, program: u32, uniform_block_name: *const c_char ) -> u32

Convenience function that calls glGetUniformBlockIndex(program, uniformBlockName).

Calls C++ function: GLuint QOpenGLExtraFunctions::glGetUniformBlockIndex(GLuint program, const char* uniformBlockName).

C++ documentation:

Convenience function that calls glGetUniformBlockIndex(program, uniformBlockName).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetUniformBlockIndex().

source

pub unsafe fn gl_get_uniform_indices( &self, program: u32, uniform_count: c_int, uniform_names: *const *const c_char, uniform_indices: *mut u32 )

Convenience function that calls glGetUniformIndices(program, uniformCount, uniformNames, uniformIndices).

Calls C++ function: void QOpenGLExtraFunctions::glGetUniformIndices(GLuint program, int uniformCount, const const char** uniformNames, GLuint* uniformIndices).

C++ documentation:

Convenience function that calls glGetUniformIndices(program, uniformCount, uniformNames, uniformIndices).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetUniformIndices().

source

pub unsafe fn gl_get_uniformuiv( &self, program: u32, location: i32, params: *mut u32 )

Convenience function that calls glGetUniformuiv(program, location, params).

Calls C++ function: void QOpenGLExtraFunctions::glGetUniformuiv(GLuint program, GLint location, GLuint* params).

C++ documentation:

Convenience function that calls glGetUniformuiv(program, location, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetUniformuiv().

source

pub unsafe fn gl_get_vertex_attrib_iiv( &self, index: u32, pname: c_uint, params: *mut i32 )

Convenience function that calls glGetVertexAttribIiv(index, pname, params).

Calls C++ function: void QOpenGLExtraFunctions::glGetVertexAttribIiv(GLuint index, unsigned int pname, GLint* params).

C++ documentation:

Convenience function that calls glGetVertexAttribIiv(index, pname, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetVertexAttribIiv().

source

pub unsafe fn gl_get_vertex_attrib_iuiv( &self, index: u32, pname: c_uint, params: *mut u32 )

Convenience function that calls glGetVertexAttribIuiv(index, pname, params).

Calls C++ function: void QOpenGLExtraFunctions::glGetVertexAttribIuiv(GLuint index, unsigned int pname, GLuint* params).

C++ documentation:

Convenience function that calls glGetVertexAttribIuiv(index, pname, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glGetVertexAttribIuiv().

source

pub unsafe fn gl_getn_uniformfv( &self, program: u32, location: i32, buf_size: c_int, params: *mut c_float )

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glGetnUniformfv(program, location, bufSize, params).

Calls C++ function: void QOpenGLExtraFunctions::glGetnUniformfv(GLuint program, GLint location, int bufSize, float* params).

C++ documentation:

Convenience function that calls glGetnUniformfv(program, location, bufSize, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glGetnUniformfv().

source

pub unsafe fn gl_getn_uniformiv( &self, program: u32, location: i32, buf_size: c_int, params: *mut i32 )

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glGetnUniformiv(program, location, bufSize, params).

Calls C++ function: void QOpenGLExtraFunctions::glGetnUniformiv(GLuint program, GLint location, int bufSize, GLint* params).

C++ documentation:

Convenience function that calls glGetnUniformiv(program, location, bufSize, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glGetnUniformiv().

source

pub unsafe fn gl_getn_uniformuiv( &self, program: u32, location: i32, buf_size: c_int, params: *mut u32 )

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glGetnUniformuiv(program, location, bufSize, params).

Calls C++ function: void QOpenGLExtraFunctions::glGetnUniformuiv(GLuint program, GLint location, int bufSize, GLuint* params).

C++ documentation:

Convenience function that calls glGetnUniformuiv(program, location, bufSize, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glGetnUniformuiv().

source

pub unsafe fn gl_invalidate_framebuffer( &self, target: c_uint, num_attachments: c_int, attachments: *const c_uint )

Convenience function that calls glInvalidateFramebuffer(target, numAttachments, attachments).

Calls C++ function: void QOpenGLExtraFunctions::glInvalidateFramebuffer(unsigned int target, int numAttachments, const unsigned int* attachments).

C++ documentation:

Convenience function that calls glInvalidateFramebuffer(target, numAttachments, attachments).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glInvalidateFramebuffer().

source

pub unsafe fn gl_invalidate_sub_framebuffer( &self, target: c_uint, num_attachments: c_int, attachments: *const c_uint, x: i32, y: i32, width: c_int, height: c_int )

Convenience function that calls glInvalidateSubFramebuffer(target, numAttachments, attachments, x, y, width, height).

Calls C++ function: void QOpenGLExtraFunctions::glInvalidateSubFramebuffer(unsigned int target, int numAttachments, const unsigned int* attachments, GLint x, GLint y, int width, int height).

C++ documentation:

Convenience function that calls glInvalidateSubFramebuffer(target, numAttachments, attachments, x, y, width, height).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glInvalidateSubFramebuffer().

source

pub unsafe fn gl_is_enabledi(&self, target: c_uint, index: u32) -> c_uchar

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glIsEnabledi(target, index).

Calls C++ function: unsigned char QOpenGLExtraFunctions::glIsEnabledi(unsigned int target, GLuint index).

C++ documentation:

Convenience function that calls glIsEnabledi(target, index).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glIsEnabledi().

source

pub unsafe fn gl_is_program_pipeline(&self, pipeline: u32) -> c_uchar

Convenience function that calls glIsProgramPipeline(pipeline).

Calls C++ function: unsigned char QOpenGLExtraFunctions::glIsProgramPipeline(GLuint pipeline).

C++ documentation:

Convenience function that calls glIsProgramPipeline(pipeline).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glIsProgramPipeline().

source

pub unsafe fn gl_is_query(&self, id: u32) -> c_uchar

Convenience function that calls glIsQuery(id).

Calls C++ function: unsigned char QOpenGLExtraFunctions::glIsQuery(GLuint id).

C++ documentation:

Convenience function that calls glIsQuery(id).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glIsQuery().

source

pub unsafe fn gl_is_sampler(&self, sampler: u32) -> c_uchar

Convenience function that calls glIsSampler(sampler).

Calls C++ function: unsigned char QOpenGLExtraFunctions::glIsSampler(GLuint sampler).

C++ documentation:

Convenience function that calls glIsSampler(sampler).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glIsSampler().

source

pub unsafe fn gl_is_transform_feedback(&self, id: u32) -> c_uchar

Convenience function that calls glIsTransformFeedback(id).

Calls C++ function: unsigned char QOpenGLExtraFunctions::glIsTransformFeedback(GLuint id).

C++ documentation:

Convenience function that calls glIsTransformFeedback(id).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glIsTransformFeedback().

source

pub unsafe fn gl_is_vertex_array(&self, array: u32) -> c_uchar

Convenience function that calls glIsVertexArray(array).

Calls C++ function: unsigned char QOpenGLExtraFunctions::glIsVertexArray(GLuint array).

C++ documentation:

Convenience function that calls glIsVertexArray(array).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glIsVertexArray().

source

pub unsafe fn gl_map_buffer_range( &self, target: c_uint, offset: c_long, length: c_long, access: c_uint ) -> *mut c_void

Convenience function that calls glMapBufferRange(target, offset, length, access).

Calls C++ function: void* QOpenGLExtraFunctions::glMapBufferRange(unsigned int target, long offset, long length, unsigned int access).

C++ documentation:

Convenience function that calls glMapBufferRange(target, offset, length, access).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glMapBufferRange().

source

pub unsafe fn gl_memory_barrier(&self, barriers: c_uint)

Convenience function that calls glMemoryBarrier(barriers).

Calls C++ function: void QOpenGLExtraFunctions::glMemoryBarrier(unsigned int barriers).

C++ documentation:

Convenience function that calls glMemoryBarrier(barriers).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glMemoryBarrier().

source

pub unsafe fn gl_memory_barrier_by_region(&self, barriers: c_uint)

Convenience function that calls glMemoryBarrierByRegion(barriers).

Calls C++ function: void QOpenGLExtraFunctions::glMemoryBarrierByRegion(unsigned int barriers).

C++ documentation:

Convenience function that calls glMemoryBarrierByRegion(barriers).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glMemoryBarrierByRegion().

source

pub unsafe fn gl_min_sample_shading(&self, value: c_float)

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glMinSampleShading(value).

Calls C++ function: void QOpenGLExtraFunctions::glMinSampleShading(float value).

C++ documentation:

Convenience function that calls glMinSampleShading(value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glMinSampleShading().

source

pub unsafe fn gl_object_label( &self, identifier: c_uint, name: u32, length: c_int, label: *const c_char )

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glObjectLabel(identifier, name, length, label).

Calls C++ function: void QOpenGLExtraFunctions::glObjectLabel(unsigned int identifier, GLuint name, int length, const char* label).

C++ documentation:

Convenience function that calls glObjectLabel(identifier, name, length, label).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glObjectLabe().

source

pub unsafe fn gl_object_ptr_label( &self, ptr: *const c_void, length: c_int, label: *const c_char )

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glObjectPtrLabel(ptr, length, label).

Calls C++ function: void QOpenGLExtraFunctions::glObjectPtrLabel(const void* ptr, int length, const char* label).

C++ documentation:

Convenience function that calls glObjectPtrLabel(ptr, length, label).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glObjectPtrLabe().

source

pub unsafe fn gl_patch_parameteri(&self, pname: c_uint, value: i32)

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glPatchParameteri(pname, value).

Calls C++ function: void QOpenGLExtraFunctions::glPatchParameteri(unsigned int pname, GLint value).

C++ documentation:

Convenience function that calls glPatchParameteri(pname, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glPatchParameteri().

source

pub unsafe fn gl_pause_transform_feedback(&self)

Convenience function that calls glPauseTransformFeedback().

Calls C++ function: void QOpenGLExtraFunctions::glPauseTransformFeedback().

C++ documentation:

Convenience function that calls glPauseTransformFeedback().

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glPauseTransformFeedback().

source

pub unsafe fn gl_pop_debug_group(&self)

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glPopDebugGroup().

Calls C++ function: void QOpenGLExtraFunctions::glPopDebugGroup().

C++ documentation:

Convenience function that calls glPopDebugGroup().

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glPopDebugGroup().

source

pub unsafe fn gl_primitive_bounding_box( &self, min_x: c_float, min_y: c_float, min_z: c_float, min_w: c_float, max_x: c_float, max_y: c_float, max_z: c_float, max_w: c_float )

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glPrimitiveBoundingBox(minX, minY, minZ, minW, maxX, maxY, maxZ, maxW).

Calls C++ function: void QOpenGLExtraFunctions::glPrimitiveBoundingBox(float minX, float minY, float minZ, float minW, float maxX, float maxY, float maxZ, float maxW).

C++ documentation:

Convenience function that calls glPrimitiveBoundingBox(minX, minY, minZ, minW, maxX, maxY, maxZ, maxW).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glPrimitiveBoundingBo().

source

pub unsafe fn gl_program_binary( &self, program: u32, binary_format: c_uint, binary: *const c_void, length: c_int )

Convenience function that calls glProgramBinary(program, binaryFormat, binary, length).

Calls C++ function: void QOpenGLExtraFunctions::glProgramBinary(GLuint program, unsigned int binaryFormat, const void* binary, int length).

C++ documentation:

Convenience function that calls glProgramBinary(program, binaryFormat, binary, length).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramBinary().

source

pub unsafe fn gl_program_parameteri( &self, program: u32, pname: c_uint, value: i32 )

Convenience function that calls glProgramParameteri(program, pname, value).

Calls C++ function: void QOpenGLExtraFunctions::glProgramParameteri(GLuint program, unsigned int pname, GLint value).

C++ documentation:

Convenience function that calls glProgramParameteri(program, pname, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramParameteri().

source

pub unsafe fn gl_program_uniform_1f( &self, program: u32, location: i32, v0: c_float )

Convenience function that calls glProgramUniform1f(program, location, v0).

Calls C++ function: void QOpenGLExtraFunctions::glProgramUniform1f(GLuint program, GLint location, float v0).

C++ documentation:

Convenience function that calls glProgramUniform1f(program, location, v0).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform1f().

source

pub unsafe fn gl_program_uniform_1fv( &self, program: u32, location: i32, count: c_int, value: *const c_float )

Convenience function that calls glProgramUniform1fv(program, location, count, value).

Calls C++ function: void QOpenGLExtraFunctions::glProgramUniform1fv(GLuint program, GLint location, int count, const float* value).

C++ documentation:

Convenience function that calls glProgramUniform1fv(program, location, count, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform1fv().

source

pub unsafe fn gl_program_uniform_1i(&self, program: u32, location: i32, v0: i32)

Convenience function that calls glProgramUniform1i(program, location, v0).

Calls C++ function: void QOpenGLExtraFunctions::glProgramUniform1i(GLuint program, GLint location, GLint v0).

C++ documentation:

Convenience function that calls glProgramUniform1i(program, location, v0).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform1i().

source

pub unsafe fn gl_program_uniform_1iv( &self, program: u32, location: i32, count: c_int, value: *const i32 )

Convenience function that calls glProgramUniform1iv(program, location, count, value).

Calls C++ function: void QOpenGLExtraFunctions::glProgramUniform1iv(GLuint program, GLint location, int count, const GLint* value).

C++ documentation:

Convenience function that calls glProgramUniform1iv(program, location, count, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform1iv().

source

pub unsafe fn gl_program_uniform_1ui( &self, program: u32, location: i32, v0: u32 )

Convenience function that calls glProgramUniform1ui(program, location, v0).

Calls C++ function: void QOpenGLExtraFunctions::glProgramUniform1ui(GLuint program, GLint location, GLuint v0).

C++ documentation:

Convenience function that calls glProgramUniform1ui(program, location, v0).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform1ui().

source

pub unsafe fn gl_program_uniform_1uiv( &self, program: u32, location: i32, count: c_int, value: *const u32 )

Convenience function that calls glProgramUniform1uiv(program, location, count, value).

Calls C++ function: void QOpenGLExtraFunctions::glProgramUniform1uiv(GLuint program, GLint location, int count, const GLuint* value).

C++ documentation:

Convenience function that calls glProgramUniform1uiv(program, location, count, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform1uiv().

source

pub unsafe fn gl_program_uniform_2f( &self, program: u32, location: i32, v0: c_float, v1: c_float )

Convenience function that calls glProgramUniform2f(program, location, v0, v1).

Calls C++ function: void QOpenGLExtraFunctions::glProgramUniform2f(GLuint program, GLint location, float v0, float v1).

C++ documentation:

Convenience function that calls glProgramUniform2f(program, location, v0, v1).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform2f().

source

pub unsafe fn gl_program_uniform_2fv( &self, program: u32, location: i32, count: c_int, value: *const c_float )

Convenience function that calls glProgramUniform2fv(program, location, count, value).

Calls C++ function: void QOpenGLExtraFunctions::glProgramUniform2fv(GLuint program, GLint location, int count, const float* value).

C++ documentation:

Convenience function that calls glProgramUniform2fv(program, location, count, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform2fv().

source

pub unsafe fn gl_program_uniform_2i( &self, program: u32, location: i32, v0: i32, v1: i32 )

Convenience function that calls glProgramUniform2i(program, location, v0, v1).

Calls C++ function: void QOpenGLExtraFunctions::glProgramUniform2i(GLuint program, GLint location, GLint v0, GLint v1).

C++ documentation:

Convenience function that calls glProgramUniform2i(program, location, v0, v1).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform2i().

source

pub unsafe fn gl_program_uniform_2iv( &self, program: u32, location: i32, count: c_int, value: *const i32 )

Convenience function that calls glProgramUniform2iv(program, location, count, value).

Calls C++ function: void QOpenGLExtraFunctions::glProgramUniform2iv(GLuint program, GLint location, int count, const GLint* value).

C++ documentation:

Convenience function that calls glProgramUniform2iv(program, location, count, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform2iv().

source

pub unsafe fn gl_program_uniform_2ui( &self, program: u32, location: i32, v0: u32, v1: u32 )

Convenience function that calls glProgramUniform2ui(program, location, v0, v1).

Calls C++ function: void QOpenGLExtraFunctions::glProgramUniform2ui(GLuint program, GLint location, GLuint v0, GLuint v1).

C++ documentation:

Convenience function that calls glProgramUniform2ui(program, location, v0, v1).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform2ui().

source

pub unsafe fn gl_program_uniform_2uiv( &self, program: u32, location: i32, count: c_int, value: *const u32 )

Convenience function that calls glProgramUniform2uiv(program, location, count, value).

Calls C++ function: void QOpenGLExtraFunctions::glProgramUniform2uiv(GLuint program, GLint location, int count, const GLuint* value).

C++ documentation:

Convenience function that calls glProgramUniform2uiv(program, location, count, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform2uiv().

source

pub unsafe fn gl_program_uniform_3f( &self, program: u32, location: i32, v0: c_float, v1: c_float, v2: c_float )

Convenience function that calls glProgramUniform3f(program, location, v0, v1, v2).

Calls C++ function: void QOpenGLExtraFunctions::glProgramUniform3f(GLuint program, GLint location, float v0, float v1, float v2).

C++ documentation:

Convenience function that calls glProgramUniform3f(program, location, v0, v1, v2).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform3f().

source

pub unsafe fn gl_program_uniform_3fv( &self, program: u32, location: i32, count: c_int, value: *const c_float )

Convenience function that calls glProgramUniform3fv(program, location, count, value).

Calls C++ function: void QOpenGLExtraFunctions::glProgramUniform3fv(GLuint program, GLint location, int count, const float* value).

C++ documentation:

Convenience function that calls glProgramUniform3fv(program, location, count, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform3fv().

source

pub unsafe fn gl_program_uniform_3i( &self, program: u32, location: i32, v0: i32, v1: i32, v2: i32 )

Convenience function that calls glProgramUniform3i(program, location, v0, v1, v2).

Calls C++ function: void QOpenGLExtraFunctions::glProgramUniform3i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2).

C++ documentation:

Convenience function that calls glProgramUniform3i(program, location, v0, v1, v2).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform3i().

source

pub unsafe fn gl_program_uniform_3iv( &self, program: u32, location: i32, count: c_int, value: *const i32 )

Convenience function that calls glProgramUniform3iv(program, location, count, value).

Calls C++ function: void QOpenGLExtraFunctions::glProgramUniform3iv(GLuint program, GLint location, int count, const GLint* value).

C++ documentation:

Convenience function that calls glProgramUniform3iv(program, location, count, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform3iv().

source

pub unsafe fn gl_program_uniform_3ui( &self, program: u32, location: i32, v0: u32, v1: u32, v2: u32 )

Convenience function that calls glProgramUniform3ui(program, location, v0, v1, v2).

Calls C++ function: void QOpenGLExtraFunctions::glProgramUniform3ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2).

C++ documentation:

Convenience function that calls glProgramUniform3ui(program, location, v0, v1, v2).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform3ui().

source

pub unsafe fn gl_program_uniform_3uiv( &self, program: u32, location: i32, count: c_int, value: *const u32 )

Convenience function that calls glProgramUniform3uiv(program, location, count, value).

Calls C++ function: void QOpenGLExtraFunctions::glProgramUniform3uiv(GLuint program, GLint location, int count, const GLuint* value).

C++ documentation:

Convenience function that calls glProgramUniform3uiv(program, location, count, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform3uiv().

source

pub unsafe fn gl_program_uniform_4f( &self, program: u32, location: i32, v0: c_float, v1: c_float, v2: c_float, v3: c_float )

Convenience function that calls glProgramUniform4f(program, location, v0, v1, v2, v3).

Calls C++ function: void QOpenGLExtraFunctions::glProgramUniform4f(GLuint program, GLint location, float v0, float v1, float v2, float v3).

C++ documentation:

Convenience function that calls glProgramUniform4f(program, location, v0, v1, v2, v3).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform4f().

source

pub unsafe fn gl_program_uniform_4fv( &self, program: u32, location: i32, count: c_int, value: *const c_float )

Convenience function that calls glProgramUniform4fv(program, location, count, value).

Calls C++ function: void QOpenGLExtraFunctions::glProgramUniform4fv(GLuint program, GLint location, int count, const float* value).

C++ documentation:

Convenience function that calls glProgramUniform4fv(program, location, count, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform4fv().

source

pub unsafe fn gl_program_uniform_4i( &self, program: u32, location: i32, v0: i32, v1: i32, v2: i32, v3: i32 )

Convenience function that calls glProgramUniform4i(program, location, v0, v1, v2, v3).

Calls C++ function: void QOpenGLExtraFunctions::glProgramUniform4i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3).

C++ documentation:

Convenience function that calls glProgramUniform4i(program, location, v0, v1, v2, v3).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform4i().

source

pub unsafe fn gl_program_uniform_4iv( &self, program: u32, location: i32, count: c_int, value: *const i32 )

Convenience function that calls glProgramUniform4iv(program, location, count, value).

Calls C++ function: void QOpenGLExtraFunctions::glProgramUniform4iv(GLuint program, GLint location, int count, const GLint* value).

C++ documentation:

Convenience function that calls glProgramUniform4iv(program, location, count, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform4iv().

source

pub unsafe fn gl_program_uniform_4ui( &self, program: u32, location: i32, v0: u32, v1: u32, v2: u32, v3: u32 )

Convenience function that calls glProgramUniform4ui(program, location, v0, v1, v2, v3).

Calls C++ function: void QOpenGLExtraFunctions::glProgramUniform4ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3).

C++ documentation:

Convenience function that calls glProgramUniform4ui(program, location, v0, v1, v2, v3).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform4ui().

source

pub unsafe fn gl_program_uniform_4uiv( &self, program: u32, location: i32, count: c_int, value: *const u32 )

Convenience function that calls glProgramUniform4uiv(program, location, count, value).

Calls C++ function: void QOpenGLExtraFunctions::glProgramUniform4uiv(GLuint program, GLint location, int count, const GLuint* value).

C++ documentation:

Convenience function that calls glProgramUniform4uiv(program, location, count, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniform4uiv().

source

pub unsafe fn gl_program_uniform_matrix_2fv( &self, program: u32, location: i32, count: c_int, transpose: c_uchar, value: *const c_float )

Convenience function that calls glProgramUniformMatrix2fv(program, location, count, transpose, value).

Calls C++ function: void QOpenGLExtraFunctions::glProgramUniformMatrix2fv(GLuint program, GLint location, int count, unsigned char transpose, const float* value).

C++ documentation:

Convenience function that calls glProgramUniformMatrix2fv(program, location, count, transpose, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniformMatrix2fv().

source

pub unsafe fn gl_program_uniform_matrix_2x_3fv( &self, program: u32, location: i32, count: c_int, transpose: c_uchar, value: *const c_float )

Convenience function that calls glProgramUniformMatrix2x3fv(program, location, count, transpose, value).

Calls C++ function: void QOpenGLExtraFunctions::glProgramUniformMatrix2x3fv(GLuint program, GLint location, int count, unsigned char transpose, const float* value).

C++ documentation:

Convenience function that calls glProgramUniformMatrix2x3fv(program, location, count, transpose, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniformMatrix2x3fv().

source

pub unsafe fn gl_program_uniform_matrix_2x_4fv( &self, program: u32, location: i32, count: c_int, transpose: c_uchar, value: *const c_float )

Convenience function that calls glProgramUniformMatrix2x4fv(program, location, count, transpose, value).

Calls C++ function: void QOpenGLExtraFunctions::glProgramUniformMatrix2x4fv(GLuint program, GLint location, int count, unsigned char transpose, const float* value).

C++ documentation:

Convenience function that calls glProgramUniformMatrix2x4fv(program, location, count, transpose, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniformMatrix2x4fv().

source

pub unsafe fn gl_program_uniform_matrix_3fv( &self, program: u32, location: i32, count: c_int, transpose: c_uchar, value: *const c_float )

Convenience function that calls glProgramUniformMatrix3fv(program, location, count, transpose, value).

Calls C++ function: void QOpenGLExtraFunctions::glProgramUniformMatrix3fv(GLuint program, GLint location, int count, unsigned char transpose, const float* value).

C++ documentation:

Convenience function that calls glProgramUniformMatrix3fv(program, location, count, transpose, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniformMatrix3fv().

source

pub unsafe fn gl_program_uniform_matrix_3x_2fv( &self, program: u32, location: i32, count: c_int, transpose: c_uchar, value: *const c_float )

Convenience function that calls glProgramUniformMatrix3x2fv(program, location, count, transpose, value).

Calls C++ function: void QOpenGLExtraFunctions::glProgramUniformMatrix3x2fv(GLuint program, GLint location, int count, unsigned char transpose, const float* value).

C++ documentation:

Convenience function that calls glProgramUniformMatrix3x2fv(program, location, count, transpose, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniformMatrix3x2fv().

source

pub unsafe fn gl_program_uniform_matrix_3x_4fv( &self, program: u32, location: i32, count: c_int, transpose: c_uchar, value: *const c_float )

Convenience function that calls glProgramUniformMatrix3x4fv(program, location, count, transpose, value).

Calls C++ function: void QOpenGLExtraFunctions::glProgramUniformMatrix3x4fv(GLuint program, GLint location, int count, unsigned char transpose, const float* value).

C++ documentation:

Convenience function that calls glProgramUniformMatrix3x4fv(program, location, count, transpose, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniformMatrix3x4fv().

source

pub unsafe fn gl_program_uniform_matrix_4fv( &self, program: u32, location: i32, count: c_int, transpose: c_uchar, value: *const c_float )

Convenience function that calls glProgramUniformMatrix4fv(program, location, count, transpose, value).

Calls C++ function: void QOpenGLExtraFunctions::glProgramUniformMatrix4fv(GLuint program, GLint location, int count, unsigned char transpose, const float* value).

C++ documentation:

Convenience function that calls glProgramUniformMatrix4fv(program, location, count, transpose, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniformMatrix4fv().

source

pub unsafe fn gl_program_uniform_matrix_4x_2fv( &self, program: u32, location: i32, count: c_int, transpose: c_uchar, value: *const c_float )

Convenience function that calls glProgramUniformMatrix4x2fv(program, location, count, transpose, value).

Calls C++ function: void QOpenGLExtraFunctions::glProgramUniformMatrix4x2fv(GLuint program, GLint location, int count, unsigned char transpose, const float* value).

C++ documentation:

Convenience function that calls glProgramUniformMatrix4x2fv(program, location, count, transpose, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniformMatrix4x2fv().

source

pub unsafe fn gl_program_uniform_matrix_4x_3fv( &self, program: u32, location: i32, count: c_int, transpose: c_uchar, value: *const c_float )

Convenience function that calls glProgramUniformMatrix4x3fv(program, location, count, transpose, value).

Calls C++ function: void QOpenGLExtraFunctions::glProgramUniformMatrix4x3fv(GLuint program, GLint location, int count, unsigned char transpose, const float* value).

C++ documentation:

Convenience function that calls glProgramUniformMatrix4x3fv(program, location, count, transpose, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glProgramUniformMatrix4x3fv().

source

pub unsafe fn gl_push_debug_group( &self, source: c_uint, id: u32, length: c_int, message: *const c_char )

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glPushDebugGroup(source, id, length, message).

Calls C++ function: void QOpenGLExtraFunctions::glPushDebugGroup(unsigned int source, GLuint id, int length, const char* message).

C++ documentation:

Convenience function that calls glPushDebugGroup(source, id, length, message).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glPushDebugGroup().

source

pub unsafe fn gl_read_buffer(&self, mode: c_uint)

Convenience function that calls glReadBuffer(src).

Calls C++ function: void QOpenGLExtraFunctions::glReadBuffer(unsigned int mode).

C++ documentation:

Convenience function that calls glReadBuffer(src).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glReadBuffer().

source

pub unsafe fn gl_readn_pixels( &self, x: i32, y: i32, width: c_int, height: c_int, format: c_uint, type_: c_uint, buf_size: c_int, data: *mut c_void )

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glReadnPixels(x, y, width, height, format, type, bufSize, data).

Calls C++ function: void QOpenGLExtraFunctions::glReadnPixels(GLint x, GLint y, int width, int height, unsigned int format, unsigned int type, int bufSize, void* data).

C++ documentation:

Convenience function that calls glReadnPixels(x, y, width, height, format, type, bufSize, data).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glReadnPixels().

source

pub unsafe fn gl_renderbuffer_storage_multisample( &self, target: c_uint, samples: c_int, internalformat: c_uint, width: c_int, height: c_int )

Convenience function that calls glRenderbufferStorageMultisample(target, samples, internalformat, width, height).

Calls C++ function: void QOpenGLExtraFunctions::glRenderbufferStorageMultisample(unsigned int target, int samples, unsigned int internalformat, int width, int height).

C++ documentation:

Convenience function that calls glRenderbufferStorageMultisample(target, samples, internalformat, width, height).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glRenderbufferStorageMultisample().

source

pub unsafe fn gl_resume_transform_feedback(&self)

Convenience function that calls glResumeTransformFeedback().

Calls C++ function: void QOpenGLExtraFunctions::glResumeTransformFeedback().

C++ documentation:

Convenience function that calls glResumeTransformFeedback().

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glResumeTransformFeedback().

source

pub unsafe fn gl_sample_maski(&self, mask_number: u32, mask: c_uint)

Convenience function that calls glSampleMaski(maskNumber, mask).

Calls C++ function: void QOpenGLExtraFunctions::glSampleMaski(GLuint maskNumber, unsigned int mask).

C++ documentation:

Convenience function that calls glSampleMaski(maskNumber, mask).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glSampleMaski().

source

pub unsafe fn gl_sampler_parameter_iiv( &self, sampler: u32, pname: c_uint, param: *const i32 )

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glSamplerParameterIiv(sampler, pname, param).

Calls C++ function: void QOpenGLExtraFunctions::glSamplerParameterIiv(GLuint sampler, unsigned int pname, const GLint* param).

C++ documentation:

Convenience function that calls glSamplerParameterIiv(sampler, pname, param).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glSamplerParameterIiv().

source

pub unsafe fn gl_sampler_parameter_iuiv( &self, sampler: u32, pname: c_uint, param: *const u32 )

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glSamplerParameterIuiv(sampler, pname, param).

Calls C++ function: void QOpenGLExtraFunctions::glSamplerParameterIuiv(GLuint sampler, unsigned int pname, const GLuint* param).

C++ documentation:

Convenience function that calls glSamplerParameterIuiv(sampler, pname, param).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glSamplerParameterIuiv().

source

pub unsafe fn gl_sampler_parameterf( &self, sampler: u32, pname: c_uint, param: c_float )

Convenience function that calls glSamplerParameterf(sampler, pname, param).

Calls C++ function: void QOpenGLExtraFunctions::glSamplerParameterf(GLuint sampler, unsigned int pname, float param).

C++ documentation:

Convenience function that calls glSamplerParameterf(sampler, pname, param).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glSamplerParameterf().

source

pub unsafe fn gl_sampler_parameterfv( &self, sampler: u32, pname: c_uint, param: *const c_float )

Convenience function that calls glSamplerParameterfv(sampler, pname, param).

Calls C++ function: void QOpenGLExtraFunctions::glSamplerParameterfv(GLuint sampler, unsigned int pname, const float* param).

C++ documentation:

Convenience function that calls glSamplerParameterfv(sampler, pname, param).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glSamplerParameterfv().

source

pub unsafe fn gl_sampler_parameteri( &self, sampler: u32, pname: c_uint, param: i32 )

Convenience function that calls glSamplerParameteri(sampler, pname, param).

Calls C++ function: void QOpenGLExtraFunctions::glSamplerParameteri(GLuint sampler, unsigned int pname, GLint param).

C++ documentation:

Convenience function that calls glSamplerParameteri(sampler, pname, param).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glSamplerParameteri().

source

pub unsafe fn gl_sampler_parameteriv( &self, sampler: u32, pname: c_uint, param: *const i32 )

Convenience function that calls glSamplerParameteriv(sampler, pname, param).

Calls C++ function: void QOpenGLExtraFunctions::glSamplerParameteriv(GLuint sampler, unsigned int pname, const GLint* param).

C++ documentation:

Convenience function that calls glSamplerParameteriv(sampler, pname, param).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glSamplerParameteriv().

source

pub unsafe fn gl_tex_buffer( &self, target: c_uint, internalformat: c_uint, buffer: u32 )

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glTexBuffer(target, internalformat, buffer).

Calls C++ function: void QOpenGLExtraFunctions::glTexBuffer(unsigned int target, unsigned int internalformat, GLuint buffer).

C++ documentation:

Convenience function that calls glTexBuffer(target, internalformat, buffer).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glTexBuffer().

source

pub unsafe fn gl_tex_buffer_range( &self, target: c_uint, internalformat: c_uint, buffer: u32, offset: c_long, size: c_long )

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glTexBufferRange(target, internalformat, buffer, offset, size).

Calls C++ function: void QOpenGLExtraFunctions::glTexBufferRange(unsigned int target, unsigned int internalformat, GLuint buffer, long offset, long size).

C++ documentation:

Convenience function that calls glTexBufferRange(target, internalformat, buffer, offset, size).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glTexBufferRange().

source

pub unsafe fn gl_tex_image_3d( &self, target: c_uint, level: i32, internalformat: i32, width: c_int, height: c_int, depth: c_int, border: i32, format: c_uint, type_: c_uint, pixels: *const c_void )

Convenience function that calls glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels).

Calls C++ function: void QOpenGLExtraFunctions::glTexImage3D(unsigned int target, GLint level, GLint internalformat, int width, int height, int depth, GLint border, unsigned int format, unsigned int type, const void* pixels).

C++ documentation:

Convenience function that calls glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glTexImage3D().

source

pub unsafe fn gl_tex_parameter_iiv( &self, target: c_uint, pname: c_uint, params: *const i32 )

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glTexParameterIiv(target, pname, params).

Calls C++ function: void QOpenGLExtraFunctions::glTexParameterIiv(unsigned int target, unsigned int pname, const GLint* params).

C++ documentation:

Convenience function that calls glTexParameterIiv(target, pname, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glTexParameterIiv().

source

pub unsafe fn gl_tex_parameter_iuiv( &self, target: c_uint, pname: c_uint, params: *const u32 )

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glTexParameterIuiv(target, pname, params).

Calls C++ function: void QOpenGLExtraFunctions::glTexParameterIuiv(unsigned int target, unsigned int pname, const GLuint* params).

C++ documentation:

Convenience function that calls glTexParameterIuiv(target, pname, params).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glTexParameterIuiv().

source

pub unsafe fn gl_tex_storage_2d( &self, target: c_uint, levels: c_int, internalformat: c_uint, width: c_int, height: c_int )

Convenience function that calls glTexStorage2D(target, levels, internalformat, width, height).

Calls C++ function: void QOpenGLExtraFunctions::glTexStorage2D(unsigned int target, int levels, unsigned int internalformat, int width, int height).

C++ documentation:

Convenience function that calls glTexStorage2D(target, levels, internalformat, width, height).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glTexStorage2D().

source

pub unsafe fn gl_tex_storage_2d_multisample( &self, target: c_uint, samples: c_int, internalformat: c_uint, width: c_int, height: c_int, fixedsamplelocations: c_uchar )

Convenience function that calls glTexStorage2DMultisample(target, samples, internalformat, width, height, fixedsamplelocations).

Calls C++ function: void QOpenGLExtraFunctions::glTexStorage2DMultisample(unsigned int target, int samples, unsigned int internalformat, int width, int height, unsigned char fixedsamplelocations).

C++ documentation:

Convenience function that calls glTexStorage2DMultisample(target, samples, internalformat, width, height, fixedsamplelocations).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glTexStorage2DMultisample().

source

pub unsafe fn gl_tex_storage_3d( &self, target: c_uint, levels: c_int, internalformat: c_uint, width: c_int, height: c_int, depth: c_int )

Convenience function that calls glTexStorage3D(target, levels, internalformat, width, height, depth).

Calls C++ function: void QOpenGLExtraFunctions::glTexStorage3D(unsigned int target, int levels, unsigned int internalformat, int width, int height, int depth).

C++ documentation:

Convenience function that calls glTexStorage3D(target, levels, internalformat, width, height, depth).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glTexStorage3D().

source

pub unsafe fn gl_tex_storage_3d_multisample( &self, target: c_uint, samples: c_int, internalformat: c_uint, width: c_int, height: c_int, depth: c_int, fixedsamplelocations: c_uchar )

Available on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Convenience function that calls glTexStorage3DMultisample(target, samples, internalformat, width, height, depth, fixedsamplelocations).

Calls C++ function: void QOpenGLExtraFunctions::glTexStorage3DMultisample(unsigned int target, int samples, unsigned int internalformat, int width, int height, int depth, unsigned char fixedsamplelocations).

C++ documentation:

Convenience function that calls glTexStorage3DMultisample(target, samples, internalformat, width, height, depth, fixedsamplelocations).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.2 documentation for glTexStorage3DMultisample().

source

pub unsafe fn gl_tex_sub_image_3d( &self, target: c_uint, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: c_int, height: c_int, depth: c_int, format: c_uint, type_: c_uint, pixels: *const c_void )

Convenience function that calls glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels).

Calls C++ function: void QOpenGLExtraFunctions::glTexSubImage3D(unsigned int target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, int width, int height, int depth, unsigned int format, unsigned int type, const void* pixels).

C++ documentation:

Convenience function that calls glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glTexSubImage3D().

source

pub unsafe fn gl_transform_feedback_varyings( &self, program: u32, count: c_int, varyings: *const *const c_char, buffer_mode: c_uint )

Convenience function that calls glTransformFeedbackVaryings(program, count, varyings, bufferMode).

Calls C++ function: void QOpenGLExtraFunctions::glTransformFeedbackVaryings(GLuint program, int count, const const char** varyings, unsigned int bufferMode).

C++ documentation:

Convenience function that calls glTransformFeedbackVaryings(program, count, varyings, bufferMode).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glTransformFeedbackVaryings().

source

pub unsafe fn gl_uniform_1ui(&self, location: i32, v0: u32)

Convenience function that calls glUniform1ui(location, v0).

Calls C++ function: void QOpenGLExtraFunctions::glUniform1ui(GLint location, GLuint v0).

C++ documentation:

Convenience function that calls glUniform1ui(location, v0).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glUniform1ui().

source

pub unsafe fn gl_uniform_1uiv( &self, location: i32, count: c_int, value: *const u32 )

Convenience function that calls glUniform1uiv(location, count, value).

Calls C++ function: void QOpenGLExtraFunctions::glUniform1uiv(GLint location, int count, const GLuint* value).

C++ documentation:

Convenience function that calls glUniform1uiv(location, count, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glUniform1uiv().

source

pub unsafe fn gl_uniform_2ui(&self, location: i32, v0: u32, v1: u32)

Convenience function that calls glUniform2ui(location, v0, v1).

Calls C++ function: void QOpenGLExtraFunctions::glUniform2ui(GLint location, GLuint v0, GLuint v1).

C++ documentation:

Convenience function that calls glUniform2ui(location, v0, v1).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glUniform2ui().

source

pub unsafe fn gl_uniform_2uiv( &self, location: i32, count: c_int, value: *const u32 )

Convenience function that calls glUniform2uiv(location, count, value).

Calls C++ function: void QOpenGLExtraFunctions::glUniform2uiv(GLint location, int count, const GLuint* value).

C++ documentation:

Convenience function that calls glUniform2uiv(location, count, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glUniform2uiv().

source

pub unsafe fn gl_uniform_3ui(&self, location: i32, v0: u32, v1: u32, v2: u32)

Convenience function that calls glUniform3ui(location, v0, v1, v2).

Calls C++ function: void QOpenGLExtraFunctions::glUniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2).

C++ documentation:

Convenience function that calls glUniform3ui(location, v0, v1, v2).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glUniform3ui().

source

pub unsafe fn gl_uniform_3uiv( &self, location: i32, count: c_int, value: *const u32 )

Convenience function that calls glUniform3uiv(location, count, value).

Calls C++ function: void QOpenGLExtraFunctions::glUniform3uiv(GLint location, int count, const GLuint* value).

C++ documentation:

Convenience function that calls glUniform3uiv(location, count, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glUniform3uiv().

source

pub unsafe fn gl_uniform_4ui( &self, location: i32, v0: u32, v1: u32, v2: u32, v3: u32 )

Convenience function that calls glUniform4ui(location, v0, v1, v2, v3).

Calls C++ function: void QOpenGLExtraFunctions::glUniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3).

C++ documentation:

Convenience function that calls glUniform4ui(location, v0, v1, v2, v3).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glUniform4ui().

source

pub unsafe fn gl_uniform_4uiv( &self, location: i32, count: c_int, value: *const u32 )

Convenience function that calls glUniform4uiv(location, count, value).

Calls C++ function: void QOpenGLExtraFunctions::glUniform4uiv(GLint location, int count, const GLuint* value).

C++ documentation:

Convenience function that calls glUniform4uiv(location, count, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glUniform4uiv().

source

pub unsafe fn gl_uniform_block_binding( &self, program: u32, uniform_block_index: u32, uniform_block_binding: u32 )

Convenience function that calls glUniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding).

Calls C++ function: void QOpenGLExtraFunctions::glUniformBlockBinding(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding).

C++ documentation:

Convenience function that calls glUniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glUniformBlockBinding().

source

pub unsafe fn gl_uniform_matrix_2x_3fv( &self, location: i32, count: c_int, transpose: c_uchar, value: *const c_float )

Convenience function that calls glUniformMatrix2x3fv(location, count, transpose, value).

Calls C++ function: void QOpenGLExtraFunctions::glUniformMatrix2x3fv(GLint location, int count, unsigned char transpose, const float* value).

C++ documentation:

Convenience function that calls glUniformMatrix2x3fv(location, count, transpose, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glUniformMatrix2x3fv().

source

pub unsafe fn gl_uniform_matrix_2x_4fv( &self, location: i32, count: c_int, transpose: c_uchar, value: *const c_float )

Convenience function that calls glUniformMatrix2x4fv(location, count, transpose, value).

Calls C++ function: void QOpenGLExtraFunctions::glUniformMatrix2x4fv(GLint location, int count, unsigned char transpose, const float* value).

C++ documentation:

Convenience function that calls glUniformMatrix2x4fv(location, count, transpose, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glUniformMatrix2x4fv().

source

pub unsafe fn gl_uniform_matrix_3x_2fv( &self, location: i32, count: c_int, transpose: c_uchar, value: *const c_float )

Convenience function that calls glUniformMatrix3x2fv(location, count, transpose, value).

Calls C++ function: void QOpenGLExtraFunctions::glUniformMatrix3x2fv(GLint location, int count, unsigned char transpose, const float* value).

C++ documentation:

Convenience function that calls glUniformMatrix3x2fv(location, count, transpose, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glUniformMatrix3x2fv().

source

pub unsafe fn gl_uniform_matrix_3x_4fv( &self, location: i32, count: c_int, transpose: c_uchar, value: *const c_float )

Convenience function that calls glUniformMatrix3x4fv(location, count, transpose, value).

Calls C++ function: void QOpenGLExtraFunctions::glUniformMatrix3x4fv(GLint location, int count, unsigned char transpose, const float* value).

C++ documentation:

Convenience function that calls glUniformMatrix3x4fv(location, count, transpose, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glUniformMatrix3x4fv().

source

pub unsafe fn gl_uniform_matrix_4x_2fv( &self, location: i32, count: c_int, transpose: c_uchar, value: *const c_float )

Convenience function that calls glUniformMatrix4x2fv(location, count, transpose, value).

Calls C++ function: void QOpenGLExtraFunctions::glUniformMatrix4x2fv(GLint location, int count, unsigned char transpose, const float* value).

C++ documentation:

Convenience function that calls glUniformMatrix4x2fv(location, count, transpose, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glUniformMatrix4x2fv().

source

pub unsafe fn gl_uniform_matrix_4x_3fv( &self, location: i32, count: c_int, transpose: c_uchar, value: *const c_float )

Convenience function that calls glUniformMatrix4x3fv(location, count, transpose, value).

Calls C++ function: void QOpenGLExtraFunctions::glUniformMatrix4x3fv(GLint location, int count, unsigned char transpose, const float* value).

C++ documentation:

Convenience function that calls glUniformMatrix4x3fv(location, count, transpose, value).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glUniformMatrix4x3fv().

source

pub unsafe fn gl_unmap_buffer(&self, target: c_uint) -> c_uchar

Convenience function that calls glUnmapBuffer(target).

Calls C++ function: unsigned char QOpenGLExtraFunctions::glUnmapBuffer(unsigned int target).

C++ documentation:

Convenience function that calls glUnmapBuffer(target).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glUnmapBuffer().

source

pub unsafe fn gl_use_program_stages( &self, pipeline: u32, stages: c_uint, program: u32 )

Convenience function that calls glUseProgramStages(pipeline, stages, program).

Calls C++ function: void QOpenGLExtraFunctions::glUseProgramStages(GLuint pipeline, unsigned int stages, GLuint program).

C++ documentation:

Convenience function that calls glUseProgramStages(pipeline, stages, program).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glUseProgramStages().

source

pub unsafe fn gl_validate_program_pipeline(&self, pipeline: u32)

Convenience function that calls glValidateProgramPipeline(pipeline).

Calls C++ function: void QOpenGLExtraFunctions::glValidateProgramPipeline(GLuint pipeline).

C++ documentation:

Convenience function that calls glValidateProgramPipeline(pipeline).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glValidateProgramPipeline().

source

pub unsafe fn gl_vertex_attrib_binding( &self, attribindex: u32, bindingindex: u32 )

Convenience function that calls glVertexAttribBinding(attribindex, bindingindex).

Calls C++ function: void QOpenGLExtraFunctions::glVertexAttribBinding(GLuint attribindex, GLuint bindingindex).

C++ documentation:

Convenience function that calls glVertexAttribBinding(attribindex, bindingindex).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glVertexAttribBinding().

source

pub unsafe fn gl_vertex_attrib_divisor(&self, index: u32, divisor: u32)

Convenience function that calls glVertexAttribDivisor(index, divisor).

Calls C++ function: void QOpenGLExtraFunctions::glVertexAttribDivisor(GLuint index, GLuint divisor).

C++ documentation:

Convenience function that calls glVertexAttribDivisor(index, divisor).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glVertexAttribDivisor().

source

pub unsafe fn gl_vertex_attrib_format( &self, attribindex: u32, size: i32, type_: c_uint, normalized: c_uchar, relativeoffset: u32 )

Convenience function that calls glVertexAttribFormat(attribindex, size, type, normalized, relativeoffset).

Calls C++ function: void QOpenGLExtraFunctions::glVertexAttribFormat(GLuint attribindex, GLint size, unsigned int type, unsigned char normalized, GLuint relativeoffset).

C++ documentation:

Convenience function that calls glVertexAttribFormat(attribindex, size, type, normalized, relativeoffset).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glVertexAttribFormat().

source

pub unsafe fn gl_vertex_attrib_i4i( &self, index: u32, x: i32, y: i32, z: i32, w: i32 )

Convenience function that calls glVertexAttribI4i(index, x, y, z, w).

Calls C++ function: void QOpenGLExtraFunctions::glVertexAttribI4i(GLuint index, GLint x, GLint y, GLint z, GLint w).

C++ documentation:

Convenience function that calls glVertexAttribI4i(index, x, y, z, w).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glVertexAttribI4i().

source

pub unsafe fn gl_vertex_attrib_i4iv(&self, index: u32, v: *const i32)

Convenience function that calls glVertexAttribI4iv(index, v).

Calls C++ function: void QOpenGLExtraFunctions::glVertexAttribI4iv(GLuint index, const GLint* v).

C++ documentation:

Convenience function that calls glVertexAttribI4iv(index, v).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glVertexAttribI4iv().

source

pub unsafe fn gl_vertex_attrib_i4ui( &self, index: u32, x: u32, y: u32, z: u32, w: u32 )

Convenience function that calls glVertexAttribI4ui(index, x, y, z, w).

Calls C++ function: void QOpenGLExtraFunctions::glVertexAttribI4ui(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w).

C++ documentation:

Convenience function that calls glVertexAttribI4ui(index, x, y, z, w).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glVertexAttribI4ui().

source

pub unsafe fn gl_vertex_attrib_i4uiv(&self, index: u32, v: *const u32)

Convenience function that calls glVertexAttribI4uiv(index, v).

Calls C++ function: void QOpenGLExtraFunctions::glVertexAttribI4uiv(GLuint index, const GLuint* v).

C++ documentation:

Convenience function that calls glVertexAttribI4uiv(index, v).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glVertexAttribI4uiv().

source

pub unsafe fn gl_vertex_attrib_i_format( &self, attribindex: u32, size: i32, type_: c_uint, relativeoffset: u32 )

Convenience function that calls glVertexAttribIFormat(attribindex, size, type, relativeoffset).

Calls C++ function: void QOpenGLExtraFunctions::glVertexAttribIFormat(GLuint attribindex, GLint size, unsigned int type, GLuint relativeoffset).

C++ documentation:

Convenience function that calls glVertexAttribIFormat(attribindex, size, type, relativeoffset).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glVertexAttribIFormat().

source

pub unsafe fn gl_vertex_attrib_i_pointer( &self, index: u32, size: i32, type_: c_uint, stride: c_int, pointer: *const c_void )

Convenience function that calls glVertexAttribIPointer(index, size, type, stride, pointer).

Calls C++ function: void QOpenGLExtraFunctions::glVertexAttribIPointer(GLuint index, GLint size, unsigned int type, int stride, const void* pointer).

C++ documentation:

Convenience function that calls glVertexAttribIPointer(index, size, type, stride, pointer).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glVertexAttribIPointer().

source

pub unsafe fn gl_vertex_binding_divisor(&self, bindingindex: u32, divisor: u32)

Convenience function that calls glVertexBindingDivisor(bindingindex, divisor).

Calls C++ function: void QOpenGLExtraFunctions::glVertexBindingDivisor(GLuint bindingindex, GLuint divisor).

C++ documentation:

Convenience function that calls glVertexBindingDivisor(bindingindex, divisor).

This function is only available in OpenGL ES 3.x, or OpenGL 3.x or 4.x contexts. When running with plain OpenGL, the function is only usable when the given profile and version contains the function either in core or as an extension.

For more information, see the OpenGL ES 3.x documentation for glVertexBindingDivisor().

source

pub unsafe fn new_0a() -> CppBox<QOpenGLExtraFunctions>

Constructs a default function resolver. The resolver cannot be used until initializeOpenGLFunctions() is called to specify the context.

Calls C++ function: [constructor] void QOpenGLExtraFunctions::QOpenGLExtraFunctions().

C++ documentation:

Constructs a default function resolver. The resolver cannot be used until initializeOpenGLFunctions() is called to specify the context.

source

pub unsafe fn new_1a( context: impl CastInto<Ptr<QOpenGLContext>> ) -> CppBox<QOpenGLExtraFunctions>

Constructs a function resolver for context. If context is null, then the resolver will be created for the current QOpenGLContext.

Calls C++ function: [constructor] void QOpenGLExtraFunctions::QOpenGLExtraFunctions(QOpenGLContext* context).

C++ documentation:

Constructs a function resolver for context. If context is null, then the resolver will be created for the current QOpenGLContext.

The context or another context in the group must be current.

An object constructed in this way can only be used with context and other contexts that share with it. Use initializeOpenGLFunctions() to change the object's context association.

source

pub unsafe fn new_copy( other: impl CastInto<Ref<QOpenGLExtraFunctions>> ) -> CppBox<QOpenGLExtraFunctions>

The QOpenGLExtraFunctions class provides cross-platform access to the OpenGL ES 3.0 and 3.1 API.

Calls C++ function: [constructor] void QOpenGLExtraFunctions::QOpenGLExtraFunctions(const QOpenGLExtraFunctions& other).

C++ documentation:

The QOpenGLExtraFunctions class provides cross-platform access to the OpenGL ES 3.0 and 3.1 API.

This subclass of QOpenGLFunctions includes the OpenGL ES 3.0 and 3.1 functions. These will only work when an OpenGL ES 3.0 or 3.1 context, or an OpenGL context of a version containing the functions in question either in core or as extension, is in use. This allows developing GLES 3.0 and 3.1 applications in a cross-platform manner: development can happen on a desktop platform with OpenGL 3.x or 4.x, deploying to a real GLES 3.1 device later on will require no or minimal changes to the application.

Note: This class is different from the versioned OpenGL wrappers, for instance QOpenGLFunctions_3_2_Core. The versioned function wrappers target a given version and profile of OpenGL. They are therefore not suitable for cross-OpenGL-OpenGLES development.

Methods from Deref<Target = QOpenGLFunctions>§

source

pub unsafe fn copy_from( &self, other: impl CastInto<Ref<QOpenGLFunctions>> ) -> Ref<QOpenGLFunctions>

The QOpenGLFunctions class provides cross-platform access to the OpenGL ES 2.0 API.

Calls C++ function: QOpenGLFunctions& QOpenGLFunctions::operator=(const QOpenGLFunctions& other).

C++ documentation:

The QOpenGLFunctions class provides cross-platform access to the OpenGL ES 2.0 API.

OpenGL ES 2.0 defines a subset of the OpenGL specification that is common across many desktop and embedded OpenGL implementations. However, it can be difficult to use the functions from that subset because they need to be resolved manually on desktop systems.

QOpenGLFunctions provides a guaranteed API that is available on all OpenGL systems and takes care of function resolution on systems that need it. The recommended way to use QOpenGLFunctions is by direct inheritance:

class MyGLWindow : public QWindow, protected QOpenGLFunctions { Q_OBJECT public: MyGLWindow(QScreen *screen = 0);

protected: void initializeGL(); void paintGL();

QOpenGLContext *m_context; };

MyGLWindow(QScreen *screen) : QWindow(screen), QOpenGLWidget(parent) { setSurfaceType(OpenGLSurface); create();

// Create an OpenGL context m_context = new QOpenGLContext; m_context->create();

// Setup scene and render it initializeGL(); paintGL(); }

void MyGLWindow::initializeGL() { m_context->makeCurrent(this); initializeOpenGLFunctions(); }

The paintGL() function can then use any of the OpenGL ES 2.0 functions without explicit resolution, such as glActiveTexture() in the following example:

void MyGLWindow::paintGL() { m_context->makeCurrent(this); glActiveTexture(GL_TEXTURE1); glBindTexture(GL_TEXTURE_2D, textureId); ... m_context->swapBuffers(this); m_context->doneCurrent(); }

QOpenGLFunctions can also be used directly for ad-hoc invocation of OpenGL ES 2.0 functions on all platforms:

QOpenGLFunctions glFuncs(QOpenGLContext::currentContext()); glFuncs.glActiveTexture(GL_TEXTURE1);

An alternative approach is to query the context's associated QOpenGLFunctions instance. This is somewhat faster than the previous approach due to avoiding the creation of a new instance, but the difference is fairly small since the internal data structures are shared, and function resolving happens only once for a given context, regardless of the number of QOpenGLFunctions instances initialized for it.

QOpenGLFunctions *glFuncs = QOpenGLContext::currentContext()->functions(); glFuncs->glActiveTexture(GL_TEXTURE1);

QOpenGLFunctions provides wrappers for all OpenGL ES 2.0 functions, including the common subset of OpenGL 1.x and ES 2.0. While such functions, for example glClear() or glDrawArrays(), can be called also directly, as long as the application links to the platform-specific OpenGL library, calling them via QOpenGLFunctions enables the possibility of dynamically loading the OpenGL implementation.

The hasOpenGLFeature() and openGLFeatures() functions can be used to determine if the OpenGL implementation has a major OpenGL ES 2.0 feature. For example, the following checks if non power of two textures are available:

QOpenGLFunctions funcs(QOpenGLContext::currentContext()); bool npot = funcs.hasOpenGLFeature(QOpenGLFunctions::NPOTTextures);

source

pub unsafe fn gl_active_texture(&self, texture: c_uint)

Convenience function that calls glActiveTexture(texture).

Calls C++ function: void QOpenGLFunctions::glActiveTexture(unsigned int texture).

C++ documentation:

Convenience function that calls glActiveTexture(texture).

For more information, see the OpenGL ES 2.0 documentation for glActiveTexture().

source

pub unsafe fn gl_attach_shader(&self, program: u32, shader: u32)

Convenience function that calls glAttachShader(program, shader).

Calls C++ function: void QOpenGLFunctions::glAttachShader(GLuint program, GLuint shader).

C++ documentation:

Convenience function that calls glAttachShader(program, shader).

For more information, see the OpenGL ES 2.0 documentation for glAttachShader().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_bind_attrib_location( &self, program: u32, index: u32, name: *const c_char )

Convenience function that calls glBindAttribLocation(program, index, name).

Calls C++ function: void QOpenGLFunctions::glBindAttribLocation(GLuint program, GLuint index, const char* name).

C++ documentation:

Convenience function that calls glBindAttribLocation(program, index, name).

For more information, see the OpenGL ES 2.0 documentation for glBindAttribLocation().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_bind_buffer(&self, target: c_uint, buffer: u32)

Convenience function that calls glBindBuffer(target, buffer).

Calls C++ function: void QOpenGLFunctions::glBindBuffer(unsigned int target, GLuint buffer).

C++ documentation:

Convenience function that calls glBindBuffer(target, buffer).

For more information, see the OpenGL ES 2.0 documentation for glBindBuffer().

source

pub unsafe fn gl_bind_framebuffer(&self, target: c_uint, framebuffer: u32)

Convenience function that calls glBindFramebuffer(target, framebuffer).

Calls C++ function: void QOpenGLFunctions::glBindFramebuffer(unsigned int target, GLuint framebuffer).

C++ documentation:

Convenience function that calls glBindFramebuffer(target, framebuffer).

Note that Qt will translate a framebuffer argument of 0 to the currently bound QOpenGLContext's defaultFramebufferObject().

For more information, see the OpenGL ES 2.0 documentation for glBindFramebuffer().

source

pub unsafe fn gl_bind_renderbuffer(&self, target: c_uint, renderbuffer: u32)

Convenience function that calls glBindRenderbuffer(target, renderbuffer).

Calls C++ function: void QOpenGLFunctions::glBindRenderbuffer(unsigned int target, GLuint renderbuffer).

C++ documentation:

Convenience function that calls glBindRenderbuffer(target, renderbuffer).

For more information, see the OpenGL ES 2.0 documentation for glBindRenderbuffer().

source

pub unsafe fn gl_bind_texture(&self, target: c_uint, texture: u32)

Convenience function that calls glBindTexture(target, texture).

Calls C++ function: void QOpenGLFunctions::glBindTexture(unsigned int target, GLuint texture).

C++ documentation:

Convenience function that calls glBindTexture(target, texture).

For more information, see the OpenGL ES 2.0 documentation for glBindTexture().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_blend_color( &self, red: c_float, green: c_float, blue: c_float, alpha: c_float )

Convenience function that calls glBlendColor(red, green, blue, alpha).

Calls C++ function: void QOpenGLFunctions::glBlendColor(float red, float green, float blue, float alpha).

C++ documentation:

Convenience function that calls glBlendColor(red, green, blue, alpha).

For more information, see the OpenGL ES 2.0 documentation for glBlendColor().

source

pub unsafe fn gl_blend_equation(&self, mode: c_uint)

Convenience function that calls glBlendEquation(mode).

Calls C++ function: void QOpenGLFunctions::glBlendEquation(unsigned int mode).

C++ documentation:

Convenience function that calls glBlendEquation(mode).

For more information, see the OpenGL ES 2.0 documentation for glBlendEquation().

source

pub unsafe fn gl_blend_equation_separate( &self, mode_r_g_b: c_uint, mode_alpha: c_uint )

Convenience function that calls glBlendEquationSeparate(modeRGB, modeAlpha).

Calls C++ function: void QOpenGLFunctions::glBlendEquationSeparate(unsigned int modeRGB, unsigned int modeAlpha).

C++ documentation:

Convenience function that calls glBlendEquationSeparate(modeRGB, modeAlpha).

For more information, see the OpenGL ES 2.0 documentation for glBlendEquationSeparate().

source

pub unsafe fn gl_blend_func(&self, sfactor: c_uint, dfactor: c_uint)

Convenience function that calls glBlendFunc(sfactor, dfactor).

Calls C++ function: void QOpenGLFunctions::glBlendFunc(unsigned int sfactor, unsigned int dfactor).

C++ documentation:

Convenience function that calls glBlendFunc(sfactor, dfactor).

For more information, see the OpenGL ES 2.0 documentation for glBlendFunc().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_blend_func_separate( &self, src_r_g_b: c_uint, dst_r_g_b: c_uint, src_alpha: c_uint, dst_alpha: c_uint )

Convenience function that calls glBlendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha).

Calls C++ function: void QOpenGLFunctions::glBlendFuncSeparate(unsigned int srcRGB, unsigned int dstRGB, unsigned int srcAlpha, unsigned int dstAlpha).

C++ documentation:

Convenience function that calls glBlendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha).

For more information, see the OpenGL ES 2.0 documentation for glBlendFuncSeparate().

source

pub unsafe fn gl_buffer_data( &self, target: c_uint, size: c_long, data: *const c_void, usage: c_uint )

Convenience function that calls glBufferData(target, size, data, usage).

Calls C++ function: void QOpenGLFunctions::glBufferData(unsigned int target, long size, const void* data, unsigned int usage).

C++ documentation:

Convenience function that calls glBufferData(target, size, data, usage).

For more information, see the OpenGL ES 2.0 documentation for glBufferData().

source

pub unsafe fn gl_buffer_sub_data( &self, target: c_uint, offset: c_long, size: c_long, data: *const c_void )

Convenience function that calls glBufferSubData(target, offset, size, data).

Calls C++ function: void QOpenGLFunctions::glBufferSubData(unsigned int target, long offset, long size, const void* data).

C++ documentation:

Convenience function that calls glBufferSubData(target, offset, size, data).

For more information, see the OpenGL ES 2.0 documentation for glBufferSubData().

source

pub unsafe fn gl_check_framebuffer_status(&self, target: c_uint) -> c_uint

Convenience function that calls glCheckFramebufferStatus(target).

Calls C++ function: unsigned int QOpenGLFunctions::glCheckFramebufferStatus(unsigned int target).

C++ documentation:

Convenience function that calls glCheckFramebufferStatus(target).

For more information, see the OpenGL ES 2.0 documentation for glCheckFramebufferStatus().

source

pub unsafe fn gl_clear(&self, mask: c_uint)

Convenience function that calls glClear(mask).

Calls C++ function: void QOpenGLFunctions::glClear(unsigned int mask).

C++ documentation:

Convenience function that calls glClear(mask).

For more information, see the OpenGL ES 2.0 documentation for glClear().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_clear_color( &self, red: c_float, green: c_float, blue: c_float, alpha: c_float )

Convenience function that calls glClearColor(red, green, blue, alpha).

Calls C++ function: void QOpenGLFunctions::glClearColor(float red, float green, float blue, float alpha).

C++ documentation:

Convenience function that calls glClearColor(red, green, blue, alpha).

For more information, see the OpenGL ES 2.0 documentation for glClearColor().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_clear_depthf(&self, depth: c_float)

Convenience function that calls glClearDepth(depth) on desktop OpenGL systems and glClearDepthf(depth) on embedded OpenGL ES systems.

Calls C++ function: void QOpenGLFunctions::glClearDepthf(float depth).

C++ documentation:

Convenience function that calls glClearDepth(depth) on desktop OpenGL systems and glClearDepthf(depth) on embedded OpenGL ES systems.

For more information, see the OpenGL ES 2.0 documentation for glClearDepthf().

source

pub unsafe fn gl_clear_stencil(&self, s: i32)

Convenience function that calls glClearStencil(s).

Calls C++ function: void QOpenGLFunctions::glClearStencil(GLint s).

C++ documentation:

Convenience function that calls glClearStencil(s).

For more information, see the OpenGL ES 2.0 documentation for glClearStencil().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_color_mask( &self, red: c_uchar, green: c_uchar, blue: c_uchar, alpha: c_uchar )

Convenience function that calls glColorMask(red, green, blue, alpha).

Calls C++ function: void QOpenGLFunctions::glColorMask(unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha).

C++ documentation:

Convenience function that calls glColorMask(red, green, blue, alpha).

For more information, see the OpenGL ES 2.0 documentation for glColorMask().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_compile_shader(&self, shader: u32)

Convenience function that calls glCompileShader(shader).

Calls C++ function: void QOpenGLFunctions::glCompileShader(GLuint shader).

C++ documentation:

Convenience function that calls glCompileShader(shader).

For more information, see the OpenGL ES 2.0 documentation for glCompileShader().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_compressed_tex_image_2d( &self, target: c_uint, level: i32, internalformat: c_uint, width: c_int, height: c_int, border: i32, image_size: c_int, data: *const c_void )

Convenience function that calls glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data).

Calls C++ function: void QOpenGLFunctions::glCompressedTexImage2D(unsigned int target, GLint level, unsigned int internalformat, int width, int height, GLint border, int imageSize, const void* data).

C++ documentation:

Convenience function that calls glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data).

For more information, see the OpenGL ES 2.0 documentation for glCompressedTexImage2D().

source

pub unsafe fn gl_compressed_tex_sub_image_2d( &self, target: c_uint, level: i32, xoffset: i32, yoffset: i32, width: c_int, height: c_int, format: c_uint, image_size: c_int, data: *const c_void )

Convenience function that calls glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data).

Calls C++ function: void QOpenGLFunctions::glCompressedTexSubImage2D(unsigned int target, GLint level, GLint xoffset, GLint yoffset, int width, int height, unsigned int format, int imageSize, const void* data).

C++ documentation:

Convenience function that calls glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data).

For more information, see the OpenGL ES 2.0 documentation for glCompressedTexSubImage2D().

source

pub unsafe fn gl_copy_tex_image_2d( &self, target: c_uint, level: i32, internalformat: c_uint, x: i32, y: i32, width: c_int, height: c_int, border: i32 )

Convenience function that calls glCopyTexImage2D(target, level, internalformat, x, y, width, height, border).

Calls C++ function: void QOpenGLFunctions::glCopyTexImage2D(unsigned int target, GLint level, unsigned int internalformat, GLint x, GLint y, int width, int height, GLint border).

C++ documentation:

Convenience function that calls glCopyTexImage2D(target, level, internalformat, x, y, width, height, border).

For more information, see the OpenGL ES 2.0 documentation for glCopyTexImage2D().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_copy_tex_sub_image_2d( &self, target: c_uint, level: i32, xoffset: i32, yoffset: i32, x: i32, y: i32, width: c_int, height: c_int )

Convenience function that calls glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height).

Calls C++ function: void QOpenGLFunctions::glCopyTexSubImage2D(unsigned int target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, int width, int height).

C++ documentation:

Convenience function that calls glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height).

For more information, see the OpenGL ES 2.0 documentation for glCopyTexSubImage2D().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_create_program(&self) -> u32

Convenience function that calls glCreateProgram().

Calls C++ function: GLuint QOpenGLFunctions::glCreateProgram().

C++ documentation:

Convenience function that calls glCreateProgram().

For more information, see the OpenGL ES 2.0 documentation for glCreateProgram().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_create_shader(&self, type_: c_uint) -> u32

Convenience function that calls glCreateShader(type).

Calls C++ function: GLuint QOpenGLFunctions::glCreateShader(unsigned int type).

C++ documentation:

Convenience function that calls glCreateShader(type).

For more information, see the OpenGL ES 2.0 documentation for glCreateShader().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_cull_face(&self, mode: c_uint)

Convenience function that calls glCullFace(mode).

Calls C++ function: void QOpenGLFunctions::glCullFace(unsigned int mode).

C++ documentation:

Convenience function that calls glCullFace(mode).

For more information, see the OpenGL ES 2.0 documentation for glCullFace().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_delete_buffers(&self, n: c_int, buffers: *const u32)

Convenience function that calls glDeleteBuffers(n, buffers).

Calls C++ function: void QOpenGLFunctions::glDeleteBuffers(int n, const GLuint* buffers).

C++ documentation:

Convenience function that calls glDeleteBuffers(n, buffers).

For more information, see the OpenGL ES 2.0 documentation for glDeleteBuffers().

source

pub unsafe fn gl_delete_framebuffers(&self, n: c_int, framebuffers: *const u32)

Convenience function that calls glDeleteFramebuffers(n, framebuffers).

Calls C++ function: void QOpenGLFunctions::glDeleteFramebuffers(int n, const GLuint* framebuffers).

C++ documentation:

Convenience function that calls glDeleteFramebuffers(n, framebuffers).

For more information, see the OpenGL ES 2.0 documentation for glDeleteFramebuffers().

source

pub unsafe fn gl_delete_program(&self, program: u32)

Convenience function that calls glDeleteProgram(program).

Calls C++ function: void QOpenGLFunctions::glDeleteProgram(GLuint program).

C++ documentation:

Convenience function that calls glDeleteProgram(program).

For more information, see the OpenGL ES 2.0 documentation for glDeleteProgram().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_delete_renderbuffers( &self, n: c_int, renderbuffers: *const u32 )

Convenience function that calls glDeleteRenderbuffers(n, renderbuffers).

Calls C++ function: void QOpenGLFunctions::glDeleteRenderbuffers(int n, const GLuint* renderbuffers).

C++ documentation:

Convenience function that calls glDeleteRenderbuffers(n, renderbuffers).

For more information, see the OpenGL ES 2.0 documentation for glDeleteRenderbuffers().

source

pub unsafe fn gl_delete_shader(&self, shader: u32)

Convenience function that calls glDeleteShader(shader).

Calls C++ function: void QOpenGLFunctions::glDeleteShader(GLuint shader).

C++ documentation:

Convenience function that calls glDeleteShader(shader).

For more information, see the OpenGL ES 2.0 documentation for glDeleteShader().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_delete_textures(&self, n: c_int, textures: *const u32)

Convenience function that calls glDeleteTextures(n, textures).

Calls C++ function: void QOpenGLFunctions::glDeleteTextures(int n, const GLuint* textures).

C++ documentation:

Convenience function that calls glDeleteTextures(n, textures).

For more information, see the OpenGL ES 2.0 documentation for glDeleteTextures().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_depth_func(&self, func: c_uint)

Convenience function that calls glDepthFunc(func).

Calls C++ function: void QOpenGLFunctions::glDepthFunc(unsigned int func).

C++ documentation:

Convenience function that calls glDepthFunc(func).

For more information, see the OpenGL ES 2.0 documentation for glDepthFunc().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_depth_mask(&self, flag: c_uchar)

Convenience function that calls glDepthMask(flag).

Calls C++ function: void QOpenGLFunctions::glDepthMask(unsigned char flag).

C++ documentation:

Convenience function that calls glDepthMask(flag).

For more information, see the OpenGL ES 2.0 documentation for glDepthMask().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_depth_rangef(&self, z_near: c_float, z_far: c_float)

Convenience function that calls glDepthRange(zNear, zFar) on desktop OpenGL systems and glDepthRangef(zNear, zFar) on embedded OpenGL ES systems.

Calls C++ function: void QOpenGLFunctions::glDepthRangef(float zNear, float zFar).

C++ documentation:

Convenience function that calls glDepthRange(zNear, zFar) on desktop OpenGL systems and glDepthRangef(zNear, zFar) on embedded OpenGL ES systems.

For more information, see the OpenGL ES 2.0 documentation for glDepthRangef().

source

pub unsafe fn gl_detach_shader(&self, program: u32, shader: u32)

Convenience function that calls glDetachShader(program, shader).

Calls C++ function: void QOpenGLFunctions::glDetachShader(GLuint program, GLuint shader).

C++ documentation:

Convenience function that calls glDetachShader(program, shader).

For more information, see the OpenGL ES 2.0 documentation for glDetachShader().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_disable(&self, cap: c_uint)

Convenience function that calls glDisable(cap).

Calls C++ function: void QOpenGLFunctions::glDisable(unsigned int cap).

C++ documentation:

Convenience function that calls glDisable(cap).

For more information, see the OpenGL ES 2.0 documentation for glDisable().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_disable_vertex_attrib_array(&self, index: u32)

Convenience function that calls glDisableVertexAttribArray(index).

Calls C++ function: void QOpenGLFunctions::glDisableVertexAttribArray(GLuint index).

C++ documentation:

Convenience function that calls glDisableVertexAttribArray(index).

For more information, see the OpenGL ES 2.0 documentation for glDisableVertexAttribArray().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_draw_arrays(&self, mode: c_uint, first: i32, count: c_int)

Convenience function that calls glDrawArrays(mode, first, count).

Calls C++ function: void QOpenGLFunctions::glDrawArrays(unsigned int mode, GLint first, int count).

C++ documentation:

Convenience function that calls glDrawArrays(mode, first, count).

For more information, see the OpenGL ES 2.0 documentation for glDrawArrays().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_draw_elements( &self, mode: c_uint, count: c_int, type_: c_uint, indices: *const c_void )

Convenience function that calls glDrawElements(mode, count, type, indices).

Calls C++ function: void QOpenGLFunctions::glDrawElements(unsigned int mode, int count, unsigned int type, const void* indices).

C++ documentation:

Convenience function that calls glDrawElements(mode, count, type, indices).

For more information, see the OpenGL ES 2.0 documentation for glDrawElements().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_enable(&self, cap: c_uint)

Convenience function that calls glEnable(cap).

Calls C++ function: void QOpenGLFunctions::glEnable(unsigned int cap).

C++ documentation:

Convenience function that calls glEnable(cap).

For more information, see the OpenGL ES 2.0 documentation for glEnable().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_enable_vertex_attrib_array(&self, index: u32)

Convenience function that calls glEnableVertexAttribArray(index).

Calls C++ function: void QOpenGLFunctions::glEnableVertexAttribArray(GLuint index).

C++ documentation:

Convenience function that calls glEnableVertexAttribArray(index).

For more information, see the OpenGL ES 2.0 documentation for glEnableVertexAttribArray().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_finish(&self)

Convenience function that calls glFinish().

Calls C++ function: void QOpenGLFunctions::glFinish().

C++ documentation:

Convenience function that calls glFinish().

For more information, see the OpenGL ES 2.0 documentation for glFinish().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_flush(&self)

Convenience function that calls glFlush().

Calls C++ function: void QOpenGLFunctions::glFlush().

C++ documentation:

Convenience function that calls glFlush().

For more information, see the OpenGL ES 2.0 documentation for glFlush().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_framebuffer_renderbuffer( &self, target: c_uint, attachment: c_uint, renderbuffertarget: c_uint, renderbuffer: u32 )

Convenience function that calls glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer).

Calls C++ function: void QOpenGLFunctions::glFramebufferRenderbuffer(unsigned int target, unsigned int attachment, unsigned int renderbuffertarget, GLuint renderbuffer).

C++ documentation:

Convenience function that calls glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer).

For more information, see the OpenGL ES 2.0 documentation for glFramebufferRenderbuffer().

source

pub unsafe fn gl_framebuffer_texture_2d( &self, target: c_uint, attachment: c_uint, textarget: c_uint, texture: u32, level: i32 )

Convenience function that calls glFramebufferTexture2D(target, attachment, textarget, texture, level).

Calls C++ function: void QOpenGLFunctions::glFramebufferTexture2D(unsigned int target, unsigned int attachment, unsigned int textarget, GLuint texture, GLint level).

C++ documentation:

Convenience function that calls glFramebufferTexture2D(target, attachment, textarget, texture, level).

For more information, see the OpenGL ES 2.0 documentation for glFramebufferTexture2D().

source

pub unsafe fn gl_front_face(&self, mode: c_uint)

Convenience function that calls glFrontFace(mode).

Calls C++ function: void QOpenGLFunctions::glFrontFace(unsigned int mode).

C++ documentation:

Convenience function that calls glFrontFace(mode).

For more information, see the OpenGL ES 2.0 documentation for glFrontFace().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_gen_buffers(&self, n: c_int, buffers: *mut u32)

Convenience function that calls glGenBuffers(n, buffers).

Calls C++ function: void QOpenGLFunctions::glGenBuffers(int n, GLuint* buffers).

C++ documentation:

Convenience function that calls glGenBuffers(n, buffers).

For more information, see the OpenGL ES 2.0 documentation for glGenBuffers().

source

pub unsafe fn gl_gen_framebuffers(&self, n: c_int, framebuffers: *mut u32)

Convenience function that calls glGenFramebuffers(n, framebuffers).

Calls C++ function: void QOpenGLFunctions::glGenFramebuffers(int n, GLuint* framebuffers).

C++ documentation:

Convenience function that calls glGenFramebuffers(n, framebuffers).

For more information, see the OpenGL ES 2.0 documentation for glGenFramebuffers().

source

pub unsafe fn gl_gen_renderbuffers(&self, n: c_int, renderbuffers: *mut u32)

Convenience function that calls glGenRenderbuffers(n, renderbuffers).

Calls C++ function: void QOpenGLFunctions::glGenRenderbuffers(int n, GLuint* renderbuffers).

C++ documentation:

Convenience function that calls glGenRenderbuffers(n, renderbuffers).

For more information, see the OpenGL ES 2.0 documentation for glGenRenderbuffers().

source

pub unsafe fn gl_gen_textures(&self, n: c_int, textures: *mut u32)

Convenience function that calls glGenTextures(n, textures).

Calls C++ function: void QOpenGLFunctions::glGenTextures(int n, GLuint* textures).

C++ documentation:

Convenience function that calls glGenTextures(n, textures).

For more information, see the OpenGL ES 2.0 documentation for glGenTextures().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_generate_mipmap(&self, target: c_uint)

Convenience function that calls glGenerateMipmap(target).

Calls C++ function: void QOpenGLFunctions::glGenerateMipmap(unsigned int target).

C++ documentation:

Convenience function that calls glGenerateMipmap(target).

For more information, see the OpenGL ES 2.0 documentation for glGenerateMipmap().

source

pub unsafe fn gl_get_active_attrib( &self, program: u32, index: u32, bufsize: c_int, length: *mut c_int, size: *mut i32, type_: *mut c_uint, name: *mut c_char )

Convenience function that calls glGetActiveAttrib(program, index, bufsize, length, size, type, name).

Calls C++ function: void QOpenGLFunctions::glGetActiveAttrib(GLuint program, GLuint index, int bufsize, int* length, GLint* size, unsigned int* type, char* name).

C++ documentation:

Convenience function that calls glGetActiveAttrib(program, index, bufsize, length, size, type, name).

For more information, see the OpenGL ES 2.0 documentation for glGetActiveAttrib().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_get_active_uniform( &self, program: u32, index: u32, bufsize: c_int, length: *mut c_int, size: *mut i32, type_: *mut c_uint, name: *mut c_char )

Convenience function that calls glGetActiveUniform(program, index, bufsize, length, size, type, name).

Calls C++ function: void QOpenGLFunctions::glGetActiveUniform(GLuint program, GLuint index, int bufsize, int* length, GLint* size, unsigned int* type, char* name).

C++ documentation:

Convenience function that calls glGetActiveUniform(program, index, bufsize, length, size, type, name).

For more information, see the OpenGL ES 2.0 documentation for glGetActiveUniform().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_get_attached_shaders( &self, program: u32, maxcount: c_int, count: *mut c_int, shaders: *mut u32 )

Convenience function that calls glGetAttachedShaders(program, maxcount, count, shaders).

Calls C++ function: void QOpenGLFunctions::glGetAttachedShaders(GLuint program, int maxcount, int* count, GLuint* shaders).

C++ documentation:

Convenience function that calls glGetAttachedShaders(program, maxcount, count, shaders).

For more information, see the OpenGL ES 2.0 documentation for glGetAttachedShaders().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_get_attrib_location( &self, program: u32, name: *const c_char ) -> i32

Convenience function that calls glGetAttribLocation(program, name).

Calls C++ function: GLint QOpenGLFunctions::glGetAttribLocation(GLuint program, const char* name).

C++ documentation:

Convenience function that calls glGetAttribLocation(program, name).

For more information, see the OpenGL ES 2.0 documentation for glGetAttribLocation().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_get_booleanv(&self, pname: c_uint, params: *mut c_uchar)

Convenience function that calls glGetBooleanv(pname, params).

Calls C++ function: void QOpenGLFunctions::glGetBooleanv(unsigned int pname, unsigned char* params).

C++ documentation:

Convenience function that calls glGetBooleanv(pname, params).

For more information, see the OpenGL ES 2.0 documentation for glGetBooleanv().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_get_buffer_parameteriv( &self, target: c_uint, pname: c_uint, params: *mut i32 )

Convenience function that calls glGetBufferParameteriv(target, pname, params).

Calls C++ function: void QOpenGLFunctions::glGetBufferParameteriv(unsigned int target, unsigned int pname, GLint* params).

C++ documentation:

Convenience function that calls glGetBufferParameteriv(target, pname, params).

For more information, see the OpenGL ES 2.0 documentation for glGetBufferParameteriv().

source

pub unsafe fn gl_get_error(&self) -> c_uint

Convenience function that calls glGetError().

Calls C++ function: unsigned int QOpenGLFunctions::glGetError().

C++ documentation:

Convenience function that calls glGetError().

For more information, see the OpenGL ES 2.0 documentation for glGetError().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_get_floatv(&self, pname: c_uint, params: *mut c_float)

Convenience function that calls glGetFloatv(pname, params).

Calls C++ function: void QOpenGLFunctions::glGetFloatv(unsigned int pname, float* params).

C++ documentation:

Convenience function that calls glGetFloatv(pname, params).

For more information, see the OpenGL ES 2.0 documentation for glGetFloatv().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_get_framebuffer_attachment_parameteriv( &self, target: c_uint, attachment: c_uint, pname: c_uint, params: *mut i32 )

Convenience function that calls glGetFramebufferAttachmentParameteriv(target, attachment, pname, params).

Calls C++ function: void QOpenGLFunctions::glGetFramebufferAttachmentParameteriv(unsigned int target, unsigned int attachment, unsigned int pname, GLint* params).

C++ documentation:

Convenience function that calls glGetFramebufferAttachmentParameteriv(target, attachment, pname, params).

For more information, see the OpenGL ES 2.0 documentation for glGetFramebufferAttachmentParameteriv().

source

pub unsafe fn gl_get_integerv(&self, pname: c_uint, params: *mut i32)

Convenience function that calls glGetIntegerv(pname, params).

Calls C++ function: void QOpenGLFunctions::glGetIntegerv(unsigned int pname, GLint* params).

C++ documentation:

Convenience function that calls glGetIntegerv(pname, params).

For more information, see the OpenGL ES 2.0 documentation for glGetIntegerv().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_get_program_info_log( &self, program: u32, bufsize: c_int, length: *mut c_int, infolog: *mut c_char )

Convenience function that calls glGetProgramInfoLog(program, bufsize, length, infolog).

Calls C++ function: void QOpenGLFunctions::glGetProgramInfoLog(GLuint program, int bufsize, int* length, char* infolog).

C++ documentation:

Convenience function that calls glGetProgramInfoLog(program, bufsize, length, infolog).

For more information, see the OpenGL ES 2.0 documentation for glGetProgramInfoLog().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_get_programiv( &self, program: u32, pname: c_uint, params: *mut i32 )

Convenience function that calls glGetProgramiv(program, pname, params).

Calls C++ function: void QOpenGLFunctions::glGetProgramiv(GLuint program, unsigned int pname, GLint* params).

C++ documentation:

Convenience function that calls glGetProgramiv(program, pname, params).

For more information, see the OpenGL ES 2.0 documentation for glGetProgramiv().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_get_renderbuffer_parameteriv( &self, target: c_uint, pname: c_uint, params: *mut i32 )

Convenience function that calls glGetRenderbufferParameteriv(target, pname, params).

Calls C++ function: void QOpenGLFunctions::glGetRenderbufferParameteriv(unsigned int target, unsigned int pname, GLint* params).

C++ documentation:

Convenience function that calls glGetRenderbufferParameteriv(target, pname, params).

For more information, see the OpenGL ES 2.0 documentation for glGetRenderbufferParameteriv().

source

pub unsafe fn gl_get_shader_info_log( &self, shader: u32, bufsize: c_int, length: *mut c_int, infolog: *mut c_char )

Convenience function that calls glGetShaderInfoLog(shader, bufsize, length, infolog).

Calls C++ function: void QOpenGLFunctions::glGetShaderInfoLog(GLuint shader, int bufsize, int* length, char* infolog).

C++ documentation:

Convenience function that calls glGetShaderInfoLog(shader, bufsize, length, infolog).

For more information, see the OpenGL ES 2.0 documentation for glGetShaderInfoLog().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_get_shader_precision_format( &self, shadertype: c_uint, precisiontype: c_uint, range: *mut i32, precision: *mut i32 )

Convenience function that calls glGetShaderPrecisionFormat(shadertype, precisiontype, range, precision).

Calls C++ function: void QOpenGLFunctions::glGetShaderPrecisionFormat(unsigned int shadertype, unsigned int precisiontype, GLint* range, GLint* precision).

C++ documentation:

Convenience function that calls glGetShaderPrecisionFormat(shadertype, precisiontype, range, precision).

For more information, see the OpenGL ES 2.0 documentation for glGetShaderPrecisionFormat().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_get_shader_source( &self, shader: u32, bufsize: c_int, length: *mut c_int, source: *mut c_char )

Convenience function that calls glGetShaderSource(shader, bufsize, length, source).

Calls C++ function: void QOpenGLFunctions::glGetShaderSource(GLuint shader, int bufsize, int* length, char* source).

C++ documentation:

Convenience function that calls glGetShaderSource(shader, bufsize, length, source).

For more information, see the OpenGL ES 2.0 documentation for glGetShaderSource().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_get_shaderiv( &self, shader: u32, pname: c_uint, params: *mut i32 )

Convenience function that calls glGetShaderiv(shader, pname, params).

Calls C++ function: void QOpenGLFunctions::glGetShaderiv(GLuint shader, unsigned int pname, GLint* params).

C++ documentation:

Convenience function that calls glGetShaderiv(shader, pname, params).

For more information, see the OpenGL ES 2.0 documentation for glGetShaderiv().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_get_string(&self, name: c_uint) -> *const u8

Convenience function that calls glGetString(name).

Calls C++ function: const GLubyte* QOpenGLFunctions::glGetString(unsigned int name).

C++ documentation:

Convenience function that calls glGetString(name).

For more information, see the OpenGL ES 2.0 documentation for glGetString().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_get_tex_parameterfv( &self, target: c_uint, pname: c_uint, params: *mut c_float )

Convenience function that calls glGetTexParameterfv(target, pname, params).

Calls C++ function: void QOpenGLFunctions::glGetTexParameterfv(unsigned int target, unsigned int pname, float* params).

C++ documentation:

Convenience function that calls glGetTexParameterfv(target, pname, params).

For more information, see the OpenGL ES 2.0 documentation for glGetTexParameterfv().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_get_tex_parameteriv( &self, target: c_uint, pname: c_uint, params: *mut i32 )

Convenience function that calls glGetTexParameteriv(target, pname, params).

Calls C++ function: void QOpenGLFunctions::glGetTexParameteriv(unsigned int target, unsigned int pname, GLint* params).

C++ documentation:

Convenience function that calls glGetTexParameteriv(target, pname, params).

For more information, see the OpenGL ES 2.0 documentation for glGetTexParameteriv().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_get_uniform_location( &self, program: u32, name: *const c_char ) -> i32

Convenience function that calls glGetUniformLocation(program, name).

Calls C++ function: GLint QOpenGLFunctions::glGetUniformLocation(GLuint program, const char* name).

C++ documentation:

Convenience function that calls glGetUniformLocation(program, name).

For more information, see the OpenGL ES 2.0 documentation for glGetUniformLocation().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_get_uniformfv( &self, program: u32, location: i32, params: *mut c_float )

Convenience function that calls glGetUniformfv(program, location, params).

Calls C++ function: void QOpenGLFunctions::glGetUniformfv(GLuint program, GLint location, float* params).

C++ documentation:

Convenience function that calls glGetUniformfv(program, location, params).

For more information, see the OpenGL ES 2.0 documentation for glGetUniformfv().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_get_uniformiv( &self, program: u32, location: i32, params: *mut i32 )

Convenience function that calls glGetUniformiv(program, location, params).

Calls C++ function: void QOpenGLFunctions::glGetUniformiv(GLuint program, GLint location, GLint* params).

C++ documentation:

Convenience function that calls glGetUniformiv(program, location, params).

For more information, see the OpenGL ES 2.0 documentation for glGetUniformiv().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_get_vertex_attrib_pointerv( &self, index: u32, pname: c_uint, pointer: *mut *mut c_void )

Convenience function that calls glGetVertexAttribPointerv(index, pname, pointer).

Calls C++ function: void QOpenGLFunctions::glGetVertexAttribPointerv(GLuint index, unsigned int pname, void** pointer).

C++ documentation:

Convenience function that calls glGetVertexAttribPointerv(index, pname, pointer).

For more information, see the OpenGL ES 2.0 documentation for glGetVertexAttribPointerv().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_get_vertex_attribfv( &self, index: u32, pname: c_uint, params: *mut c_float )

Convenience function that calls glGetVertexAttribfv(index, pname, params).

Calls C++ function: void QOpenGLFunctions::glGetVertexAttribfv(GLuint index, unsigned int pname, float* params).

C++ documentation:

Convenience function that calls glGetVertexAttribfv(index, pname, params).

For more information, see the OpenGL ES 2.0 documentation for glGetVertexAttribfv().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_get_vertex_attribiv( &self, index: u32, pname: c_uint, params: *mut i32 )

Convenience function that calls glGetVertexAttribiv(index, pname, params).

Calls C++ function: void QOpenGLFunctions::glGetVertexAttribiv(GLuint index, unsigned int pname, GLint* params).

C++ documentation:

Convenience function that calls glGetVertexAttribiv(index, pname, params).

For more information, see the OpenGL ES 2.0 documentation for glGetVertexAttribiv().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_hint(&self, target: c_uint, mode: c_uint)

Convenience function that calls glHint(target, mode).

Calls C++ function: void QOpenGLFunctions::glHint(unsigned int target, unsigned int mode).

C++ documentation:

Convenience function that calls glHint(target, mode).

For more information, see the OpenGL ES 2.0 documentation for glHint().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_is_buffer(&self, buffer: u32) -> c_uchar

Convenience function that calls glIsBuffer(buffer).

Calls C++ function: unsigned char QOpenGLFunctions::glIsBuffer(GLuint buffer).

C++ documentation:

Convenience function that calls glIsBuffer(buffer).

For more information, see the OpenGL ES 2.0 documentation for glIsBuffer().

source

pub unsafe fn gl_is_enabled(&self, cap: c_uint) -> c_uchar

Convenience function that calls glIsEnabled(cap).

Calls C++ function: unsigned char QOpenGLFunctions::glIsEnabled(unsigned int cap).

C++ documentation:

Convenience function that calls glIsEnabled(cap).

For more information, see the OpenGL ES 2.0 documentation for glIsEnabled().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_is_framebuffer(&self, framebuffer: u32) -> c_uchar

Convenience function that calls glIsFramebuffer(framebuffer).

Calls C++ function: unsigned char QOpenGLFunctions::glIsFramebuffer(GLuint framebuffer).

C++ documentation:

Convenience function that calls glIsFramebuffer(framebuffer).

For more information, see the OpenGL ES 2.0 documentation for glIsFramebuffer().

source

pub unsafe fn gl_is_program(&self, program: u32) -> c_uchar

Convenience function that calls glIsProgram(program).

Calls C++ function: unsigned char QOpenGLFunctions::glIsProgram(GLuint program).

C++ documentation:

Convenience function that calls glIsProgram(program).

For more information, see the OpenGL ES 2.0 documentation for glIsProgram().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_is_renderbuffer(&self, renderbuffer: u32) -> c_uchar

Convenience function that calls glIsRenderbuffer(renderbuffer).

Calls C++ function: unsigned char QOpenGLFunctions::glIsRenderbuffer(GLuint renderbuffer).

C++ documentation:

Convenience function that calls glIsRenderbuffer(renderbuffer).

For more information, see the OpenGL ES 2.0 documentation for glIsRenderbuffer().

source

pub unsafe fn gl_is_shader(&self, shader: u32) -> c_uchar

Convenience function that calls glIsShader(shader).

Calls C++ function: unsigned char QOpenGLFunctions::glIsShader(GLuint shader).

C++ documentation:

Convenience function that calls glIsShader(shader).

For more information, see the OpenGL ES 2.0 documentation for glIsShader().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_is_texture(&self, texture: u32) -> c_uchar

Convenience function that calls glIsTexture(texture).

Calls C++ function: unsigned char QOpenGLFunctions::glIsTexture(GLuint texture).

C++ documentation:

Convenience function that calls glIsTexture(texture).

For more information, see the OpenGL ES 2.0 documentation for glIsTexture().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_line_width(&self, width: c_float)

Convenience function that calls glLineWidth(width).

Calls C++ function: void QOpenGLFunctions::glLineWidth(float width).

C++ documentation:

Convenience function that calls glLineWidth(width).

For more information, see the OpenGL ES 2.0 documentation for glLineWidth().

This function was introduced in Qt 5.3.

Convenience function that calls glLinkProgram(program).

Calls C++ function: void QOpenGLFunctions::glLinkProgram(GLuint program).

C++ documentation:

Convenience function that calls glLinkProgram(program).

For more information, see the OpenGL ES 2.0 documentation for glLinkProgram().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_pixel_storei(&self, pname: c_uint, param: i32)

Convenience function that calls glPixelStorei(pname, param).

Calls C++ function: void QOpenGLFunctions::glPixelStorei(unsigned int pname, GLint param).

C++ documentation:

Convenience function that calls glPixelStorei(pname, param).

For more information, see the OpenGL ES 2.0 documentation for glPixelStorei().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_polygon_offset(&self, factor: c_float, units: c_float)

Convenience function that calls glPolygonOffset(factor, units).

Calls C++ function: void QOpenGLFunctions::glPolygonOffset(float factor, float units).

C++ documentation:

Convenience function that calls glPolygonOffset(factor, units).

For more information, see the OpenGL ES 2.0 documentation for glPolygonOffset().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_read_pixels( &self, x: i32, y: i32, width: c_int, height: c_int, format: c_uint, type_: c_uint, pixels: *mut c_void )

Convenience function that calls glReadPixels(x, y, width, height, format, type, pixels).

Calls C++ function: void QOpenGLFunctions::glReadPixels(GLint x, GLint y, int width, int height, unsigned int format, unsigned int type, void* pixels).

C++ documentation:

Convenience function that calls glReadPixels(x, y, width, height, format, type, pixels).

For more information, see the OpenGL ES 2.0 documentation for glReadPixels().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_release_shader_compiler(&self)

Convenience function that calls glReleaseShaderCompiler().

Calls C++ function: void QOpenGLFunctions::glReleaseShaderCompiler().

C++ documentation:

Convenience function that calls glReleaseShaderCompiler().

For more information, see the OpenGL ES 2.0 documentation for glReleaseShaderCompiler().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_renderbuffer_storage( &self, target: c_uint, internalformat: c_uint, width: c_int, height: c_int )

Convenience function that calls glRenderbufferStorage(target, internalformat, width, height).

Calls C++ function: void QOpenGLFunctions::glRenderbufferStorage(unsigned int target, unsigned int internalformat, int width, int height).

C++ documentation:

Convenience function that calls glRenderbufferStorage(target, internalformat, width, height).

For more information, see the OpenGL ES 2.0 documentation for glRenderbufferStorage().

source

pub unsafe fn gl_sample_coverage(&self, value: c_float, invert: c_uchar)

Convenience function that calls glSampleCoverage(value, invert).

Calls C++ function: void QOpenGLFunctions::glSampleCoverage(float value, unsigned char invert).

C++ documentation:

Convenience function that calls glSampleCoverage(value, invert).

For more information, see the OpenGL ES 2.0 documentation for glSampleCoverage().

source

pub unsafe fn gl_scissor(&self, x: i32, y: i32, width: c_int, height: c_int)

Convenience function that calls glScissor(x, y, width, height).

Calls C++ function: void QOpenGLFunctions::glScissor(GLint x, GLint y, int width, int height).

C++ documentation:

Convenience function that calls glScissor(x, y, width, height).

For more information, see the OpenGL ES 2.0 documentation for glScissor().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_shader_binary( &self, n: i32, shaders: *const u32, binaryformat: c_uint, binary: *const c_void, length: i32 )

Convenience function that calls glShaderBinary(n, shaders, binaryformat, binary, length).

Calls C++ function: void QOpenGLFunctions::glShaderBinary(GLint n, const GLuint* shaders, unsigned int binaryformat, const void* binary, GLint length).

C++ documentation:

Convenience function that calls glShaderBinary(n, shaders, binaryformat, binary, length).

For more information, see the OpenGL ES 2.0 documentation for glShaderBinary().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_shader_source( &self, shader: u32, count: c_int, string: *mut *const c_char, length: *const i32 )

Convenience function that calls glShaderSource(shader, count, string, length).

Calls C++ function: void QOpenGLFunctions::glShaderSource(GLuint shader, int count, const char** string, const GLint* length).

C++ documentation:

Convenience function that calls glShaderSource(shader, count, string, length).

For more information, see the OpenGL ES 2.0 documentation for glShaderSource().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_stencil_func(&self, func: c_uint, ref_: i32, mask: u32)

Convenience function that calls glStencilFunc(func, ref, mask).

Calls C++ function: void QOpenGLFunctions::glStencilFunc(unsigned int func, GLint ref, GLuint mask).

C++ documentation:

Convenience function that calls glStencilFunc(func, ref, mask).

For more information, see the OpenGL ES 2.0 documentation for glStencilFunc().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_stencil_func_separate( &self, face: c_uint, func: c_uint, ref_: i32, mask: u32 )

Convenience function that calls glStencilFuncSeparate(face, func, ref, mask).

Calls C++ function: void QOpenGLFunctions::glStencilFuncSeparate(unsigned int face, unsigned int func, GLint ref, GLuint mask).

C++ documentation:

Convenience function that calls glStencilFuncSeparate(face, func, ref, mask).

For more information, see the OpenGL ES 2.0 documentation for glStencilFuncSeparate().

source

pub unsafe fn gl_stencil_mask(&self, mask: u32)

Convenience function that calls glStencilMask(mask).

Calls C++ function: void QOpenGLFunctions::glStencilMask(GLuint mask).

C++ documentation:

Convenience function that calls glStencilMask(mask).

For more information, see the OpenGL ES 2.0 documentation for glStencilMask().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_stencil_mask_separate(&self, face: c_uint, mask: u32)

Convenience function that calls glStencilMaskSeparate(face, mask).

Calls C++ function: void QOpenGLFunctions::glStencilMaskSeparate(unsigned int face, GLuint mask).

C++ documentation:

Convenience function that calls glStencilMaskSeparate(face, mask).

For more information, see the OpenGL ES 2.0 documentation for glStencilMaskSeparate().

source

pub unsafe fn gl_stencil_op(&self, fail: c_uint, zfail: c_uint, zpass: c_uint)

Convenience function that calls glStencilOp(fail, zfail, zpass).

Calls C++ function: void QOpenGLFunctions::glStencilOp(unsigned int fail, unsigned int zfail, unsigned int zpass).

C++ documentation:

Convenience function that calls glStencilOp(fail, zfail, zpass).

For more information, see the OpenGL ES 2.0 documentation for glStencilOp().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_stencil_op_separate( &self, face: c_uint, fail: c_uint, zfail: c_uint, zpass: c_uint )

Convenience function that calls glStencilOpSeparate(face, fail, zfail, zpass).

Calls C++ function: void QOpenGLFunctions::glStencilOpSeparate(unsigned int face, unsigned int fail, unsigned int zfail, unsigned int zpass).

C++ documentation:

Convenience function that calls glStencilOpSeparate(face, fail, zfail, zpass).

For more information, see the OpenGL ES 2.0 documentation for glStencilOpSeparate().

source

pub unsafe fn gl_tex_image_2d( &self, target: c_uint, level: i32, internalformat: i32, width: c_int, height: c_int, border: i32, format: c_uint, type_: c_uint, pixels: *const c_void )

Convenience function that calls glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels).

Calls C++ function: void QOpenGLFunctions::glTexImage2D(unsigned int target, GLint level, GLint internalformat, int width, int height, GLint border, unsigned int format, unsigned int type, const void* pixels).

C++ documentation:

Convenience function that calls glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels).

For more information, see the OpenGL ES 2.0 documentation for glTexImage2D().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_tex_parameterf( &self, target: c_uint, pname: c_uint, param: c_float )

Convenience function that calls glTexParameterf(target, pname, param).

Calls C++ function: void QOpenGLFunctions::glTexParameterf(unsigned int target, unsigned int pname, float param).

C++ documentation:

Convenience function that calls glTexParameterf(target, pname, param).

For more information, see the OpenGL ES 2.0 documentation for glTexParameterf().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_tex_parameterfv( &self, target: c_uint, pname: c_uint, params: *const c_float )

Convenience function that calls glTexParameterfv(target, pname, params).

Calls C++ function: void QOpenGLFunctions::glTexParameterfv(unsigned int target, unsigned int pname, const float* params).

C++ documentation:

Convenience function that calls glTexParameterfv(target, pname, params).

For more information, see the OpenGL ES 2.0 documentation for glTexParameterfv().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_tex_parameteri( &self, target: c_uint, pname: c_uint, param: i32 )

Convenience function that calls glTexParameteri(target, pname, param).

Calls C++ function: void QOpenGLFunctions::glTexParameteri(unsigned int target, unsigned int pname, GLint param).

C++ documentation:

Convenience function that calls glTexParameteri(target, pname, param).

For more information, see the OpenGL ES 2.0 documentation for glTexParameteri().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_tex_parameteriv( &self, target: c_uint, pname: c_uint, params: *const i32 )

Convenience function that calls glTexParameteriv(target, pname, params).

Calls C++ function: void QOpenGLFunctions::glTexParameteriv(unsigned int target, unsigned int pname, const GLint* params).

C++ documentation:

Convenience function that calls glTexParameteriv(target, pname, params).

For more information, see the OpenGL ES 2.0 documentation for glTexParameteriv().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_tex_sub_image_2d( &self, target: c_uint, level: i32, xoffset: i32, yoffset: i32, width: c_int, height: c_int, format: c_uint, type_: c_uint, pixels: *const c_void )

Convenience function that calls glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels).

Calls C++ function: void QOpenGLFunctions::glTexSubImage2D(unsigned int target, GLint level, GLint xoffset, GLint yoffset, int width, int height, unsigned int format, unsigned int type, const void* pixels).

C++ documentation:

Convenience function that calls glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels).

For more information, see the OpenGL ES 2.0 documentation for glTexSubImage2D().

This function was introduced in Qt 5.3.

source

pub unsafe fn gl_uniform_1f(&self, location: i32, x: c_float)

Convenience function that calls glUniform1f(location, x).

Calls C++ function: void QOpenGLFunctions::glUniform1f(GLint location, float x).

C++ documentation:

Convenience function that calls glUniform1f(location, x).

For more information, see the OpenGL ES 2.0 documentation for glUniform1f().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_uniform_1fv( &self, location: i32, count: c_int, v: *const c_float )

Convenience function that calls glUniform1fv(location, count, v).

Calls C++ function: void QOpenGLFunctions::glUniform1fv(GLint location, int count, const float* v).

C++ documentation:

Convenience function that calls glUniform1fv(location, count, v).

For more information, see the OpenGL ES 2.0 documentation for glUniform1fv().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_uniform_1i(&self, location: i32, x: i32)

Convenience function that calls glUniform1i(location, x).

Calls C++ function: void QOpenGLFunctions::glUniform1i(GLint location, GLint x).

C++ documentation:

Convenience function that calls glUniform1i(location, x).

For more information, see the OpenGL ES 2.0 documentation for glUniform1i().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_uniform_1iv(&self, location: i32, count: c_int, v: *const i32)

Convenience function that calls glUniform1iv(location, count, v).

Calls C++ function: void QOpenGLFunctions::glUniform1iv(GLint location, int count, const GLint* v).

C++ documentation:

Convenience function that calls glUniform1iv(location, count, v).

For more information, see the OpenGL ES 2.0 documentation for glUniform1iv().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_uniform_2f(&self, location: i32, x: c_float, y: c_float)

Convenience function that calls glUniform2f(location, x, y).

Calls C++ function: void QOpenGLFunctions::glUniform2f(GLint location, float x, float y).

C++ documentation:

Convenience function that calls glUniform2f(location, x, y).

For more information, see the OpenGL ES 2.0 documentation for glUniform2f().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_uniform_2fv( &self, location: i32, count: c_int, v: *const c_float )

Convenience function that calls glUniform2fv(location, count, v).

Calls C++ function: void QOpenGLFunctions::glUniform2fv(GLint location, int count, const float* v).

C++ documentation:

Convenience function that calls glUniform2fv(location, count, v).

For more information, see the OpenGL ES 2.0 documentation for glUniform2fv().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_uniform_2i(&self, location: i32, x: i32, y: i32)

Convenience function that calls glUniform2i(location, x, y).

Calls C++ function: void QOpenGLFunctions::glUniform2i(GLint location, GLint x, GLint y).

C++ documentation:

Convenience function that calls glUniform2i(location, x, y).

For more information, see the OpenGL ES 2.0 documentation for glUniform2i().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_uniform_2iv(&self, location: i32, count: c_int, v: *const i32)

Convenience function that calls glUniform2iv(location, count, v).

Calls C++ function: void QOpenGLFunctions::glUniform2iv(GLint location, int count, const GLint* v).

C++ documentation:

Convenience function that calls glUniform2iv(location, count, v).

For more information, see the OpenGL ES 2.0 documentation for glUniform2iv().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_uniform_3f( &self, location: i32, x: c_float, y: c_float, z: c_float )

Convenience function that calls glUniform3f(location, x, y, z).

Calls C++ function: void QOpenGLFunctions::glUniform3f(GLint location, float x, float y, float z).

C++ documentation:

Convenience function that calls glUniform3f(location, x, y, z).

For more information, see the OpenGL ES 2.0 documentation for glUniform3f().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_uniform_3fv( &self, location: i32, count: c_int, v: *const c_float )

Convenience function that calls glUniform3fv(location, count, v).

Calls C++ function: void QOpenGLFunctions::glUniform3fv(GLint location, int count, const float* v).

C++ documentation:

Convenience function that calls glUniform3fv(location, count, v).

For more information, see the OpenGL ES 2.0 documentation for glUniform3fv().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_uniform_3i(&self, location: i32, x: i32, y: i32, z: i32)

Convenience function that calls glUniform3i(location, x, y, z).

Calls C++ function: void QOpenGLFunctions::glUniform3i(GLint location, GLint x, GLint y, GLint z).

C++ documentation:

Convenience function that calls glUniform3i(location, x, y, z).

For more information, see the OpenGL ES 2.0 documentation for glUniform3i().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_uniform_3iv(&self, location: i32, count: c_int, v: *const i32)

Convenience function that calls glUniform3iv(location, count, v).

Calls C++ function: void QOpenGLFunctions::glUniform3iv(GLint location, int count, const GLint* v).

C++ documentation:

Convenience function that calls glUniform3iv(location, count, v).

For more information, see the OpenGL ES 2.0 documentation for glUniform3iv().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_uniform_4f( &self, location: i32, x: c_float, y: c_float, z: c_float, w: c_float )

Convenience function that calls glUniform4f(location, x, y, z, w).

Calls C++ function: void QOpenGLFunctions::glUniform4f(GLint location, float x, float y, float z, float w).

C++ documentation:

Convenience function that calls glUniform4f(location, x, y, z, w).

For more information, see the OpenGL ES 2.0 documentation for glUniform4f().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_uniform_4fv( &self, location: i32, count: c_int, v: *const c_float )

Convenience function that calls glUniform4fv(location, count, v).

Calls C++ function: void QOpenGLFunctions::glUniform4fv(GLint location, int count, const float* v).

C++ documentation:

Convenience function that calls glUniform4fv(location, count, v).

For more information, see the OpenGL ES 2.0 documentation for glUniform4fv().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_uniform_4i( &self, location: i32, x: i32, y: i32, z: i32, w: i32 )

Convenience function that calls glUniform4i(location, x, y, z, w).

Calls C++ function: void QOpenGLFunctions::glUniform4i(GLint location, GLint x, GLint y, GLint z, GLint w).

C++ documentation:

Convenience function that calls glUniform4i(location, x, y, z, w).

For more information, see the OpenGL ES 2.0 documentation for glUniform4i().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_uniform_4iv(&self, location: i32, count: c_int, v: *const i32)

Convenience function that calls glUniform4iv(location, count, v).

Calls C++ function: void QOpenGLFunctions::glUniform4iv(GLint location, int count, const GLint* v).

C++ documentation:

Convenience function that calls glUniform4iv(location, count, v).

For more information, see the OpenGL ES 2.0 documentation for glUniform4iv().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_uniform_matrix_2fv( &self, location: i32, count: c_int, transpose: c_uchar, value: *const c_float )

Convenience function that calls glUniformMatrix2fv(location, count, transpose, value).

Calls C++ function: void QOpenGLFunctions::glUniformMatrix2fv(GLint location, int count, unsigned char transpose, const float* value).

C++ documentation:

Convenience function that calls glUniformMatrix2fv(location, count, transpose, value).

For more information, see the OpenGL ES 2.0 documentation for glUniformMatrix2fv().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_uniform_matrix_3fv( &self, location: i32, count: c_int, transpose: c_uchar, value: *const c_float )

Convenience function that calls glUniformMatrix3fv(location, count, transpose, value).

Calls C++ function: void QOpenGLFunctions::glUniformMatrix3fv(GLint location, int count, unsigned char transpose, const float* value).

C++ documentation:

Convenience function that calls glUniformMatrix3fv(location, count, transpose, value).

For more information, see the OpenGL ES 2.0 documentation for glUniformMatrix3fv().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_uniform_matrix_4fv( &self, location: i32, count: c_int, transpose: c_uchar, value: *const c_float )

Convenience function that calls glUniformMatrix4fv(location, count, transpose, value).

Calls C++ function: void QOpenGLFunctions::glUniformMatrix4fv(GLint location, int count, unsigned char transpose, const float* value).

C++ documentation:

Convenience function that calls glUniformMatrix4fv(location, count, transpose, value).

For more information, see the OpenGL ES 2.0 documentation for glUniformMatrix4fv().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_use_program(&self, program: u32)

Convenience function that calls glUseProgram(program).

Calls C++ function: void QOpenGLFunctions::glUseProgram(GLuint program).

C++ documentation:

Convenience function that calls glUseProgram(program).

For more information, see the OpenGL ES 2.0 documentation for glUseProgram().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_validate_program(&self, program: u32)

Convenience function that calls glValidateProgram(program).

Calls C++ function: void QOpenGLFunctions::glValidateProgram(GLuint program).

C++ documentation:

Convenience function that calls glValidateProgram(program).

For more information, see the OpenGL ES 2.0 documentation for glValidateProgram().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_vertex_attrib_1f(&self, indx: u32, x: c_float)

Convenience function that calls glVertexAttrib1f(indx, x).

Calls C++ function: void QOpenGLFunctions::glVertexAttrib1f(GLuint indx, float x).

C++ documentation:

Convenience function that calls glVertexAttrib1f(indx, x).

For more information, see the OpenGL ES 2.0 documentation for glVertexAttrib1f().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_vertex_attrib_1fv(&self, indx: u32, values: *const c_float)

Convenience function that calls glVertexAttrib1fv(indx, values).

Calls C++ function: void QOpenGLFunctions::glVertexAttrib1fv(GLuint indx, const float* values).

C++ documentation:

Convenience function that calls glVertexAttrib1fv(indx, values).

For more information, see the OpenGL ES 2.0 documentation for glVertexAttrib1fv().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_vertex_attrib_2f(&self, indx: u32, x: c_float, y: c_float)

Convenience function that calls glVertexAttrib2f(indx, x, y).

Calls C++ function: void QOpenGLFunctions::glVertexAttrib2f(GLuint indx, float x, float y).

C++ documentation:

Convenience function that calls glVertexAttrib2f(indx, x, y).

For more information, see the OpenGL ES 2.0 documentation for glVertexAttrib2f().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_vertex_attrib_2fv(&self, indx: u32, values: *const c_float)

Convenience function that calls glVertexAttrib2fv(indx, values).

Calls C++ function: void QOpenGLFunctions::glVertexAttrib2fv(GLuint indx, const float* values).

C++ documentation:

Convenience function that calls glVertexAttrib2fv(indx, values).

For more information, see the OpenGL ES 2.0 documentation for glVertexAttrib2fv().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_vertex_attrib_3f( &self, indx: u32, x: c_float, y: c_float, z: c_float )

Convenience function that calls glVertexAttrib3f(indx, x, y, z).

Calls C++ function: void QOpenGLFunctions::glVertexAttrib3f(GLuint indx, float x, float y, float z).

C++ documentation:

Convenience function that calls glVertexAttrib3f(indx, x, y, z).

For more information, see the OpenGL ES 2.0 documentation for glVertexAttrib3f().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_vertex_attrib_3fv(&self, indx: u32, values: *const c_float)

Convenience function that calls glVertexAttrib3fv(indx, values).

Calls C++ function: void QOpenGLFunctions::glVertexAttrib3fv(GLuint indx, const float* values).

C++ documentation:

Convenience function that calls glVertexAttrib3fv(indx, values).

For more information, see the OpenGL ES 2.0 documentation for glVertexAttrib3fv().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_vertex_attrib_4f( &self, indx: u32, x: c_float, y: c_float, z: c_float, w: c_float )

Convenience function that calls glVertexAttrib4f(indx, x, y, z, w).

Calls C++ function: void QOpenGLFunctions::glVertexAttrib4f(GLuint indx, float x, float y, float z, float w).

C++ documentation:

Convenience function that calls glVertexAttrib4f(indx, x, y, z, w).

For more information, see the OpenGL ES 2.0 documentation for glVertexAttrib4f().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_vertex_attrib_4fv(&self, indx: u32, values: *const c_float)

Convenience function that calls glVertexAttrib4fv(indx, values).

Calls C++ function: void QOpenGLFunctions::glVertexAttrib4fv(GLuint indx, const float* values).

C++ documentation:

Convenience function that calls glVertexAttrib4fv(indx, values).

For more information, see the OpenGL ES 2.0 documentation for glVertexAttrib4fv().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_vertex_attrib_pointer( &self, indx: u32, size: i32, type_: c_uint, normalized: c_uchar, stride: c_int, ptr: *const c_void )

Convenience function that calls glVertexAttribPointer(indx, size, type, normalized, stride, ptr).

Calls C++ function: void QOpenGLFunctions::glVertexAttribPointer(GLuint indx, GLint size, unsigned int type, unsigned char normalized, int stride, const void* ptr).

C++ documentation:

Convenience function that calls glVertexAttribPointer(indx, size, type, normalized, stride, ptr).

For more information, see the OpenGL ES 2.0 documentation for glVertexAttribPointer().

This convenience function will do nothing on OpenGL ES 1.x systems.

source

pub unsafe fn gl_viewport(&self, x: i32, y: i32, width: c_int, height: c_int)

Convenience function that calls glViewport(x, y, width, height).

Calls C++ function: void QOpenGLFunctions::glViewport(GLint x, GLint y, int width, int height).

C++ documentation:

Convenience function that calls glViewport(x, y, width, height).

For more information, see the OpenGL ES 2.0 documentation for glViewport().

This function was introduced in Qt 5.3.

source

pub unsafe fn has_opengl_feature(&self, feature: OpenGLFeature) -> bool

Returns true if feature is present on this system's OpenGL implementation; false otherwise.

Calls C++ function: bool QOpenGLFunctions::hasOpenGLFeature(QOpenGLFunctions::OpenGLFeature feature) const.

C++ documentation:

Returns true if feature is present on this system’s OpenGL implementation; false otherwise.

It is assumed that the QOpenGLContext associated with this function resolver is current.

See also openGLFeatures().

source

pub unsafe fn initialize_opengl_functions(&self)

Initializes OpenGL function resolution for the current context.

Calls C++ function: void QOpenGLFunctions::initializeOpenGLFunctions().

C++ documentation:

Initializes OpenGL function resolution for the current context.

After calling this function, the QOpenGLFunctions object can only be used with the current context and other contexts that share with it. Call initializeOpenGLFunctions() again to change the object's context association.

source

pub unsafe fn opengl_features(&self) -> QFlags<OpenGLFeature>

Returns the set of features that are present on this system's OpenGL implementation.

Calls C++ function: QFlags<QOpenGLFunctions::OpenGLFeature> QOpenGLFunctions::openGLFeatures() const.

C++ documentation:

Returns the set of features that are present on this system’s OpenGL implementation.

It is assumed that the QOpenGLContext associated with this function resolver is current.

See also hasOpenGLFeature().

Trait Implementations§

source§

impl CppDeletable for QOpenGLExtraFunctions

source§

unsafe fn delete(&self)

Destroys the instance of QOpenGLExtraFunctions.

Calls C++ function: [destructor] void QOpenGLExtraFunctions::~QOpenGLExtraFunctions().

C++ documentation:

Destroys the instance of QOpenGLExtraFunctions.

source§

impl Deref for QOpenGLExtraFunctions

source§

fn deref(&self) -> &QOpenGLFunctions

Calls C++ function: QOpenGLFunctions* static_cast<QOpenGLFunctions*>(QOpenGLExtraFunctions* ptr).

§

type Target = QOpenGLFunctions

The resulting type after dereferencing.
source§

impl StaticDowncast<QOpenGLExtraFunctions> for QOpenGLFunctions

source§

unsafe fn static_downcast( ptr: Ptr<QOpenGLFunctions> ) -> Ptr<QOpenGLExtraFunctions>

Calls C++ function: QOpenGLExtraFunctions* static_cast<QOpenGLExtraFunctions*>(QOpenGLFunctions* ptr).

source§

impl StaticUpcast<QOpenGLFunctions> for QOpenGLExtraFunctions

source§

unsafe fn static_upcast( ptr: Ptr<QOpenGLExtraFunctions> ) -> Ptr<QOpenGLFunctions>

Calls C++ function: QOpenGLFunctions* static_cast<QOpenGLFunctions*>(QOpenGLExtraFunctions* ptr).

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T, U> CastInto<U> for T
where U: CastFrom<T>,

source§

unsafe fn cast_into(self) -> U

Performs the conversion. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> StaticUpcast<T> for T

source§

unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>

Convert type of a const pointer. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.