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

#include <memory>
#include "../../../../qt3d/src/render/frontend/qrendertargetoutput.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qrendertargetoutput.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_Qt3DRender__QRenderTargetOutput_t {
    QByteArrayData data[41];
    char stringdata0[472];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Qt3DRender__QRenderTargetOutput_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Qt3DRender__QRenderTargetOutput_t qt_meta_stringdata_Qt3DRender__QRenderTargetOutput = {
    {
QT_MOC_LITERAL(0, 0, 31), // "Qt3DRender::QRenderTargetOutput"
QT_MOC_LITERAL(1, 32, 22), // "attachmentPointChanged"
QT_MOC_LITERAL(2, 55, 0), // ""
QT_MOC_LITERAL(3, 56, 15), // "AttachmentPoint"
QT_MOC_LITERAL(4, 72, 15), // "attachmentPoint"
QT_MOC_LITERAL(5, 88, 14), // "textureChanged"
QT_MOC_LITERAL(6, 103, 17), // "QAbstractTexture*"
QT_MOC_LITERAL(7, 121, 7), // "texture"
QT_MOC_LITERAL(8, 129, 15), // "mipLevelChanged"
QT_MOC_LITERAL(9, 145, 8), // "mipLevel"
QT_MOC_LITERAL(10, 154, 12), // "layerChanged"
QT_MOC_LITERAL(11, 167, 5), // "layer"
QT_MOC_LITERAL(12, 173, 11), // "faceChanged"
QT_MOC_LITERAL(13, 185, 29), // "QAbstractTexture::CubeMapFace"
QT_MOC_LITERAL(14, 215, 4), // "face"
QT_MOC_LITERAL(15, 220, 18), // "setAttachmentPoint"
QT_MOC_LITERAL(16, 239, 10), // "setTexture"
QT_MOC_LITERAL(17, 250, 11), // "setMipLevel"
QT_MOC_LITERAL(18, 262, 5), // "level"
QT_MOC_LITERAL(19, 268, 8), // "setLayer"
QT_MOC_LITERAL(20, 277, 7), // "setFace"
QT_MOC_LITERAL(21, 285, 41), // "Qt3DRender::QAbstractTexture:..."
QT_MOC_LITERAL(22, 327, 6), // "Color0"
QT_MOC_LITERAL(23, 334, 6), // "Color1"
QT_MOC_LITERAL(24, 341, 6), // "Color2"
QT_MOC_LITERAL(25, 348, 6), // "Color3"
QT_MOC_LITERAL(26, 355, 6), // "Color4"
QT_MOC_LITERAL(27, 362, 6), // "Color5"
QT_MOC_LITERAL(28, 369, 6), // "Color6"
QT_MOC_LITERAL(29, 376, 6), // "Color7"
QT_MOC_LITERAL(30, 383, 6), // "Color8"
QT_MOC_LITERAL(31, 390, 6), // "Color9"
QT_MOC_LITERAL(32, 397, 7), // "Color10"
QT_MOC_LITERAL(33, 405, 7), // "Color11"
QT_MOC_LITERAL(34, 413, 7), // "Color12"
QT_MOC_LITERAL(35, 421, 7), // "Color13"
QT_MOC_LITERAL(36, 429, 7), // "Color14"
QT_MOC_LITERAL(37, 437, 7), // "Color15"
QT_MOC_LITERAL(38, 445, 5), // "Depth"
QT_MOC_LITERAL(39, 451, 7), // "Stencil"
QT_MOC_LITERAL(40, 459, 12) // "DepthStencil"

    },
    "Qt3DRender::QRenderTargetOutput\0"
    "attachmentPointChanged\0\0AttachmentPoint\0"
    "attachmentPoint\0textureChanged\0"
    "QAbstractTexture*\0texture\0mipLevelChanged\0"
    "mipLevel\0layerChanged\0layer\0faceChanged\0"
    "QAbstractTexture::CubeMapFace\0face\0"
    "setAttachmentPoint\0setTexture\0setMipLevel\0"
    "level\0setLayer\0setFace\0"
    "Qt3DRender::QAbstractTexture::CubeMapFace\0"
    "Color0\0Color1\0Color2\0Color3\0Color4\0"
    "Color5\0Color6\0Color7\0Color8\0Color9\0"
    "Color10\0Color11\0Color12\0Color13\0Color14\0"
    "Color15\0Depth\0Stencil\0DepthStencil"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Qt3DRender__QRenderTargetOutput[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      10,   14, // methods
       5,   94, // properties
       1,  114, // enums/sets
       0,    0, // constructors
       0,       // flags
       5,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   64,    2, 0x06 /* Public */,
       5,    1,   67,    2, 0x06 /* Public */,
       8,    1,   70,    2, 0x06 /* Public */,
      10,    1,   73,    2, 0x06 /* Public */,
      12,    1,   76,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      15,    1,   79,    2, 0x0a /* Public */,
      16,    1,   82,    2, 0x0a /* Public */,
      17,    1,   85,    2, 0x0a /* Public */,
      19,    1,   88,    2, 0x0a /* Public */,
      20,    1,   91,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void, QMetaType::Int,    9,
    QMetaType::Void, QMetaType::Int,   11,
    QMetaType::Void, 0x80000000 | 13,   14,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void, QMetaType::Int,   18,
    QMetaType::Void, QMetaType::Int,   11,
    QMetaType::Void, 0x80000000 | 13,   14,

 // properties: name, type, flags
       4, 0x80000000 | 3, 0x0049510b,
       7, 0x80000000 | 6, 0x0049510b,
       9, QMetaType::Int, 0x00495103,
      11, QMetaType::Int, 0x00495103,
      14, 0x80000000 | 21, 0x0049510b,

 // properties: notify_signal_id
       0,
       1,
       2,
       3,
       4,

 // enums: name, alias, flags, count, data
       3,    3, 0x0,   19,  119,

 // enum data: key, value
      22, uint(Qt3DRender::QRenderTargetOutput::Color0),
      23, uint(Qt3DRender::QRenderTargetOutput::Color1),
      24, uint(Qt3DRender::QRenderTargetOutput::Color2),
      25, uint(Qt3DRender::QRenderTargetOutput::Color3),
      26, uint(Qt3DRender::QRenderTargetOutput::Color4),
      27, uint(Qt3DRender::QRenderTargetOutput::Color5),
      28, uint(Qt3DRender::QRenderTargetOutput::Color6),
      29, uint(Qt3DRender::QRenderTargetOutput::Color7),
      30, uint(Qt3DRender::QRenderTargetOutput::Color8),
      31, uint(Qt3DRender::QRenderTargetOutput::Color9),
      32, uint(Qt3DRender::QRenderTargetOutput::Color10),
      33, uint(Qt3DRender::QRenderTargetOutput::Color11),
      34, uint(Qt3DRender::QRenderTargetOutput::Color12),
      35, uint(Qt3DRender::QRenderTargetOutput::Color13),
      36, uint(Qt3DRender::QRenderTargetOutput::Color14),
      37, uint(Qt3DRender::QRenderTargetOutput::Color15),
      38, uint(Qt3DRender::QRenderTargetOutput::Depth),
      39, uint(Qt3DRender::QRenderTargetOutput::Stencil),
      40, uint(Qt3DRender::QRenderTargetOutput::DepthStencil),

       0        // eod
};

void Qt3DRender::QRenderTargetOutput::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QRenderTargetOutput *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->attachmentPointChanged((*reinterpret_cast< AttachmentPoint(*)>(_a[1]))); break;
        case 1: _t->textureChanged((*reinterpret_cast< QAbstractTexture*(*)>(_a[1]))); break;
        case 2: _t->mipLevelChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->layerChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->faceChanged((*reinterpret_cast< QAbstractTexture::CubeMapFace(*)>(_a[1]))); break;
        case 5: _t->setAttachmentPoint((*reinterpret_cast< AttachmentPoint(*)>(_a[1]))); break;
        case 6: _t->setTexture((*reinterpret_cast< QAbstractTexture*(*)>(_a[1]))); break;
        case 7: _t->setMipLevel((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->setLayer((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 9: _t->setFace((*reinterpret_cast< QAbstractTexture::CubeMapFace(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAbstractTexture* >(); break;
            }
            break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAbstractTexture* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QRenderTargetOutput::*)(AttachmentPoint );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QRenderTargetOutput::attachmentPointChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QRenderTargetOutput::*)(QAbstractTexture * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QRenderTargetOutput::textureChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QRenderTargetOutput::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QRenderTargetOutput::mipLevelChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QRenderTargetOutput::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QRenderTargetOutput::layerChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QRenderTargetOutput::*)(QAbstractTexture::CubeMapFace );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QRenderTargetOutput::faceChanged)) {
                *result = 4;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAbstractTexture* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QRenderTargetOutput *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< AttachmentPoint*>(_v) = _t->attachmentPoint(); break;
        case 1: *reinterpret_cast< QAbstractTexture**>(_v) = _t->texture(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->mipLevel(); break;
        case 3: *reinterpret_cast< int*>(_v) = _t->layer(); break;
        case 4: *reinterpret_cast< Qt3DRender::QAbstractTexture::CubeMapFace*>(_v) = _t->face(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QRenderTargetOutput *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setAttachmentPoint(*reinterpret_cast< AttachmentPoint*>(_v)); break;
        case 1: _t->setTexture(*reinterpret_cast< QAbstractTexture**>(_v)); break;
        case 2: _t->setMipLevel(*reinterpret_cast< int*>(_v)); break;
        case 3: _t->setLayer(*reinterpret_cast< int*>(_v)); break;
        case 4: _t->setFace(*reinterpret_cast< Qt3DRender::QAbstractTexture::CubeMapFace*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

static const QMetaObject::SuperData qt_meta_extradata_Qt3DRender__QRenderTargetOutput[] = {
    QMetaObject::SuperData::link<Qt3DRender::QAbstractTexture::staticMetaObject>(),
    nullptr
};

QT_INIT_METAOBJECT const QMetaObject Qt3DRender::QRenderTargetOutput::staticMetaObject = { {
    QMetaObject::SuperData::link<Qt3DCore::QNode::staticMetaObject>(),
    qt_meta_stringdata_Qt3DRender__QRenderTargetOutput.data,
    qt_meta_data_Qt3DRender__QRenderTargetOutput,
    qt_static_metacall,
    qt_meta_extradata_Qt3DRender__QRenderTargetOutput,
    nullptr
} };


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

void *Qt3DRender::QRenderTargetOutput::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Qt3DRender__QRenderTargetOutput.stringdata0))
        return static_cast<void*>(this);
    return Qt3DCore::QNode::qt_metacast(_clname);
}

int Qt3DRender::QRenderTargetOutput::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Qt3DCore::QNode::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 5;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void Qt3DRender::QRenderTargetOutput::attachmentPointChanged(AttachmentPoint _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Qt3DRender::QRenderTargetOutput::textureChanged(QAbstractTexture * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Qt3DRender::QRenderTargetOutput::mipLevelChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void Qt3DRender::QRenderTargetOutput::layerChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void Qt3DRender::QRenderTargetOutput::faceChanged(QAbstractTexture::CubeMapFace _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
