QOpenGLSharedResourceGuard Class

The QOpenGLSharedResourceGuard class is a convenience sub-class of QOpenGLSharedResource to be used to track a single OpenGL object with a GLuint identifier. The constructor takes a function pointer to a function that will be used to free the resource if and when necessary. \inmodule QtGui. More...

Header: #include <QOpenGLSharedResourceGuard>
Inherits: QOpenGLSharedResource

Detailed Description

\internal\since 5.0