Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qssgrendercomputepass_p.h
Go to the documentation of this file.
1
// Copyright (C) 2026 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
5
6
#
ifndef
QSSGRENDERCOMPUTEPASS_P_H
7
#
define
QSSGRENDERCOMPUTEPASS_P_H
8
9
//
10
// W A R N I N G
11
// -------------
12
//
13
// This file is not part of the Qt API. It exists purely as an
14
// implementation detail. This header file may change from version to
15
// version without notice, or even be removed.
16
//
17
// We mean it.
18
//
19
#
include
<
QSet
>
20
#
include
<
QtQuick3DRuntimeRender
/
private
/
qssgrendergraphobject_p
.
h
>
21
#
include
<
QtQuick3DRuntimeRender
/
private
/
qssgrenderimage_p
.
h
>
22
#
include
<
QtQuick3DRuntimeRender
/
private
/
qssgrenderuserpass_p
.
h
>
23
24
#
include
<
QtCore
/
QVariant
>
25
26
QT_BEGIN_NAMESPACE
27
28
class
Q_QUICK3DRUNTIMERENDER_EXPORT
QSSGRenderComputePass
:
public
QSSGRenderUserPassBase
29
{
30
public
:
31
enum
class
ExecutionMode : quint8 {
32
EveryFrame,
33
OnRequest
34
};
35
36
QSSGRenderComputePass();
37
~QSSGRenderComputePass();
38
39
void
finalizeShaders(
const
QSSGRenderContextInterface &ctx) override;
40
bool
willDispatch()
const
;
41
void
clearWarnings()
42
{
43
dispatchGroupsWarningShown =
false
;
44
dispatchMultiWarningShown =
false
;
45
dispatchMissingWarningShown =
false
;
46
multiviewWarningShown =
false
;
47
pipelineWarningShown =
false
;
48
bindingWarningShown =
false
;
49
startOfFrameChecked =
false
;
50
}
51
52
QSSGUserComputeShader computeShader;
53
ExecutionMode executionMode = ExecutionMode::EveryFrame;
54
quint64 executionSerial = 0;
55
bool
dispatchGroupsWarningShown =
false
;
56
bool
dispatchMultiWarningShown =
false
;
57
bool
dispatchMissingWarningShown =
false
;
58
bool
multiviewWarningShown =
false
;
59
bool
pipelineWarningShown =
false
;
60
bool
bindingWarningShown =
false
;
61
bool
startOfFrameChecked =
false
;
62
};
63
64
using
QSSGRenderComputePassPtr = std::shared_ptr<QSSGRenderComputePass>;
65
66
QT_END_NAMESPACE
67
68
#
endif
// QSSGRENDERCOMPUTEPASS_P_H
QSSGRenderComputePass
Definition
qssgrendercomputepass_p.h:29
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtquick3d
src
runtimerender
graphobjects
qssgrendercomputepass_p.h
Generated on
for Qt by
1.18.0