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
qsgopenvgtexture.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QSGOPENVGTEXTURE_H
5#define QSGOPENVGTEXTURE_H
6
7#include <private/qsgtexture_p.h>
8
9#include <VG/openvg.h>
10
12
14{
15public:
18
19 qint64 comparisonKey() const override;
20 QSize textureSize() const override;
21 bool hasAlphaChannel() const override;
22 bool hasMipmaps() const override;
23
24private:
25 VGImage m_image;
26};
27
29
30#endif // QSGOPENVGTEXTURE_H
\inmodule QtGui
Definition qimage.h:37
QSize textureSize() const override
Returns the size of the texture in pixels.
bool hasMipmaps() const override
Returns true if the texture data contains mipmap levels.
bool hasAlphaChannel() const override
Returns true if the texture data contains an alpha channel.
QSGOpenVGTexture(const QImage &image, uint flags)
qint64 comparisonKey() const override
Returns a key suitable for comparing textures.
\inmodule QtQuick
Definition qsgtexture.h:20
\inmodule QtCore
Definition qsize.h:25
Combined button and popup list for selecting options.
Definition image.cpp:4
GLbitfield flags
unsigned int uint
Definition qtypes.h:34
long long qint64
Definition qtypes.h:60