/****************************************************************************
** Meta object code from reading C++ file 'qblendstate.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/qblendstate.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qblendstate.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__QBlendState_t {
    QByteArrayData data[30];
    char stringdata0[379];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Qt3D__QBlendState_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Qt3D__QBlendState_t qt_meta_stringdata_Qt3D__QBlendState = {
    {
QT_MOC_LITERAL(0, 0, 17), // "Qt3D::QBlendState"
QT_MOC_LITERAL(1, 18, 13), // "srcRGBChanged"
QT_MOC_LITERAL(2, 32, 0), // ""
QT_MOC_LITERAL(3, 33, 15), // "srcAlphaChanged"
QT_MOC_LITERAL(4, 49, 13), // "dstRGBChanged"
QT_MOC_LITERAL(5, 63, 15), // "dstAlphaChanged"
QT_MOC_LITERAL(6, 79, 6), // "srcRGB"
QT_MOC_LITERAL(7, 86, 8), // "Blending"
QT_MOC_LITERAL(8, 95, 8), // "srcAlpha"
QT_MOC_LITERAL(9, 104, 6), // "dstRGB"
QT_MOC_LITERAL(10, 111, 8), // "dstAlpha"
QT_MOC_LITERAL(11, 120, 4), // "Zero"
QT_MOC_LITERAL(12, 125, 3), // "One"
QT_MOC_LITERAL(13, 129, 8), // "SrcColor"
QT_MOC_LITERAL(14, 138, 8), // "SrcAlpha"
QT_MOC_LITERAL(15, 147, 9), // "Src1Alpha"
QT_MOC_LITERAL(16, 157, 9), // "Src1Color"
QT_MOC_LITERAL(17, 167, 8), // "DstColor"
QT_MOC_LITERAL(18, 176, 8), // "DstAlpha"
QT_MOC_LITERAL(19, 185, 16), // "SrcAlphaSaturate"
QT_MOC_LITERAL(20, 202, 13), // "ConstantColor"
QT_MOC_LITERAL(21, 216, 13), // "ConstantAlpha"
QT_MOC_LITERAL(22, 230, 16), // "OneMinusSrcColor"
QT_MOC_LITERAL(23, 247, 16), // "OneMinusSrcAlpha"
QT_MOC_LITERAL(24, 264, 16), // "OneMinusDstAlpha"
QT_MOC_LITERAL(25, 281, 16), // "OneMinusDstColor"
QT_MOC_LITERAL(26, 298, 21), // "OneMinusConstantColor"
QT_MOC_LITERAL(27, 320, 21), // "OneMinusConstantAlpha"
QT_MOC_LITERAL(28, 342, 17), // "OneMinusSrc1Alpha"
QT_MOC_LITERAL(29, 360, 18) // "OneMinusSrc1Color0"

    },
    "Qt3D::QBlendState\0srcRGBChanged\0\0"
    "srcAlphaChanged\0dstRGBChanged\0"
    "dstAlphaChanged\0srcRGB\0Blending\0"
    "srcAlpha\0dstRGB\0dstAlpha\0Zero\0One\0"
    "SrcColor\0SrcAlpha\0Src1Alpha\0Src1Color\0"
    "DstColor\0DstAlpha\0SrcAlphaSaturate\0"
    "ConstantColor\0ConstantAlpha\0"
    "OneMinusSrcColor\0OneMinusSrcAlpha\0"
    "OneMinusDstAlpha\0OneMinusDstColor\0"
    "OneMinusConstantColor\0OneMinusConstantAlpha\0"
    "OneMinusSrc1Alpha\0OneMinusSrc1Color0"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Qt3D__QBlendState[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
       4,   14, // methods
       4,   38, // properties
       1,   54, // enums/sets
       0,    0, // constructors
       0,       // flags
       4,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   34,    2, 0x06 /* Public */,
       3,    0,   35,    2, 0x06 /* Public */,
       4,    0,   36,    2, 0x06 /* Public */,
       5,    0,   37,    2, 0x06 /* Public */,

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

 // properties: name, type, flags
       6, 0x80000000 | 7, 0x0049510b,
       8, 0x80000000 | 7, 0x0049510b,
       9, 0x80000000 | 7, 0x0049510b,
      10, 0x80000000 | 7, 0x0049510b,

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

 // enums: name, flags, count, data
       7, 0x0,   19,   58,

 // enum data: key, value
      11, uint(Qt3D::QBlendState::Zero),
      12, uint(Qt3D::QBlendState::One),
      13, uint(Qt3D::QBlendState::SrcColor),
      14, uint(Qt3D::QBlendState::SrcAlpha),
      15, uint(Qt3D::QBlendState::Src1Alpha),
      16, uint(Qt3D::QBlendState::Src1Color),
      17, uint(Qt3D::QBlendState::DstColor),
      18, uint(Qt3D::QBlendState::DstAlpha),
      19, uint(Qt3D::QBlendState::SrcAlphaSaturate),
      20, uint(Qt3D::QBlendState::ConstantColor),
      21, uint(Qt3D::QBlendState::ConstantAlpha),
      22, uint(Qt3D::QBlendState::OneMinusSrcColor),
      23, uint(Qt3D::QBlendState::OneMinusSrcAlpha),
      24, uint(Qt3D::QBlendState::OneMinusDstAlpha),
      25, uint(Qt3D::QBlendState::OneMinusDstColor),
      26, uint(Qt3D::QBlendState::OneMinusConstantColor),
      27, uint(Qt3D::QBlendState::OneMinusConstantAlpha),
      28, uint(Qt3D::QBlendState::OneMinusSrc1Alpha),
      29, uint(Qt3D::QBlendState::OneMinusSrc1Color0),

       0        // eod
};

