1// Copyright (C) 2014 Klaralvdalens Datakonsult AB (KDAB).
2// Copyright (C) 2016 The Qt Company Ltd and/or its subsidiary(-ies).
3// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
4
5#ifndef QT3DRENDER_QSTENCILTEST_H
6#define QT3DRENDER_QSTENCILTEST_H
7
8#include <Qt3DRender/qrenderstate.h>
9#include <Qt3DRender/qstenciltestarguments.h>
10
11QT_BEGIN_NAMESPACE
12
13namespace Qt3DRender {
14
15class QStencilTestPrivate;
16
17class Q_3DRENDERSHARED_EXPORT QStencilTest : public QRenderState
18{
19 Q_OBJECT
20 Q_PROPERTY(Qt3DRender::QStencilTestArguments *front READ front CONSTANT)
21 Q_PROPERTY(Qt3DRender::QStencilTestArguments *back READ back CONSTANT)
22public:
23 explicit QStencilTest(Qt3DCore::QNode *parent = nullptr);
24 ~QStencilTest();
25
26 QStencilTestArguments *front() const;
27 QStencilTestArguments *back() const;
28
29private:
30 Q_DECLARE_PRIVATE(QStencilTest)
31};
32
33} // namespace Qt3DRender
34
35QT_END_NAMESPACE
36
37
38#endif // QT3DRENDER_QSTENCILTEST_H
39

source code of qt3d/src/render/renderstates/qstenciltest.h