QOpenGLVersionFunctionsFactory¶
Provides access to OpenGL functions for a specified version and profile. More…
Synopsis¶
Static functions¶
def
get
([versionProfile=QOpenGLVersionProfile()[, context=None]])
Detailed Description¶
- class PySide6.QtOpenGL.QOpenGLVersionFunctionsFactory¶
- static PySide6.QtOpenGL.QOpenGLVersionFunctionsFactory.get([versionProfile=QOpenGLVersionProfile()[, context=None]])¶
- Parameters
versionProfile –
PySide6.QtOpenGL.QOpenGLVersionProfile
context –
PySide6.QtGui.QOpenGLContext
- Return type
Returns a pointer to an object that provides access to all functions for the versionProfile
of the context
. There is no need to call as long as the context
is current. It is also possible to call this function when the context
is not current, but in that case it is the caller’s responsibility to ensure proper initialization by calling afterwards.
Usually one would use the template version of this function to automatically have the result cast to the correct type.
© 2022 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.