1// Copyright (C) 2014 Klaralvdalens Datakonsult AB (KDAB).
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 QT3DRENDER_QCLEARBUFFERS_P_H
5#define QT3DRENDER_QCLEARBUFFERS_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists for the convenience
12// of other Qt classes. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <private/qframegraphnode_p.h>
19#include <Qt3DRender/qclearbuffers.h>
20
21QT_BEGIN_NAMESPACE
22
23namespace Qt3DRender {
24
25class QClearBuffersPrivate : public QFrameGraphNodePrivate
26{
27public:
28 QClearBuffersPrivate();
29
30 Q_DECLARE_PUBLIC(QClearBuffers)
31 QClearBuffers::BufferType m_buffersType;
32 QColor m_clearColor;
33 float m_clearDepthValue;
34 int m_clearStencilValue;
35 QRenderTargetOutput *m_buffer;
36};
37
38} // namespace Qt3DRender
39
40QT_END_NAMESPACE
41
42#endif // QT3DRENDER_QCLEARBUFFERS_P_H
43

source code of qt3d/src/render/framegraph/qclearbuffers_p.h