QOpenGLMultiGroupSharedResource Class
The QOpenGLMultiGroupSharedResource keeps track of a shared resource that might be needed from multiple contexts, like a glyph cache or gradient cache. One instance of the object is created for each group when necessary. The shared resource instance should have a constructor that takes a QOpenGLContext *. To get an instance for a given context one calls T *QOpenGLMultiGroupSharedResource::value<T>(context), where T is a sub-class of QOpenGLSharedResource. \inmodule
QtGui. More...
Header: | #include <QOpenGLMultiGroupSharedResource> |
Detailed Description
\internal
\since
5.0
You should not call free() on QOpenGLSharedResources owned by a QOpenGLMultiGroupSharedResource instance.