// Copyright (C) 2014 Klaralvdalens Datakonsult AB (KDAB). // Copyright (C) 2016 The Qt Company Ltd and/or its subsidiary(-ies). // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only #ifndef QT3DRENDER_QCULLFACE_H #define QT3DRENDER_QCULLFACE_H #include QT_BEGIN_NAMESPACE namespace Qt3DRender { class QCullFacePrivate; class Q_3DRENDERSHARED_EXPORT QCullFace : public QRenderState { Q_OBJECT Q_PROPERTY(CullingMode mode READ mode WRITE setMode NOTIFY modeChanged) public: enum CullingMode { NoCulling = 0x0, Front = 0x0404, Back = 0x0405, FrontAndBack = 0x0408 }; Q_ENUM(CullingMode) // LCOV_EXCL_LINE explicit QCullFace(Qt3DCore::QNode *parent = nullptr); ~QCullFace(); CullingMode mode() const; public Q_SLOTS: void setMode(CullingMode mode); Q_SIGNALS: void modeChanged(CullingMode mode); private: Q_DECLARE_PRIVATE(QCullFace) }; } // namespace Qt3DRender QT_END_NAMESPACE #endif // QT3DRENDER_QCULLFACE_H