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>.
|
#include "qsggradientcache_p.h"
#include <QtGui/private/qdrawhelper_p.h>
#include <QtGui/rhi/qrhi.h>
#include <QtQuick/qsgtexture.h>
#include <QtQuick/private/qsgplaintexture_p.h>
Go to the source code of this file.
Functions | |
static QT_BEGIN_NAMESPACE void | generateGradientColorTable (const QSGGradientCacheKey &gradient, uint *colorTable, int size, float opacity) |
|
static |
Definition at line 14 of file qsggradientcache.cpp.
References ARGB2RGBA(), ARGB_COMBINE_ALPHA, dist(), i, INTERPOLATE_PIXEL_256(), pos, Q_ASSERT, qPremultiply(), qRound(), and QSGGradientCacheKey::stops.
Referenced by QSGGradientCache::get().