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

#include <memory>
#include "../../../../qtquick3d/src/quick3d/qquick3dmaterial_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qquick3dmaterial_p.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.3. 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_QQuick3DMaterial_t {
    QByteArrayData data[33];
    char stringdata0[502];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QQuick3DMaterial_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QQuick3DMaterial_t qt_meta_stringdata_QQuick3DMaterial = {
    {
QT_MOC_LITERAL(0, 0, 16), // "QQuick3DMaterial"
QT_MOC_LITERAL(1, 17, 23), // "lightmapIndirectChanged"
QT_MOC_LITERAL(2, 41, 0), // ""
QT_MOC_LITERAL(3, 42, 16), // "QQuick3DTexture*"
QT_MOC_LITERAL(4, 59, 16), // "lightmapIndirect"
QT_MOC_LITERAL(5, 76, 24), // "lightmapRadiosityChanged"
QT_MOC_LITERAL(6, 101, 17), // "lightmapRadiosity"
QT_MOC_LITERAL(7, 119, 21), // "lightmapShadowChanged"
QT_MOC_LITERAL(8, 141, 14), // "lightmapShadow"
QT_MOC_LITERAL(9, 156, 17), // "lightProbeChanged"
QT_MOC_LITERAL(10, 174, 10), // "lightProbe"
QT_MOC_LITERAL(11, 185, 22), // "displacementMapChanged"
QT_MOC_LITERAL(12, 208, 15), // "displacementMap"
QT_MOC_LITERAL(13, 224, 25), // "displacementAmountChanged"
QT_MOC_LITERAL(14, 250, 18), // "displacementAmount"
QT_MOC_LITERAL(15, 269, 15), // "cullModeChanged"
QT_MOC_LITERAL(16, 285, 8), // "CullMode"
QT_MOC_LITERAL(17, 294, 8), // "cullMode"
QT_MOC_LITERAL(18, 303, 19), // "setLightmapIndirect"
QT_MOC_LITERAL(19, 323, 20), // "setLightmapRadiosity"
QT_MOC_LITERAL(20, 344, 17), // "setLightmapShadow"
QT_MOC_LITERAL(21, 362, 13), // "setLightProbe"
QT_MOC_LITERAL(22, 376, 18), // "setDisplacementMap"
QT_MOC_LITERAL(23, 395, 21), // "setDisplacementAmount"
QT_MOC_LITERAL(24, 417, 11), // "setCullMode"
QT_MOC_LITERAL(25, 429, 15), // "BackFaceCulling"
QT_MOC_LITERAL(26, 445, 16), // "FrontFaceCulling"
QT_MOC_LITERAL(27, 462, 9), // "NoCulling"
QT_MOC_LITERAL(28, 472, 21), // "TextureChannelMapping"
QT_MOC_LITERAL(29, 494, 1), // "R"
QT_MOC_LITERAL(30, 496, 1), // "G"
QT_MOC_LITERAL(31, 498, 1), // "B"
QT_MOC_LITERAL(32, 500, 1) // "A"

    },
    "QQuick3DMaterial\0lightmapIndirectChanged\0"
    "\0QQuick3DTexture*\0lightmapIndirect\0"
    "lightmapRadiosityChanged\0lightmapRadiosity\0"
    "lightmapShadowChanged\0lightmapShadow\0"
    "lightProbeChanged\0lightProbe\0"
    "displacementMapChanged\0displacementMap\0"
    "displacementAmountChanged\0displacementAmount\0"
    "cullModeChanged\0CullMode\0cullMode\0"
    "setLightmapIndirect\0setLightmapRadiosity\0"
    "setLightmapShadow\0setLightProbe\0"
    "setDisplacementMap\0setDisplacementAmount\0"
    "setCullMode\0BackFaceCulling\0"
    "FrontFaceCulling\0NoCulling\0"
    "TextureChannelMapping\0R\0G\0B\0A"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QQuick3DMaterial[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      14,   14, // methods
       7,  126, // properties
       2,  154, // enums/sets
       0,    0, // constructors
       0,       // flags
       7,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   84,    2, 0x06 /* Public */,
       5,    1,   87,    2, 0x06 /* Public */,
       7,    1,   90,    2, 0x06 /* Public */,
       9,    1,   93,    2, 0x06 /* Public */,
      11,    1,   96,    2, 0x06 /* Public */,
      13,    1,   99,    2, 0x06 /* Public */,
      15,    1,  102,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      18,    1,  105,    2, 0x0a /* Public */,
      19,    1,  108,    2, 0x0a /* Public */,
      20,    1,  111,    2, 0x0a /* Public */,
      21,    1,  114,    2, 0x0a /* Public */,
      22,    1,  117,    2, 0x0a /* Public */,
      23,    1,  120,    2, 0x0a /* Public */,
      24,    1,  123,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    6,
    QMetaType::Void, 0x80000000 | 3,    8,
    QMetaType::Void, 0x80000000 | 3,   10,
    QMetaType::Void, 0x80000000 | 3,   12,
    QMetaType::Void, QMetaType::Float,   14,
    QMetaType::Void, 0x80000000 | 16,   17,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    6,
    QMetaType::Void, 0x80000000 | 3,    8,
    QMetaType::Void, 0x80000000 | 3,   10,
    QMetaType::Void, 0x80000000 | 3,   12,
    QMetaType::Void, QMetaType::Float,   14,
    QMetaType::Void, 0x80000000 | 16,   17,

 // properties: name, type, flags
       4, 0x80000000 | 3, 0x0049510b,
       6, 0x80000000 | 3, 0x0049510b,
       8, 0x80000000 | 3, 0x0049510b,
      10, 0x80000000 | 3, 0x0049510b,
      12, 0x80000000 | 3, 0x0049510b,
      14, QMetaType::Float, 0x00495103,
      17, 0x80000000 | 16, 0x0049510b,

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

 // enums: name, alias, flags, count, data
      16,   16, 0x0,    3,  164,
      28,   28, 0x0,    4,  170,

 // enum data: key, value
      25, uint(QQuick3DMaterial::BackFaceCulling),
      26, uint(QQuick3DMaterial::FrontFaceCulling),
      27, uint(QQuick3DMaterial::NoCulling),
      29, uint(QQuick3DMaterial::R),
      30, uint(QQuick3DMaterial::G),
      31, uint(QQuick3DMaterial::B),
      32, uint(QQuick3DMaterial::A),

       0        // eod
};

void QQuick3DMaterial::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QQuick3DMaterial *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->lightmapIndirectChanged((*reinterpret_cast< QQuick3DTexture*(*)>(_a[1]))); break;
        case 1: _t->lightmapRadiosityChanged((*reinterpret_cast< QQuick3DTexture*(*)>(_a[1]))); break;
        case 2: _t->lightmapShadowChanged((*reinterpret_cast< QQuick3DTexture*(*)>(_a[1]))); break;
        case 3: _t->lightProbeChanged((*reinterpret_cast< QQuick3DTexture*(*)>(_a[1]))); break;
        case 4: _t->displacementMapChanged((*reinterpret_cast< QQuick3DTexture*(*)>(_a[1]))); break;
        case 5: _t->displacementAmountChanged((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 6: _t->cullModeChanged((*reinterpret_cast< CullMode(*)>(_a[1]))); break;
        case 7: _t->setLightmapIndirect((*reinterpret_cast< QQuick3DTexture*(*)>(_a[1]))); break;
        case 8: _t->setLightmapRadiosity((*reinterpret_cast< QQuick3DTexture*(*)>(_a[1]))); break;
        case 9: _t->setLightmapShadow((*reinterpret_cast< QQuick3DTexture*(*)>(_a[1]))); break;
        case 10: _t->setLightProbe((*reinterpret_cast< QQuick3DTexture*(*)>(_a[1]))); break;
        case 11: _t->setDisplacementMap((*reinterpret_cast< QQuick3DTexture*(*)>(_a[1]))); break;
        case 12: _t->setDisplacementAmount((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 13: _t->setCullMode((*reinterpret_cast< CullMode(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuick3DTexture* >(); break;
            }
            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< QQuick3DTexture* >(); break;
            }
            break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuick3DTexture* >(); break;
            }
            break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuick3DTexture* >(); break;
            }
            break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuick3DTexture* >(); break;
            }
            break;
        case 7:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuick3DTexture* >(); break;
            }
            break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuick3DTexture* >(); break;
            }
            break;
        case 9:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuick3DTexture* >(); break;
            }
            break;
        case 10:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuick3DTexture* >(); break;
            }
            break;
        case 11:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuick3DTexture* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QQuick3DMaterial::*)(QQuick3DTexture * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DMaterial::lightmapIndirectChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QQuick3DMaterial::*)(QQuick3DTexture * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DMaterial::lightmapRadiosityChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QQuick3DMaterial::*)(QQuick3DTexture * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DMaterial::lightmapShadowChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QQuick3DMaterial::*)(QQuick3DTexture * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DMaterial::lightProbeChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QQuick3DMaterial::*)(QQuick3DTexture * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DMaterial::displacementMapChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (QQuick3DMaterial::*)(float );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DMaterial::displacementAmountChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (QQuick3DMaterial::*)(CullMode );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DMaterial::cullModeChanged)) {
                *result = 6;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 4:
        case 3:
        case 2:
        case 1:
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuick3DTexture* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QQuick3DMaterial *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QQuick3DTexture**>(_v) = _t->lightmapIndirect(); break;
        case 1: *reinterpret_cast< QQuick3DTexture**>(_v) = _t->lightmapRadiosity(); break;
        case 2: *reinterpret_cast< QQuick3DTexture**>(_v) = _t->lightmapShadow(); break;
        case 3: *reinterpret_cast< QQuick3DTexture**>(_v) = _t->lightProbe(); break;
        case 4: *reinterpret_cast< QQuick3DTexture**>(_v) = _t->displacementMap(); break;
        case 5: *reinterpret_cast< float*>(_v) = _t->displacementAmount(); break;
        case 6: *reinterpret_cast< CullMode*>(_v) = _t->cullMode(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QQuick3DMaterial *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setLightmapIndirect(*reinterpret_cast< QQuick3DTexture**>(_v)); break;
        case 1: _t->setLightmapRadiosity(*reinterpret_cast< QQuick3DTexture**>(_v)); break;
        case 2: _t->setLightmapShadow(*reinterpret_cast< QQuick3DTexture**>(_v)); break;
        case 3: _t->setLightProbe(*reinterpret_cast< QQuick3DTexture**>(_v)); break;
        case 4: _t->setDisplacementMap(*reinterpret_cast< QQuick3DTexture**>(_v)); break;
        case 5: _t->setDisplacementAmount(*reinterpret_cast< float*>(_v)); break;
        case 6: _t->setCullMode(*reinterpret_cast< CullMode*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject QQuick3DMaterial::staticMetaObject = { {
    QMetaObject::SuperData::link<QQuick3DObject::staticMetaObject>(),
    qt_meta_stringdata_QQuick3DMaterial.data,
    qt_meta_data_QQuick3DMaterial,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *QQuick3DMaterial::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_QQuick3DMaterial.stringdata0))
        return static_cast<void*>(this);
    return QQuick3DObject::qt_metacast(_clname);
}

int QQuick3DMaterial::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QQuick3DObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    }
#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 -= 7;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 7;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

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

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

// SIGNAL 4
void QQuick3DMaterial::displacementMapChanged(QQuick3DTexture * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void QQuick3DMaterial::displacementAmountChanged(float _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void QQuick3DMaterial::cullModeChanged(CullMode _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
