/****************************************************************************
** Meta object code from reading C++ file 'qforwardrenderer.h'
**
** Created by: The Qt Meta Object Compiler version 69 (Qt 6.12.0)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../../../qt3d/src/extras/defaults/qforwardrenderer.h"
#include <QtCore/qmetatype.h>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qforwardrenderer.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.12.0. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

#ifndef Q_CONSTINIT
#define Q_CONSTINIT
#endif

QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
QT_WARNING_DISABLE_GCC("-Wuseless-cast")
namespace {
struct qt_meta_tag_ZN10Qt3DExtras16QForwardRendererE_t {};
} // unnamed namespace

template <> constexpr inline auto Qt3DExtras::QForwardRenderer::qt_create_metaobjectdata<qt_meta_tag_ZN10Qt3DExtras16QForwardRendererE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Qt3DExtras::QForwardRenderer",
        "viewportRectChanged",
        "",
        "QRectF",
        "viewportRect",
        "clearColorChanged",
        "QColor",
        "clearColor",
        "buffersToClearChanged",
        "Qt3DRender::QClearBuffers::BufferType",
        "cameraChanged",
        "Qt3DCore::QEntity*",
        "camera",
        "surfaceChanged",
        "surface",
        "externalRenderTargetSizeChanged",
        "QSize",
        "size",
        "frustumCullingEnabledChanged",
        "enabled",
        "gammaChanged",
        "gamma",
        "showDebugOverlayChanged",
        "showDebugOverlay",
        "setViewportRect",
        "setClearColor",
        "setBuffersToClear",
        "setCamera",
        "setSurface",
        "setExternalRenderTargetSize",
        "setFrustumCullingEnabled",
        "setGamma",
        "setShowDebugOverlay",
        "window",
        "buffersToClear",
        "externalRenderTargetSize",
        "frustumCulling"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'viewportRectChanged'
        QtMocHelpers::SignalData<void(const QRectF &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'clearColorChanged'
        QtMocHelpers::SignalData<void(const QColor &)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 7 },
        }}),
        // Signal 'buffersToClearChanged'
        QtMocHelpers::SignalData<void(Qt3DRender::QClearBuffers::BufferType)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 9, 2 },
        }}),
        // Signal 'cameraChanged'
        QtMocHelpers::SignalData<void(Qt3DCore::QEntity *)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 12 },
        }}),
        // Signal 'surfaceChanged'
        QtMocHelpers::SignalData<void(QObject *)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QObjectStar, 14 },
        }}),
        // Signal 'externalRenderTargetSizeChanged'
        QtMocHelpers::SignalData<void(const QSize &)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 16, 17 },
        }}),
        // Signal 'frustumCullingEnabledChanged'
        QtMocHelpers::SignalData<void(bool)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 19 },
        }}),
        // Signal 'gammaChanged'
        QtMocHelpers::SignalData<void(float)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 21 },
        }}),
        // Signal 'showDebugOverlayChanged'
        QtMocHelpers::SignalData<void(bool)>(22, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 23 },
        }}),
        // Slot 'setViewportRect'
        QtMocHelpers::SlotData<void(const QRectF &)>(24, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'setClearColor'
        QtMocHelpers::SlotData<void(const QColor &)>(25, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 7 },
        }}),
        // Slot 'setBuffersToClear'
        QtMocHelpers::SlotData<void(Qt3DRender::QClearBuffers::BufferType)>(26, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 9, 2 },
        }}),
        // Slot 'setCamera'
        QtMocHelpers::SlotData<void(Qt3DCore::QEntity *)>(27, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 12 },
        }}),
        // Slot 'setSurface'
        QtMocHelpers::SlotData<void(QObject *)>(28, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QObjectStar, 14 },
        }}),
        // Slot 'setExternalRenderTargetSize'
        QtMocHelpers::SlotData<void(const QSize &)>(29, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 16, 17 },
        }}),
        // Slot 'setFrustumCullingEnabled'
        QtMocHelpers::SlotData<void(bool)>(30, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 19 },
        }}),
        // Slot 'setGamma'
        QtMocHelpers::SlotData<void(float)>(31, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 21 },
        }}),
        // Slot 'setShowDebugOverlay'
        QtMocHelpers::SlotData<void(bool)>(32, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 23 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'surface'
        QtMocHelpers::PropertyData<QObject*>(14, QMetaType::QObjectStar, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 4),
        // property 'window'
        QtMocHelpers::PropertyData<QObject*>(33, QMetaType::QObjectStar, QMC::DefaultPropertyFlags | QMC::Writable, 4),
        // property 'viewportRect'
        QtMocHelpers::PropertyData<QRectF>(4, 0x80000000 | 3, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 0),
        // property 'clearColor'
        QtMocHelpers::PropertyData<QColor>(7, 0x80000000 | 6, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 1),
        // property 'buffersToClear'
        QtMocHelpers::PropertyData<Qt3DRender::QClearBuffers::BufferType>(34, 0x80000000 | 9, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 2, 0xff0e),
        // property 'camera'
        QtMocHelpers::PropertyData<Qt3DCore::QEntity*>(12, 0x80000000 | 11, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 3),
        // property 'externalRenderTargetSize'
        QtMocHelpers::PropertyData<QSize>(35, 0x80000000 | 16, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 5),
        // property 'frustumCulling'
        QtMocHelpers::PropertyData<bool>(36, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable, 6),
        // property 'gamma'
        QtMocHelpers::PropertyData<float>(21, QMetaType::Float, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 7, 0xff09),
        // property 'showDebugOverlay'
        QtMocHelpers::PropertyData<bool>(23, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 8, 0xff0f),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<QForwardRenderer, qt_meta_tag_ZN10Qt3DExtras16QForwardRendererE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT static const QMetaObject::SuperData qt_meta_extradata_ZN10Qt3DExtras16QForwardRendererE[] = {
    QMetaObject::SuperData::link<Qt3DRender::QClearBuffers::staticMetaObject>(),
    nullptr
};

Q_CONSTINIT const QMetaObject Qt3DExtras::QForwardRenderer::staticMetaObject = { {
    QMetaObject::SuperData::link<Qt3DRender::QTechniqueFilter::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10Qt3DExtras16QForwardRendererE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10Qt3DExtras16QForwardRendererE_t>.data,
    qt_static_metacall,
    qt_meta_extradata_ZN10Qt3DExtras16QForwardRendererE,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10Qt3DExtras16QForwardRendererE_t>.metaTypes,
    nullptr
} };

void Qt3DExtras::QForwardRenderer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<QForwardRenderer *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->viewportRectChanged((*reinterpret_cast<std::add_pointer_t<QRectF>>(_a[1]))); break;
        case 1: _t->clearColorChanged((*reinterpret_cast<std::add_pointer_t<QColor>>(_a[1]))); break;
        case 2: _t->buffersToClearChanged((*reinterpret_cast<std::add_pointer_t<Qt3DRender::QClearBuffers::BufferType>>(_a[1]))); break;
        case 3: _t->cameraChanged((*reinterpret_cast<std::add_pointer_t<Qt3DCore::QEntity*>>(_a[1]))); break;
        case 4: _t->surfaceChanged((*reinterpret_cast<std::add_pointer_t<QObject*>>(_a[1]))); break;
        case 5: _t->externalRenderTargetSizeChanged((*reinterpret_cast<std::add_pointer_t<QSize>>(_a[1]))); break;
        case 6: _t->frustumCullingEnabledChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 7: _t->gammaChanged((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        case 8: _t->showDebugOverlayChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 9: _t->setViewportRect((*reinterpret_cast<std::add_pointer_t<QRectF>>(_a[1]))); break;
        case 10: _t->setClearColor((*reinterpret_cast<std::add_pointer_t<QColor>>(_a[1]))); break;
        case 11: _t->setBuffersToClear((*reinterpret_cast<std::add_pointer_t<Qt3DRender::QClearBuffers::BufferType>>(_a[1]))); break;
        case 12: _t->setCamera((*reinterpret_cast<std::add_pointer_t<Qt3DCore::QEntity*>>(_a[1]))); break;
        case 13: _t->setSurface((*reinterpret_cast<std::add_pointer_t<QObject*>>(_a[1]))); break;
        case 14: _t->setExternalRenderTargetSize((*reinterpret_cast<std::add_pointer_t<QSize>>(_a[1]))); break;
        case 15: _t->setFrustumCullingEnabled((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 16: _t->setGamma((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        case 17: _t->setShowDebugOverlay((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Qt3DCore::QEntity* >(); break;
            }
            break;
        case 12:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Qt3DCore::QEntity* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (QForwardRenderer::*)(const QRectF & )>(_a, &QForwardRenderer::viewportRectChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (QForwardRenderer::*)(const QColor & )>(_a, &QForwardRenderer::clearColorChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (QForwardRenderer::*)(Qt3DRender::QClearBuffers::BufferType )>(_a, &QForwardRenderer::buffersToClearChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (QForwardRenderer::*)(Qt3DCore::QEntity * )>(_a, &QForwardRenderer::cameraChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (QForwardRenderer::*)(QObject * )>(_a, &QForwardRenderer::surfaceChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (QForwardRenderer::*)(const QSize & )>(_a, &QForwardRenderer::externalRenderTargetSizeChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (QForwardRenderer::*)(bool )>(_a, &QForwardRenderer::frustumCullingEnabledChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (QForwardRenderer::*)(float )>(_a, &QForwardRenderer::gammaChanged, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (QForwardRenderer::*)(bool )>(_a, &QForwardRenderer::showDebugOverlayChanged, 8))
            return;
    }
    if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 5:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Qt3DCore::QEntity* >(); break;
        }
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QObject**>(_v) = _t->surface(); break;
        case 1: *reinterpret_cast<QObject**>(_v) = _t->surface(); break;
        case 2: *reinterpret_cast<QRectF*>(_v) = _t->viewportRect(); break;
        case 3: *reinterpret_cast<QColor*>(_v) = _t->clearColor(); break;
        case 4: *reinterpret_cast<Qt3DRender::QClearBuffers::BufferType*>(_v) = _t->buffersToClear(); break;
        case 5: *reinterpret_cast<Qt3DCore::QEntity**>(_v) = _t->camera(); break;
        case 6: *reinterpret_cast<QSize*>(_v) = _t->externalRenderTargetSize(); break;
        case 7: *reinterpret_cast<bool*>(_v) = _t->isFrustumCullingEnabled(); break;
        case 8: *reinterpret_cast<float*>(_v) = _t->gamma(); break;
        case 9: *reinterpret_cast<bool*>(_v) = _t->showDebugOverlay(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setSurface(*reinterpret_cast<QObject**>(_v)); break;
        case 1: _t->setSurface(*reinterpret_cast<QObject**>(_v)); break;
        case 2: _t->setViewportRect(*reinterpret_cast<QRectF*>(_v)); break;
        case 3: _t->setClearColor(*reinterpret_cast<QColor*>(_v)); break;
        case 4: _t->setBuffersToClear(*reinterpret_cast<Qt3DRender::QClearBuffers::BufferType*>(_v)); break;
        case 5: _t->setCamera(*reinterpret_cast<Qt3DCore::QEntity**>(_v)); break;
        case 6: _t->setExternalRenderTargetSize(*reinterpret_cast<QSize*>(_v)); break;
        case 7: _t->setFrustumCullingEnabled(*reinterpret_cast<bool*>(_v)); break;
        case 8: _t->setGamma(*reinterpret_cast<float*>(_v)); break;
        case 9: _t->setShowDebugOverlay(*reinterpret_cast<bool*>(_v)); break;
        default: break;
        }
    }
}

const QMetaObject *Qt3DExtras::QForwardRenderer::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *Qt3DExtras::QForwardRenderer::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10Qt3DExtras16QForwardRendererE_t>.strings))
        return static_cast<void*>(this);
    return Qt3DRender::QTechniqueFilter::qt_metacast(_clname);
}

int Qt3DExtras::QForwardRenderer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Qt3DRender::QTechniqueFilter::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 18)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 18;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 18)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 18;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    }
    return _id;
}

// SIGNAL 0
void Qt3DExtras::QForwardRenderer::viewportRectChanged(const QRectF & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void Qt3DExtras::QForwardRenderer::clearColorChanged(const QColor & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void Qt3DExtras::QForwardRenderer::buffersToClearChanged(Qt3DRender::QClearBuffers::BufferType _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void Qt3DExtras::QForwardRenderer::cameraChanged(Qt3DCore::QEntity * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void Qt3DExtras::QForwardRenderer::surfaceChanged(QObject * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void Qt3DExtras::QForwardRenderer::externalRenderTargetSizeChanged(const QSize & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void Qt3DExtras::QForwardRenderer::frustumCullingEnabledChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}

// SIGNAL 7
void Qt3DExtras::QForwardRenderer::gammaChanged(float _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}

// SIGNAL 8
void Qt3DExtras::QForwardRenderer::showDebugOverlayChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1);
}
QT_WARNING_POP
