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

#include <memory>
#include "../../../../qt3d/src/render/materialsystem/qshaderimage.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qshaderimage.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.5. 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__QShaderImage_t {
    QByteArrayData data[67];
    char stringdata0[620];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Qt3DRender__QShaderImage_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Qt3DRender__QShaderImage_t qt_meta_stringdata_Qt3DRender__QShaderImage = {
    {
QT_MOC_LITERAL(0, 0, 24), // "Qt3DRender::QShaderImage"
QT_MOC_LITERAL(1, 25, 14), // "textureChanged"
QT_MOC_LITERAL(2, 40, 0), // ""
QT_MOC_LITERAL(3, 41, 29), // "Qt3DRender::QAbstractTexture*"
QT_MOC_LITERAL(4, 71, 7), // "texture"
QT_MOC_LITERAL(5, 79, 14), // "layeredChanged"
QT_MOC_LITERAL(6, 94, 7), // "layered"
QT_MOC_LITERAL(7, 102, 15), // "mipLevelChanged"
QT_MOC_LITERAL(8, 118, 8), // "mipLevel"
QT_MOC_LITERAL(9, 127, 12), // "layerChanged"
QT_MOC_LITERAL(10, 140, 5), // "layer"
QT_MOC_LITERAL(11, 146, 13), // "accessChanged"
QT_MOC_LITERAL(12, 160, 6), // "Access"
QT_MOC_LITERAL(13, 167, 6), // "access"
QT_MOC_LITERAL(14, 174, 13), // "formatChanged"
QT_MOC_LITERAL(15, 188, 11), // "ImageFormat"
QT_MOC_LITERAL(16, 200, 6), // "format"
QT_MOC_LITERAL(17, 207, 10), // "setTexture"
QT_MOC_LITERAL(18, 218, 10), // "setLayered"
QT_MOC_LITERAL(19, 229, 11), // "setMipLevel"
QT_MOC_LITERAL(20, 241, 8), // "setLayer"
QT_MOC_LITERAL(21, 250, 9), // "setAccess"
QT_MOC_LITERAL(22, 260, 9), // "setFormat"
QT_MOC_LITERAL(23, 270, 8), // "ReadOnly"
QT_MOC_LITERAL(24, 279, 9), // "WriteOnly"
QT_MOC_LITERAL(25, 289, 9), // "ReadWrite"
QT_MOC_LITERAL(26, 299, 8), // "NoFormat"
QT_MOC_LITERAL(27, 308, 9), // "Automatic"
QT_MOC_LITERAL(28, 318, 8), // "R8_UNorm"
QT_MOC_LITERAL(29, 327, 9), // "RG8_UNorm"
QT_MOC_LITERAL(30, 337, 11), // "RGBA8_UNorm"
QT_MOC_LITERAL(31, 349, 9), // "R16_UNorm"
QT_MOC_LITERAL(32, 359, 10), // "RG16_UNorm"
QT_MOC_LITERAL(33, 370, 12), // "RGBA16_UNorm"
QT_MOC_LITERAL(34, 383, 8), // "R8_SNorm"
QT_MOC_LITERAL(35, 392, 9), // "RG8_SNorm"
QT_MOC_LITERAL(36, 402, 11), // "RGBA8_SNorm"
QT_MOC_LITERAL(37, 414, 9), // "R16_SNorm"
QT_MOC_LITERAL(38, 424, 10), // "RG16_SNorm"
QT_MOC_LITERAL(39, 435, 12), // "RGBA16_SNorm"
QT_MOC_LITERAL(40, 448, 3), // "R8U"
QT_MOC_LITERAL(41, 452, 4), // "RG8U"
QT_MOC_LITERAL(42, 457, 6), // "RGBA8U"
QT_MOC_LITERAL(43, 464, 4), // "R16U"
QT_MOC_LITERAL(44, 469, 5), // "RG16U"
QT_MOC_LITERAL(45, 475, 7), // "RGBA16U"
QT_MOC_LITERAL(46, 483, 4), // "R32U"
QT_MOC_LITERAL(47, 488, 5), // "RG32U"
QT_MOC_LITERAL(48, 494, 7), // "RGBA32U"
QT_MOC_LITERAL(49, 502, 3), // "R8I"
QT_MOC_LITERAL(50, 506, 4), // "RG8I"
QT_MOC_LITERAL(51, 511, 6), // "RGBA8I"
QT_MOC_LITERAL(52, 518, 4), // "R16I"
QT_MOC_LITERAL(53, 523, 5), // "RG16I"
QT_MOC_LITERAL(54, 529, 7), // "RGBA16I"
QT_MOC_LITERAL(55, 537, 4), // "R32I"
QT_MOC_LITERAL(56, 542, 5), // "RG32I"
QT_MOC_LITERAL(57, 548, 7), // "RGBA32I"
QT_MOC_LITERAL(58, 556, 4), // "R16F"
QT_MOC_LITERAL(59, 561, 5), // "RG16F"
QT_MOC_LITERAL(60, 567, 7), // "RGBA16F"
QT_MOC_LITERAL(61, 575, 4), // "R32F"
QT_MOC_LITERAL(62, 580, 5), // "RG32F"
QT_MOC_LITERAL(63, 586, 7), // "RGBA32F"
QT_MOC_LITERAL(64, 594, 8), // "RG11B10F"
QT_MOC_LITERAL(65, 603, 7), // "RGB10A2"
QT_MOC_LITERAL(66, 611, 8) // "RGB10A2U"

    },
    "Qt3DRender::QShaderImage\0textureChanged\0"
    "\0Qt3DRender::QAbstractTexture*\0texture\0"
    "layeredChanged\0layered\0mipLevelChanged\0"
    "mipLevel\0layerChanged\0layer\0accessChanged\0"
    "Access\0access\0formatChanged\0ImageFormat\0"
    "format\0setTexture\0setLayered\0setMipLevel\0"
    "setLayer\0setAccess\0setFormat\0ReadOnly\0"
    "WriteOnly\0ReadWrite\0NoFormat\0Automatic\0"
    "R8_UNorm\0RG8_UNorm\0RGBA8_UNorm\0R16_UNorm\0"
    "RG16_UNorm\0RGBA16_UNorm\0R8_SNorm\0"
    "RG8_SNorm\0RGBA8_SNorm\0R16_SNorm\0"
    "RG16_SNorm\0RGBA16_SNorm\0R8U\0RG8U\0"
    "RGBA8U\0R16U\0RG16U\0RGBA16U\0R32U\0RG32U\0"
    "RGBA32U\0R8I\0RG8I\0RGBA8I\0R16I\0RG16I\0"
    "RGBA16I\0R32I\0RG32I\0RGBA32I\0R16F\0RG16F\0"
    "RGBA16F\0R32F\0RG32F\0RGBA32F\0RG11B10F\0"
    "RGB10A2\0RGB10A2U"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Qt3DRender__QShaderImage[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      12,   14, // methods
       6,  110, // properties
       2,  134, // enums/sets
       0,    0, // constructors
       0,       // flags
       6,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   74,    2, 0x06 /* Public */,
       5,    1,   77,    2, 0x06 /* Public */,
       7,    1,   80,    2, 0x06 /* Public */,
       9,    1,   83,    2, 0x06 /* Public */,
      11,    1,   86,    2, 0x06 /* Public */,
      14,    1,   89,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      17,    1,   92,    2, 0x0a /* Public */,
      18,    1,   95,    2, 0x0a /* Public */,
      19,    1,   98,    2, 0x0a /* Public */,
      20,    1,  101,    2, 0x0a /* Public */,
      21,    1,  104,    2, 0x0a /* Public */,
      22,    1,  107,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, QMetaType::Bool,    6,
    QMetaType::Void, QMetaType::Int,    8,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, 0x80000000 | 12,   13,
    QMetaType::Void, 0x80000000 | 15,   16,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, QMetaType::Bool,    6,
    QMetaType::Void, QMetaType::Int,    8,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, 0x80000000 | 12,   13,
    QMetaType::Void, 0x80000000 | 15,   16,

 // properties: name, type, flags
       4, 0x80000000 | 3, 0x0049510b,
       6, QMetaType::Bool, 0x00495103,
       8, QMetaType::Int, 0x00495103,
      10, QMetaType::Int, 0x00495103,
      13, 0x80000000 | 12, 0x0049510b,
      16, 0x80000000 | 15, 0x0049510b,

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

 // enums: name, alias, flags, count, data
      12,   12, 0x0,    3,  144,
      15,   15, 0x0,   41,  150,

 // enum data: key, value
      23, uint(Qt3DRender::QShaderImage::ReadOnly),
      24, uint(Qt3DRender::QShaderImage::WriteOnly),
      25, uint(Qt3DRender::QShaderImage::ReadWrite),
      26, uint(Qt3DRender::QShaderImage::NoFormat),
      27, uint(Qt3DRender::QShaderImage::Automatic),
      28, uint(Qt3DRender::QShaderImage::R8_UNorm),
      29, uint(Qt3DRender::QShaderImage::RG8_UNorm),
      30, uint(Qt3DRender::QShaderImage::RGBA8_UNorm),
      31, uint(Qt3DRender::QShaderImage::R16_UNorm),
      32, uint(Qt3DRender::QShaderImage::RG16_UNorm),
      33, uint(Qt3DRender::QShaderImage::RGBA16_UNorm),
      34, uint(Qt3DRender::QShaderImage::R8_SNorm),
      35, uint(Qt3DRender::QShaderImage::RG8_SNorm),
      36, uint(Qt3DRender::QShaderImage::RGBA8_SNorm),
      37, uint(Qt3DRender::QShaderImage::R16_SNorm),
      38, uint(Qt3DRender::QShaderImage::RG16_SNorm),
      39, uint(Qt3DRender::QShaderImage::RGBA16_SNorm),
      40, uint(Qt3DRender::QShaderImage::R8U),
      41, uint(Qt3DRender::QShaderImage::RG8U),
      42, uint(Qt3DRender::QShaderImage::RGBA8U),
      43, uint(Qt3DRender::QShaderImage::R16U),
      44, uint(Qt3DRender::QShaderImage::RG16U),
      45, uint(Qt3DRender::QShaderImage::RGBA16U),
      46, uint(Qt3DRender::QShaderImage::R32U),
      47, uint(Qt3DRender::QShaderImage::RG32U),
      48, uint(Qt3DRender::QShaderImage::RGBA32U),
      49, uint(Qt3DRender::QShaderImage::R8I),
      50, uint(Qt3DRender::QShaderImage::RG8I),
      51, uint(Qt3DRender::QShaderImage::RGBA8I),
      52, uint(Qt3DRender::QShaderImage::R16I),
      53, uint(Qt3DRender::QShaderImage::RG16I),
      54, uint(Qt3DRender::QShaderImage::RGBA16I),
      55, uint(Qt3DRender::QShaderImage::R32I),
      56, uint(Qt3DRender::QShaderImage::RG32I),
      57, uint(Qt3DRender::QShaderImage::RGBA32I),
      58, uint(Qt3DRender::QShaderImage::R16F),
      59, uint(Qt3DRender::QShaderImage::RG16F),
      60, uint(Qt3DRender::QShaderImage::RGBA16F),
      61, uint(Qt3DRender::QShaderImage::R32F),
      62, uint(Qt3DRender::QShaderImage::RG32F),
      63, uint(Qt3DRender::QShaderImage::RGBA32F),
      64, uint(Qt3DRender::QShaderImage::RG11B10F),
      65, uint(Qt3DRender::QShaderImage::RGB10A2),
      66, uint(Qt3DRender::QShaderImage::RGB10A2U),

       0        // eod
};

void Qt3DRender::QShaderImage::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QShaderImage *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->textureChanged((*reinterpret_cast< Qt3DRender::QAbstractTexture*(*)>(_a[1]))); break;
        case 1: _t->layeredChanged((*reinterpret_cast< bool(*)>(_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->accessChanged((*reinterpret_cast< Access(*)>(_a[1]))); break;
        case 5: _t->formatChanged((*reinterpret_cast< ImageFormat(*)>(_a[1]))); break;
        case 6: _t->setTexture((*reinterpret_cast< Qt3DRender::QAbstractTexture*(*)>(_a[1]))); break;
        case 7: _t->setLayered((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->setMipLevel((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 9: _t->setLayer((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 10: _t->setAccess((*reinterpret_cast< Access(*)>(_a[1]))); break;
        case 11: _t->setFormat((*reinterpret_cast< ImageFormat(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QShaderImage::*)(Qt3DRender::QAbstractTexture * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QShaderImage::textureChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QShaderImage::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QShaderImage::layeredChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QShaderImage::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QShaderImage::mipLevelChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QShaderImage::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QShaderImage::layerChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QShaderImage::*)(Access );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QShaderImage::accessChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (QShaderImage::*)(ImageFormat );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QShaderImage::formatChanged)) {
                *result = 5;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QShaderImage *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< Qt3DRender::QAbstractTexture**>(_v) = _t->texture(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->layered(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->mipLevel(); break;
        case 3: *reinterpret_cast< int*>(_v) = _t->layer(); break;
        case 4: *reinterpret_cast< Access*>(_v) = _t->access(); break;
        case 5: *reinterpret_cast< ImageFormat*>(_v) = _t->format(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QShaderImage *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setTexture(*reinterpret_cast< Qt3DRender::QAbstractTexture**>(_v)); break;
        case 1: _t->setLayered(*reinterpret_cast< bool*>(_v)); break;
        case 2: _t->setMipLevel(*reinterpret_cast< int*>(_v)); break;
        case 3: _t->setLayer(*reinterpret_cast< int*>(_v)); break;
        case 4: _t->setAccess(*reinterpret_cast< Access*>(_v)); break;
        case 5: _t->setFormat(*reinterpret_cast< ImageFormat*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject Qt3DRender::QShaderImage::staticMetaObject = { {
    QMetaObject::SuperData::link<Qt3DCore::QNode::staticMetaObject>(),
    qt_meta_stringdata_Qt3DRender__QShaderImage.data,
    qt_meta_data_Qt3DRender__QShaderImage,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int Qt3DRender::QShaderImage::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 < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 12)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 12;
    }
#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 Qt3DRender::QShaderImage::textureChanged(Qt3DRender::QAbstractTexture * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

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

// SIGNAL 2
void Qt3DRender::QShaderImage::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::QShaderImage::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::QShaderImage::accessChanged(Access _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void Qt3DRender::QShaderImage::formatChanged(ImageFormat _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
