Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QSGGradientCache Class Reference

#include <qsggradientcache_p.h>

+ Collaboration diagram for QSGGradientCache:

Classes

struct  GradientDesc
 

Public Member Functions

 ~QSGGradientCache ()
 
QSGTextureget (const QSGGradientCacheKey &grad)
 

Static Public Member Functions

static QSGGradientCachecacheForRhi (QRhi *rhi)
 

Detailed Description

Definition at line 50 of file qsggradientcache_p.h.

Constructor & Destructor Documentation

◆ ~QSGGradientCache()

QSGGradientCache::~QSGGradientCache ( )

Definition at line 64 of file qsggradientcache.cpp.

References qDeleteAll().

+ Here is the call graph for this function:

Member Function Documentation

◆ cacheForRhi()

QSGGradientCache * QSGGradientCache::cacheForRhi ( QRhi * rhi)
static

Definition at line 69 of file qsggradientcache.cpp.

References QRhi::addCleanupCallback(), cache, caches, and it.

Referenced by QT_BEGIN_NAMESPACE::QSGCurveFillMaterialShader::updateSampledImage(), QQuickShapeLinearGradientRhiShader::updateSampledImage(), QQuickShapeRadialGradientRhiShader::updateSampledImage(), and QQuickShapeConicalGradientRhiShader::updateSampledImage().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ get()


The documentation for this class was generated from the following files: