Provides information about the used OpenGL version. 更多...
import 语句: | import QtQuick 2.15 |
Since: | Qt 5.4 |
The OpenGLInfo attached type provides information about the OpenGL version being used to render the surface of the attachee item.
If the attachee item is not currently associated with any graphical surface, the properties are set to the values of the default surface format. When it becomes associated with a surface, all properties will update.
警告: This type is deprecated. Use GraphicsInfo 代替。
另请参阅 ShaderEffect .
majorVersion : int |
This property holds the major OpenGL version.
The default version is
2.0
.
另请参阅 minorVersion and profile .
minorVersion : int |
This property holds the minor OpenGL version.
The default version is
2.0
.
另请参阅 majorVersion and profile .
profile : enumeration |
This property holds the configured OpenGL context profile.
可能的值包括:
Reusable QML components will typically use this property in bindings in order to choose between core and non core profile compatible shader sources.
另请参阅 majorVersion and minorVersion .
renderableType : enumeration |
This property holds the renderable type.
可能的值包括: