Qt OpenGL C++ Classes

Qt OpenGL 模块提供的类可让您在 Qt XML 应用程序中轻松使用 OpenGL。更多

QAbstractOpenGLFunctions

一系列类的基类,这些类公开了每个 OpenGL 版本和配置文件的所有功能

QOpenGLBuffer

用于创建和管理 OpenGL 缓冲对象的函数

QOpenGLDebugLogger

启用 OpenGL 调试消息的日志记录功能

QOpenGLDebugMessage

封装 OpenGL 调试消息

QOpenGLFramebufferObject

封装 OpenGL 帧缓冲对象

QOpenGLFramebufferObjectFormat

指定 OpenGL 帧缓冲对象的格式

QOpenGLFunctions_1_0

OpenGL 1.0 规范的所有函数

QOpenGLFunctions_1_1

OpenGL 1.1 规范的所有函数

QOpenGLFunctions_1_2

OpenGL 1.2 规范的所有函数

QOpenGLFunctions_1_3

OpenGL 1.3 规范的所有函数

QOpenGLFunctions_1_4

OpenGL 1.4 规范的所有函数

QOpenGLFunctions_1_5

OpenGL 1.5 规范的所有函数

QOpenGLFunctions_2_0

OpenGL 2.0 规范的所有函数

QOpenGLFunctions_2_1

OpenGL 2.1 规范的所有函数

QOpenGLFunctions_3_0

OpenGL 3.0 规范的所有函数

QOpenGLFunctions_3_1

OpenGL 3.1 规范的所有函数

QOpenGLFunctions_3_2_Compatibility

OpenGL 3.2 兼容规范的所有函数

QOpenGLFunctions_3_2_Core

OpenGL 3.2 核心配置文件的所有函数

QOpenGLFunctions_3_3_Compatibility

OpenGL 3.3 兼容性规范的所有函数

QOpenGLFunctions_3_3_Core

OpenGL 3.3 核心规范的所有函数

QOpenGLFunctions_4_0_Compatibility

OpenGL 4.0 兼容性规范的所有函数

QOpenGLFunctions_4_0_Core

OpenGL 4.0 核心配置文件的所有函数

QOpenGLFunctions_4_1_Compatibility

OpenGL 4.1 兼容性规范的所有函数

QOpenGLFunctions_4_1_Core

OpenGL 4.1 核心配置文件的所有函数

QOpenGLFunctions_4_2_Compatibility

OpenGL 4.2 兼容性规范的所有函数

QOpenGLFunctions_4_2_Core

OpenGL 4.2 核心配置文件的所有函数

QOpenGLFunctions_4_3_Compatibility

OpenGL 4.3 兼容性规范的所有函数

QOpenGLFunctions_4_3_Core

OpenGL 4.3 核心配置文件的所有函数

QOpenGLFunctions_4_4_Compatibility

OpenGL 4.4 兼容性规范的所有函数

QOpenGLFunctions_4_4_Core

OpenGL 4.4 核心配置文件的所有函数

QOpenGLFunctions_4_5_Compatibility

OpenGL 4.5 兼容性规范的所有函数

QOpenGLFunctions_4_5_Core

OpenGL 4.5 核心配置文件的所有函数

QOpenGLFunctions_ES2

OpenGL ES 2 的所有函数

QOpenGLPaintDevice

使用 QPainter 可在 OpenGL 上下文中进行绘制

QOpenGLPixelTransferOptions

描述了影响纹理上传过程中像素解包的像素存储模式

QOpenGLShader

允许编译 OpenGL 着色器

QOpenGLShaderProgram

允许链接和使用 OpenGL 着色程序

QOpenGLTextureBlitter

通过 OpenGL 绘制纹理四边形的便捷方法

QOpenGLTimeMonitor

封装一系列 OpenGL 定时器查询对象

QOpenGLTimerQuery

封装一个 OpenGL 定时器查询对象

QOpenGLVersionFunctionsFactory

为指定版本和配置文件提供访问 OpenGL 功能的途径

QOpenGLVersionProfile

代表 OpenGL 上下文的版本和配置文件(如适用

QOpenGLVertexArrayObject

封装一个 OpenGL 顶点阵列对象

QOpenGLVertexArrayObject::Binder

QOpenGLVertexArrayObject::Binder 类是一个便利类,用于帮助绑定和释放 OpenGL 顶点数组对象

QOpenGLWindow

QWindow 的便利子类,用于执行 OpenGL 绘图

详细说明

Qt OpenGL页面包含有关如何使用该模块的信息。

一个单独的 Qt OpenGL Widgets库提供了一个 C++ 小工具类,用于将 OpenGL 图形渲染到小工具用户界面中。

QOpenGLWidget

渲染 OpenGL 图形的小工具

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.