/****************************************************************************
** Meta object code from reading C++ file 'qstenciltestarguments.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/renderstates/qstenciltestarguments.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qstenciltestarguments.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__QStencilTestArguments_t {
    QByteArrayData data[26];
    char stringdata0[352];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Qt3DRender__QStencilTestArguments_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Qt3DRender__QStencilTestArguments_t qt_meta_stringdata_Qt3DRender__QStencilTestArguments = {
    {
QT_MOC_LITERAL(0, 0, 33), // "Qt3DRender::QStencilTestArgum..."
QT_MOC_LITERAL(1, 34, 21), // "comparisonMaskChanged"
QT_MOC_LITERAL(2, 56, 0), // ""
QT_MOC_LITERAL(3, 57, 14), // "comparisonMask"
QT_MOC_LITERAL(4, 72, 22), // "stencilFunctionChanged"
QT_MOC_LITERAL(5, 95, 15), // "StencilFunction"
QT_MOC_LITERAL(6, 111, 15), // "stencilFunction"
QT_MOC_LITERAL(7, 127, 21), // "referenceValueChanged"
QT_MOC_LITERAL(8, 149, 14), // "referenceValue"
QT_MOC_LITERAL(9, 164, 15), // "faceModeChanged"
QT_MOC_LITERAL(10, 180, 15), // "StencilFaceMode"
QT_MOC_LITERAL(11, 196, 8), // "faceMode"
QT_MOC_LITERAL(12, 205, 17), // "setComparisonMask"
QT_MOC_LITERAL(13, 223, 17), // "setReferenceValue"
QT_MOC_LITERAL(14, 241, 18), // "setStencilFunction"
QT_MOC_LITERAL(15, 260, 5), // "Front"
QT_MOC_LITERAL(16, 266, 4), // "Back"
QT_MOC_LITERAL(17, 271, 12), // "FrontAndBack"
QT_MOC_LITERAL(18, 284, 5), // "Never"
QT_MOC_LITERAL(19, 290, 6), // "Always"
QT_MOC_LITERAL(20, 297, 4), // "Less"
QT_MOC_LITERAL(21, 302, 11), // "LessOrEqual"
QT_MOC_LITERAL(22, 314, 5), // "Equal"
QT_MOC_LITERAL(23, 320, 14), // "GreaterOrEqual"
QT_MOC_LITERAL(24, 335, 7), // "Greater"
QT_MOC_LITERAL(25, 343, 8) // "NotEqual"

    },
    "Qt3DRender::QStencilTestArguments\0"
    "comparisonMaskChanged\0\0comparisonMask\0"
    "stencilFunctionChanged\0StencilFunction\0"
    "stencilFunction\0referenceValueChanged\0"
    "referenceValue\0faceModeChanged\0"
    "StencilFaceMode\0faceMode\0setComparisonMask\0"
    "setReferenceValue\0setStencilFunction\0"
    "Front\0Back\0FrontAndBack\0Never\0Always\0"
    "Less\0LessOrEqual\0Equal\0GreaterOrEqual\0"
    "Greater\0NotEqual"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Qt3DRender__QStencilTestArguments[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
       7,   14, // methods
       4,   70, // properties
       2,   86, // enums/sets
       0,    0, // constructors
       0,       // flags
       4,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   49,    2, 0x06 /* Public */,
       4,    1,   52,    2, 0x06 /* Public */,
       7,    1,   55,    2, 0x06 /* Public */,
       9,    1,   58,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      12,    1,   61,    2, 0x0a /* Public */,
      13,    1,   64,    2, 0x0a /* Public */,
      14,    1,   67,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::UInt,    3,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, QMetaType::Int,    8,
    QMetaType::Void, 0x80000000 | 10,   11,

 // slots: parameters
    QMetaType::Void, QMetaType::UInt,    3,
    QMetaType::Void, QMetaType::Int,    8,
    QMetaType::Void, 0x80000000 | 5,    6,

 // properties: name, type, flags
      11, 0x80000000 | 10, 0x00495009,
       3, QMetaType::UInt, 0x00495103,
       8, QMetaType::Int, 0x00495103,
       6, 0x80000000 | 5, 0x0049510b,

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

 // enums: name, alias, flags, count, data
      10,   10, 0x0,    3,   96,
       5,    5, 0x0,    8,  102,

 // enum data: key, value
      15, uint(Qt3DRender::QStencilTestArguments::Front),
      16, uint(Qt3DRender::QStencilTestArguments::Back),
      17, uint(Qt3DRender::QStencilTestArguments::FrontAndBack),
      18, uint(Qt3DRender::QStencilTestArguments::Never),
      19, uint(Qt3DRender::QStencilTestArguments::Always),
      20, uint(Qt3DRender::QStencilTestArguments::Less),
      21, uint(Qt3DRender::QStencilTestArguments::LessOrEqual),
      22, uint(Qt3DRender::QStencilTestArguments::Equal),
      23, uint(Qt3DRender::QStencilTestArguments::GreaterOrEqual),
      24, uint(Qt3DRender::QStencilTestArguments::Greater),
      25, uint(Qt3DRender::QStencilTestArguments::NotEqual),

       0        // eod
};

void Qt3DRender::QStencilTestArguments::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QStencilTestArguments *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->comparisonMaskChanged((*reinterpret_cast< uint(*)>(_a[1]))); break;
        case 1: _t->stencilFunctionChanged((*reinterpret_cast< StencilFunction(*)>(_a[1]))); break;
        case 2: _t->referenceValueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->faceModeChanged((*reinterpret_cast< StencilFaceMode(*)>(_a[1]))); break;
        case 4: _t->setComparisonMask((*reinterpret_cast< uint(*)>(_a[1]))); break;
        case 5: _t->setReferenceValue((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->setStencilFunction((*reinterpret_cast< StencilFunction(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QStencilTestArguments::*)(uint );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QStencilTestArguments::comparisonMaskChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QStencilTestArguments::*)(StencilFunction );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QStencilTestArguments::stencilFunctionChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QStencilTestArguments::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QStencilTestArguments::referenceValueChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QStencilTestArguments::*)(StencilFaceMode );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QStencilTestArguments::faceModeChanged)) {
                *result = 3;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QStencilTestArguments *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< StencilFaceMode*>(_v) = _t->faceMode(); break;
        case 1: *reinterpret_cast< uint*>(_v) = _t->comparisonMask(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->referenceValue(); break;
        case 3: *reinterpret_cast< StencilFunction*>(_v) = _t->stencilFunction(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QStencilTestArguments *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 1: _t->setComparisonMask(*reinterpret_cast< uint*>(_v)); break;
        case 2: _t->setReferenceValue(*reinterpret_cast< int*>(_v)); break;
        case 3: _t->setStencilFunction(*reinterpret_cast< StencilFunction*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject Qt3DRender::QStencilTestArguments::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_Qt3DRender__QStencilTestArguments.data,
    qt_meta_data_Qt3DRender__QStencilTestArguments,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *Qt3DRender::QStencilTestArguments::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Qt3DRender__QStencilTestArguments.stringdata0))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int Qt3DRender::QStencilTestArguments::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 7)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 7)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 7;
    }
#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 Qt3DRender::QStencilTestArguments::comparisonMaskChanged(uint _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

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

// SIGNAL 2
void Qt3DRender::QStencilTestArguments::referenceValueChanged(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::QStencilTestArguments::faceModeChanged(StencilFaceMode _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
