Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qssgrenderimagetexture_p.h
Go to the documentation of this file.
1// Copyright (C) 2008-2012 NVIDIA Corporation.
2// Copyright (C) 2019 The Qt Company Ltd.
3// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
4
5#ifndef QSSG_RENDER_IMAGE_TEXTURE_H
6#define QSSG_RENDER_IMAGE_TEXTURE_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists purely as an
13// implementation detail. This header file may change from version to
14// version without notice, or even be removed.
15//
16// We mean it.
17//
18
19#include <private/qglobal_p.h>
20
22
23class QRhiTexture;
24
26{
27 HasTransparency = 1 << 0,
28 RGBE8 = 1 << 1
29};
30
31struct QSSGRenderImageTextureFlags : public QFlags<QSSGRenderImageTextureFlagValue>
32{
35
38};
39
41{
42 QRhiTexture *m_texture = nullptr; // not owned
45};
46
48
49#endif
constexpr QFlags operator&(int mask) const noexcept
Definition qflags.h:112
constexpr QFlags & setFlag(QSSGRenderImageTextureFlagValue flag, bool on=true) noexcept
Definition qflags.h:130
\inmodule QtGui
Definition qrhi.h:883
Combined button and popup list for selecting options.
QSSGRenderImageTextureFlagValue
QSSGRenderImageTextureFlags m_flags