/****************************************************************************
** Meta object code from reading C++ file 'qblitframebuffer.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/render/framegraph/qblitframebuffer.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 'qblitframebuffer.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_ZN10Qt3DRender16QBlitFramebufferE_t {};
} // unnamed namespace

template <> constexpr inline auto Qt3DRender::QBlitFramebuffer::qt_create_metaobjectdata<qt_meta_tag_ZN10Qt3DRender16QBlitFramebufferE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Qt3DRender::QBlitFramebuffer",
        "sourceChanged",
        "",
        "destinationChanged",
        "sourceRectChanged",
        "destinationRectChanged",
        "sourceAttachmentPointChanged",
        "destinationAttachmentPointChanged",
        "interpolationMethodChanged",
        "source",
        "Qt3DRender::QRenderTarget*",
        "destination",
        "sourceRect",
        "QRectF",
        "destinationRect",
        "sourceAttachmentPoint",
        "Qt3DRender::QRenderTargetOutput::AttachmentPoint",
        "destinationAttachmentPoint",
        "interpolationMethod",
        "InterpolationMethod",
        "Nearest",
        "Linear"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'sourceChanged'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'destinationChanged'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'sourceRectChanged'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'destinationRectChanged'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'sourceAttachmentPointChanged'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'destinationAttachmentPointChanged'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'interpolationMethodChanged'
        QtMocHelpers::SignalData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'source'
        QtMocHelpers::PropertyData<Qt3DRender::QRenderTarget*>(9, 0x80000000 | 10, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 0),
        // property 'destination'
        QtMocHelpers::PropertyData<Qt3DRender::QRenderTarget*>(11, 0x80000000 | 10, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 1),
        // property 'sourceRect'
        QtMocHelpers::PropertyData<QRectF>(12, 0x80000000 | 13, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 2),
        // property 'destinationRect'
        QtMocHelpers::PropertyData<QRectF>(14, 0x80000000 | 13, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 3),
        // property 'sourceAttachmentPoint'
        QtMocHelpers::PropertyData<Qt3DRender::QRenderTargetOutput::AttachmentPoint>(15, 0x80000000 | 16, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 4),
        // property 'destinationAttachmentPoint'
        QtMocHelpers::PropertyData<Qt3DRender::QRenderTargetOutput::AttachmentPoint>(17, 0x80000000 | 16, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 5),
        // property 'interpolationMethod'
        QtMocHelpers::PropertyData<enum InterpolationMethod>(18, 0x80000000 | 19, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 6),
    };
    QtMocHelpers::UintData qt_enums {
        // enum 'InterpolationMethod'
        QtMocHelpers::EnumData<enum InterpolationMethod>(19, 19, QMC::EnumFlags{}).add({
            {   20, InterpolationMethod::Nearest },
            {   21, InterpolationMethod::Linear },
        }),
    };
    return QtMocHelpers::metaObjectData<QBlitFramebuffer, qt_meta_tag_ZN10Qt3DRender16QBlitFramebufferE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT static const QMetaObject::SuperData qt_meta_extradata_ZN10Qt3DRender16QBlitFramebufferE[] = {
    QMetaObject::SuperData::link<Qt3DRender::QRenderTargetOutput::staticMetaObject>(),
    nullptr
};

Q_CONSTINIT const QMetaObject Qt3DRender::QBlitFramebuffer::staticMetaObject = { {
    QMetaObject::SuperData::link<QFrameGraphNode::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10Qt3DRender16QBlitFramebufferE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10Qt3DRender16QBlitFramebufferE_t>.data,
    qt_static_metacall,
    qt_meta_extradata_ZN10Qt3DRender16QBlitFramebufferE,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10Qt3DRender16QBlitFramebufferE_t>.metaTypes,
    nullptr
} };

void Qt3DRender::QBlitFramebuffer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<QBlitFramebuffer *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->sourceChanged(); break;
        case 1: _t->destinationChanged(); break;
        case 2: _t->sourceRectChanged(); break;
        case 3: _t->destinationRectChanged(); break;
        case 4: _t->sourceAttachmentPointChanged(); break;
        case 5: _t->destinationAttachmentPointChanged(); break;
        case 6: _t->interpolationMethodChanged(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (QBlitFramebuffer::*)()>(_a, &QBlitFramebuffer::sourceChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (QBlitFramebuffer::*)()>(_a, &QBlitFramebuffer::destinationChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (QBlitFramebuffer::*)()>(_a, &QBlitFramebuffer::sourceRectChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (QBlitFramebuffer::*)()>(_a, &QBlitFramebuffer::destinationRectChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (QBlitFramebuffer::*)()>(_a, &QBlitFramebuffer::sourceAttachmentPointChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (QBlitFramebuffer::*)()>(_a, &QBlitFramebuffer::destinationAttachmentPointChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (QBlitFramebuffer::*)()>(_a, &QBlitFramebuffer::interpolationMethodChanged, 6))
            return;
    }
    if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Qt3DRender::QRenderTarget* >(); break;
        case 5:
        case 4:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Qt3DRender::QRenderTargetOutput::AttachmentPoint >(); break;
        }
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<Qt3DRender::QRenderTarget**>(_v) = _t->source(); break;
        case 1: *reinterpret_cast<Qt3DRender::QRenderTarget**>(_v) = _t->destination(); break;
        case 2: *reinterpret_cast<QRectF*>(_v) = _t->sourceRect(); break;
        case 3: *reinterpret_cast<QRectF*>(_v) = _t->destinationRect(); break;
        case 4: *reinterpret_cast<Qt3DRender::QRenderTargetOutput::AttachmentPoint*>(_v) = _t->sourceAttachmentPoint(); break;
        case 5: *reinterpret_cast<Qt3DRender::QRenderTargetOutput::AttachmentPoint*>(_v) = _t->destinationAttachmentPoint(); break;
        case 6: *reinterpret_cast<enum InterpolationMethod*>(_v) = _t->interpolationMethod(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setSource(*reinterpret_cast<Qt3DRender::QRenderTarget**>(_v)); break;
        case 1: _t->setDestination(*reinterpret_cast<Qt3DRender::QRenderTarget**>(_v)); break;
        case 2: _t->setSourceRect(*reinterpret_cast<QRectF*>(_v)); break;
        case 3: _t->setDestinationRect(*reinterpret_cast<QRectF*>(_v)); break;
        case 4: _t->setSourceAttachmentPoint(*reinterpret_cast<Qt3DRender::QRenderTargetOutput::AttachmentPoint*>(_v)); break;
        case 5: _t->setDestinationAttachmentPoint(*reinterpret_cast<Qt3DRender::QRenderTargetOutput::AttachmentPoint*>(_v)); break;
        case 6: _t->setInterpolationMethod(*reinterpret_cast<enum InterpolationMethod*>(_v)); break;
        default: break;
        }
    }
}

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

void *Qt3DRender::QBlitFramebuffer::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10Qt3DRender16QBlitFramebufferE_t>.strings))
        return static_cast<void*>(this);
    return QFrameGraphNode::qt_metacast(_clname);
}

int Qt3DRender::QBlitFramebuffer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QFrameGraphNode::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 7)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 7)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 7;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    }
    return _id;
}

// SIGNAL 0
void Qt3DRender::QBlitFramebuffer::sourceChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void Qt3DRender::QBlitFramebuffer::destinationChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void Qt3DRender::QBlitFramebuffer::sourceRectChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void Qt3DRender::QBlitFramebuffer::destinationRectChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void Qt3DRender::QBlitFramebuffer::sourceAttachmentPointChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void Qt3DRender::QBlitFramebuffer::destinationAttachmentPointChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void Qt3DRender::QBlitFramebuffer::interpolationMethodChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}
QT_WARNING_POP
