// Copyright (C) 2016 Klaralvdalens Datakonsult AB (KDAB). // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only #include "qseamlesscubemap.h" #include "qrenderstate_p.h" #include QT_BEGIN_NAMESPACE namespace Qt3DRender { /*! \class Qt3DRender::QSeamlessCubemap \brief Enables seamless cubemap texture filtering. \since 5.7 \inmodule Qt3DRender When present in a state set, enables the seamless cubemap texture filtering as provided by the GL_ARB_seamless_cubemap extension (if available). */ /*! \qmltype SeamlessCubemap \brief Enables seamless cubemap texture filtering. \since 5.7 \inqmlmodule Qt3D.Render \nativetype Qt3DRender::QSeamlessCubemap \inherits RenderState When present in a state set, enables the seamless cubemap texture filtering as provided by the GL_ARB_seamless_cubemap extension (if available). */ class QSeamlessCubemapPrivate : public QRenderStatePrivate { public: QSeamlessCubemapPrivate() : QRenderStatePrivate(Render::SeamlessCubemapMask) { } Q_DECLARE_PUBLIC(QSeamlessCubemap) }; /*! The constructor creates a new QSeamlessCubemap::QSeamlessCubemap instance with the specified \a parent. */ QSeamlessCubemap::QSeamlessCubemap(QNode *parent) : QRenderState(*new QSeamlessCubemapPrivate, parent) { } /*! \internal */ QSeamlessCubemap::~QSeamlessCubemap() { } } // namespace Qt3DRender QT_END_NAMESPACE #include "moc_qseamlesscubemap.cpp"