void Qt3D::QBlendState::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QBlendState *_t = static_cast<QBlendState *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->srcRGBChanged(); break;
        case 1: _t->srcAlphaChanged(); break;
        case 2: _t->dstRGBChanged(); break;
        case 3: _t->dstAlphaChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (QBlendState::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QBlendState::srcRGBChanged)) {
                *result = 0;
            }
        }
        {
            typedef void (QBlendState::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QBlendState::srcAlphaChanged)) {
                *result = 1;
            }
        }
        {
            typedef void (QBlendState::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QBlendState::dstRGBChanged)) {
                *result = 2;
            }
        }
        {
            typedef void (QBlendState::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QBlendState::dstAlphaChanged)) {
                *result = 3;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        QBlendState *_t = static_cast<QBlendState *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< Blending*>(_v) = _t->srcRGB(); break;
        case 1: *reinterpret_cast< Blending*>(_v) = _t->srcAlpha(); break;
        case 2: *reinterpret_cast< Blending*>(_v) = _t->dstRGB(); break;
        case 3: *reinterpret_cast< Blending*>(_v) = _t->dstAlpha(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        QBlendState *_t = static_cast<QBlendState *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setSrcRGB(*reinterpret_cast< Blending*>(_v)); break;
        case 1: _t->setSrcAlpha(*reinterpret_cast< Blending*>(_v)); break;
        case 2: _t->setDstRGB(*reinterpret_cast< Blending*>(_v)); break;
        case 3: _t->setDstAlpha(*reinterpret_cast< Blending*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
    Q_UNUSED(_a);
}

const QMetaObject Qt3D::QBlendState::staticMetaObject = {
    { &QRenderState::staticMetaObject, qt_meta_stringdata_Qt3D__QBlendState.data,
      qt_meta_data_Qt3D__QBlendState,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

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

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

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

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

// SIGNAL 3
void Qt3D::QBlendState::dstAlphaChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, Q_NULLPTR);
}
struct qt_meta_stringdata_Qt3D__QBlendStateSeparate_t {
    QByteArrayData data[1];
    char stringdata0[26];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Qt3D__QBlendStateSeparate_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Qt3D__QBlendStateSeparate_t qt_meta_stringdata_Qt3D__QBlendStateSeparate = {
    {
QT_MOC_LITERAL(0, 0, 25) // "Qt3D::QBlendStateSeparate"

    },
    "Qt3D::QBlendStateSeparate"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Qt3D__QBlendStateSeparate[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
       0,    0, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

       0        // eod
};

void Qt3D::QBlendStateSeparate::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

const QMetaObject Qt3D::QBlendStateSeparate::staticMetaObject = {
    { &QBlendState::staticMetaObject, qt_meta_stringdata_Qt3D__QBlendStateSeparate.data,
      qt_meta_data_Qt3D__QBlendStateSeparate,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int Qt3D::QBlendStateSeparate::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QBlendState::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    return _id;
}
QT_END_MOC_NAMESPACE
