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

#include "../../../../src/qt3d-opensource-src-5.5.1/src/render/frontend/qrenderattachment.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qrenderattachment.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.5.1. 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
struct qt_meta_stringdata_Qt3D__QRenderAttachment_t {
    QByteArrayData data[42];
    char stringdata0[645];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Qt3D__QRenderAttachment_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Qt3D__QRenderAttachment_t qt_meta_stringdata_Qt3D__QRenderAttachment = {
    {
QT_MOC_LITERAL(0, 0, 23), // "Qt3D::QRenderAttachment"
QT_MOC_LITERAL(1, 24, 11), // "typeChanged"
QT_MOC_LITERAL(2, 36, 0), // ""
QT_MOC_LITERAL(3, 37, 14), // "textureChanged"
QT_MOC_LITERAL(4, 52, 15), // "mipLevelChanged"
QT_MOC_LITERAL(5, 68, 12), // "layerChanged"
QT_MOC_LITERAL(6, 81, 11), // "faceChanged"
QT_MOC_LITERAL(7, 93, 11), // "nameChanged"
QT_MOC_LITERAL(8, 105, 4), // "type"
QT_MOC_LITERAL(9, 110, 20), // "RenderAttachmentType"
QT_MOC_LITERAL(10, 131, 7), // "texture"
QT_MOC_LITERAL(11, 139, 31), // "Qt3D::QAbstractTextureProvider*"
QT_MOC_LITERAL(12, 171, 8), // "mipLevel"
QT_MOC_LITERAL(13, 180, 5), // "layer"
QT_MOC_LITERAL(14, 186, 4), // "face"
QT_MOC_LITERAL(15, 191, 11), // "CubeMapFace"
QT_MOC_LITERAL(16, 203, 4), // "name"
QT_MOC_LITERAL(17, 208, 16), // "ColorAttachment0"
QT_MOC_LITERAL(18, 225, 16), // "ColorAttachment1"
QT_MOC_LITERAL(19, 242, 16), // "ColorAttachment2"
QT_MOC_LITERAL(20, 259, 16), // "ColorAttachment3"
QT_MOC_LITERAL(21, 276, 16), // "ColorAttachment4"
QT_MOC_LITERAL(22, 293, 16), // "ColorAttachment5"
QT_MOC_LITERAL(23, 310, 16), // "ColorAttachment6"
QT_MOC_LITERAL(24, 327, 16), // "ColorAttachment7"
QT_MOC_LITERAL(25, 344, 16), // "ColorAttachment8"
QT_MOC_LITERAL(26, 361, 16), // "ColorAttachment9"
QT_MOC_LITERAL(27, 378, 17), // "ColorAttachment10"
QT_MOC_LITERAL(28, 396, 17), // "ColorAttachment11"
QT_MOC_LITERAL(29, 414, 17), // "ColorAttachment12"
QT_MOC_LITERAL(30, 432, 17), // "ColorAttachment13"
QT_MOC_LITERAL(31, 450, 17), // "ColorAttachment14"
QT_MOC_LITERAL(32, 468, 17), // "ColorAttachment15"
QT_MOC_LITERAL(33, 486, 15), // "DepthAttachment"
QT_MOC_LITERAL(34, 502, 17), // "StencilAttachment"
QT_MOC_LITERAL(35, 520, 22), // "DepthStencilAttachment"
QT_MOC_LITERAL(36, 543, 16), // "CubeMapPositiveX"
QT_MOC_LITERAL(37, 560, 16), // "CubeMapNegativeX"
QT_MOC_LITERAL(38, 577, 16), // "CubeMapPositiveY"
QT_MOC_LITERAL(39, 594, 16), // "CubeMapNegativeY"
QT_MOC_LITERAL(40, 611, 16), // "CubeMapPositiveZ"
QT_MOC_LITERAL(41, 628, 16) // "CubeMapNegativeZ"

    },
    "Qt3D::QRenderAttachment\0typeChanged\0"
    "\0textureChanged\0mipLevelChanged\0"
    "layerChanged\0faceChanged\0nameChanged\0"
    "type\0RenderAttachmentType\0texture\0"
    "Qt3D::QAbstractTextureProvider*\0"
    "mipLevel\0layer\0face\0CubeMapFace\0name\0"
    "ColorAttachment0\0ColorAttachment1\0"
    "ColorAttachment2\0ColorAttachment3\0"
    "ColorAttachment4\0ColorAttachment5\0"
    "ColorAttachment6\0ColorAttachment7\0"
    "ColorAttachment8\0ColorAttachment9\0"
    "ColorAttachment10\0ColorAttachment11\0"
    "ColorAttachment12\0ColorAttachment13\0"
    "ColorAttachment14\0ColorAttachment15\0"
    "DepthAttachment\0StencilAttachment\0"
    "DepthStencilAttachment\0CubeMapPositiveX\0"
    "CubeMapNegativeX\0CubeMapPositiveY\0"
    "CubeMapNegativeY\0CubeMapPositiveZ\0"
    "CubeMapNegativeZ"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Qt3D__QRenderAttachment[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
       6,   14, // methods
       6,   50, // properties
       2,   74, // enums/sets
       0,    0, // constructors
       0,       // flags
       6,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   44,    2, 0x06 /* Public */,
       3,    0,   45,    2, 0x06 /* Public */,
       4,    0,   46,    2, 0x06 /* Public */,
       5,    0,   47,    2, 0x06 /* Public */,
       6,    0,   48,    2, 0x06 /* Public */,
       7,    0,   49,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // properties: name, type, flags
       8, 0x80000000 | 9, 0x0049510b,
      10, 0x80000000 | 11, 0x0049510b,
      12, QMetaType::Int, 0x00495103,
      13, QMetaType::Int, 0x00495103,
      14, 0x80000000 | 15, 0x0049510b,
      16, QMetaType::QString, 0x00495103,

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

 // enums: name, flags, count, data
       9, 0x0,   19,   82,
      15, 0x0,    6,  120,

 // enum data: key, value
      17, uint(Qt3D::QRenderAttachment::ColorAttachment0),
      18, uint(Qt3D::QRenderAttachment::ColorAttachment1),
      19, uint(Qt3D::QRenderAttachment::ColorAttachment2),
      20, uint(Qt3D::QRenderAttachment::ColorAttachment3),
      21, uint(Qt3D::QRenderAttachment::ColorAttachment4),
      22, uint(Qt3D::QRenderAttachment::ColorAttachment5),
      23, uint(Qt3D::QRenderAttachment::ColorAttachment6),
      24, uint(Qt3D::QRenderAttachment::ColorAttachment7),
      25, uint(Qt3D::QRenderAttachment::ColorAttachment8),
      26, uint(Qt3D::QRenderAttachment::ColorAttachment9),
      27, uint(Qt3D::QRenderAttachment::ColorAttachment10),
      28, uint(Qt3D::QRenderAttachment::ColorAttachment11),
      29, uint(Qt3D::QRenderAttachment::ColorAttachment12),
      30, uint(Qt3D::QRenderAttachment::ColorAttachment13),
      31, uint(Qt3D::QRenderAttachment::ColorAttachment14),
      32, uint(Qt3D::QRenderAttachment::ColorAttachment15),
      33, uint(Qt3D::QRenderAttachment::DepthAttachment),
      34, uint(Qt3D::QRenderAttachment::StencilAttachment),
      35, uint(Qt3D::QRenderAttachment::DepthStencilAttachment),
      36, uint(Qt3D::QRenderAttachment::CubeMapPositiveX),
      37, uint(Qt3D::QRenderAttachment::CubeMapNegativeX),
      38, uint(Qt3D::QRenderAttachment::CubeMapPositiveY),
      39, uint(Qt3D::QRenderAttachment::CubeMapNegativeY),
      40, uint(Qt3D::QRenderAttachment::CubeMapPositiveZ),
      41, uint(Qt3D::QRenderAttachment::CubeMapNegativeZ),

       0        // eod
};

void Qt3D::QRenderAttachment::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QRenderAttachment *_t = static_cast<QRenderAttachment *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->typeChanged(); break;
        case 1: _t->textureChanged(); break;
        case 2: _t->mipLevelChanged(); break;
        case 3: _t->layerChanged(); break;
        case 4: _t->faceChanged(); break;
        case 5: _t->nameChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (QRenderAttachment::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QRenderAttachment::typeChanged)) {
                *result = 0;
            }
        }
        {
            typedef void (QRenderAttachment::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QRenderAttachment::textureChanged)) {
                *result = 1;
            }
        }
        {
            typedef void (QRenderAttachment::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QRenderAttachment::mipLevelChanged)) {
                *result = 2;
            }
        }
        {
            typedef void (QRenderAttachment::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QRenderAttachment::layerChanged)) {
                *result = 3;
            }
        }
        {
            typedef void (QRenderAttachment::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QRenderAttachment::faceChanged)) {
                *result = 4;
            }
        }
        {
            typedef void (QRenderAttachment::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QRenderAttachment::nameChanged)) {
                *result = 5;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        QRenderAttachment *_t = static_cast<QRenderAttachment *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< RenderAttachmentType*>(_v) = _t->type(); break;
        case 1: *reinterpret_cast< Qt3D::QAbstractTextureProvider**>(_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< CubeMapFace*>(_v) = _t->face(); break;
        case 5: *reinterpret_cast< QString*>(_v) = _t->name(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        QRenderAttachment *_t = static_cast<QRenderAttachment *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setType(*reinterpret_cast< RenderAttachmentType*>(_v)); break;
        case 1: _t->setTexture(*reinterpret_cast< Qt3D::QAbstractTextureProvider**>(_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< CubeMapFace*>(_v)); break;
        case 5: _t->setName(*reinterpret_cast< QString*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
    Q_UNUSED(_a);
}

const QMetaObject Qt3D::QRenderAttachment::staticMetaObject = {
    { &QNode::staticMetaObject, qt_meta_stringdata_Qt3D__QRenderAttachment.data,
      qt_meta_data_Qt3D__QRenderAttachment,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Qt3D::QRenderAttachment::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Qt3D__QRenderAttachment.stringdata0))
        return static_cast<void*>(const_cast< QRenderAttachment*>(this));
    return QNode::qt_metacast(_clname);
}

int Qt3D::QRenderAttachment::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QNode::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 6)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 6)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 6;
    }
#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 -= 6;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 6;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void Qt3D::QRenderAttachment::typeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

// SIGNAL 1
void Qt3D::QRenderAttachment::textureChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}

// SIGNAL 2
void Qt3D::QRenderAttachment::mipLevelChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
}

// SIGNAL 3
void Qt3D::QRenderAttachment::layerChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, Q_NULLPTR);
}

// SIGNAL 4
void Qt3D::QRenderAttachment::faceChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, Q_NULLPTR);
}

// SIGNAL 5
void Qt3D::QRenderAttachment::nameChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
