GraphicsApiFilter QML Type
用于确定 OpenGL 所需的支持该技术的 API。更多内容...
| Import Statement: | import Qt3D.Render 2.12 |
| In C++: | QGraphicsApiFilter |
| Inherits: | |
| Status: | Deprecated |
此类型已弃用。我们强烈建议不要在新代码中使用它。
属性
- api : enumeration
- extensions : stringlist
- majorVersion : int
- minorVersion : int
- profile : enumeration
- vendor : string
详细说明
物业文件
api : enumeration
| 常数 | 描述 |
|---|---|
OpenGLES | QSurfaceFormat::OpenGLES |
OpenGL | QSurfaceFormat::OpenGL |
extensions : stringlist
majorVersion : int
minorVersion : int
profile : enumeration
| 常数 | 描述 |
|---|---|
NoProfile | QSurfaceFormat::NoProfile |
CoreProfile | QSurfaceFormat::CoreProfile |
CompatibilityProfile | QSurfaceFormat::CompatibilityProfile |
vendor : string
© 2026 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.