![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qopenglgradientcache_p.h>
Public Member Functions | |
| QOpenGL2GradientCache (QOpenGLContext *) | |
| ~QOpenGL2GradientCache () | |
| GLuint | getBuffer (const QGradient &gradient, qreal opacity) |
| int | paletteSize () const |
| void | invalidateResource () override |
| void | freeResource (QOpenGLContext *ctx) override |
| Public Member Functions inherited from QOpenGLSharedResource | |
| QOpenGLSharedResource (QOpenGLContextGroup *group) | |
| virtual | ~QOpenGLSharedResource ()=0 |
| QOpenGLContextGroup * | group () const |
| void | free () |
Static Public Member Functions | |
| static QOpenGL2GradientCache * | cacheForContext (QOpenGLContext *context) |
Definition at line 27 of file qopenglgradientcache_p.h.
| QOpenGL2GradientCache::QOpenGL2GradientCache | ( | QOpenGLContext * | ctx | ) |
Definition at line 34 of file qopenglgradientcache.cpp.
| QOpenGL2GradientCache::~QOpenGL2GradientCache | ( | ) |
Definition at line 39 of file qopenglgradientcache.cpp.
|
static |
Definition at line 44 of file qopenglgradientcache.cpp.
|
overridevirtual |
Implements QOpenGLSharedResource.
Definition at line 55 of file qopenglgradientcache.cpp.
Definition at line 72 of file qopenglgradientcache.cpp.
|
overridevirtual |
Implements QOpenGLSharedResource.
Definition at line 49 of file qopenglgradientcache.cpp.
|
inline |
Definition at line 49 of file qopenglgradientcache_p.h.