/****************************************************************************
** Meta object code from reading C++ file 'qrendercapabilities.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/frontend/qrendercapabilities.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qrendercapabilities.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__QRenderCapabilities_t {
    QByteArrayData data[42];
    char stringdata0[566];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Qt3DRender__QRenderCapabilities_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Qt3DRender__QRenderCapabilities_t qt_meta_stringdata_Qt3DRender__QRenderCapabilities = {
    {
QT_MOC_LITERAL(0, 0, 31), // "Qt3DRender::QRenderCapabilities"
QT_MOC_LITERAL(1, 32, 5), // "valid"
QT_MOC_LITERAL(2, 38, 3), // "api"
QT_MOC_LITERAL(3, 42, 3), // "API"
QT_MOC_LITERAL(4, 46, 7), // "profile"
QT_MOC_LITERAL(5, 54, 7), // "Profile"
QT_MOC_LITERAL(6, 62, 12), // "majorVersion"
QT_MOC_LITERAL(7, 75, 12), // "minorVersion"
QT_MOC_LITERAL(8, 88, 10), // "extensions"
QT_MOC_LITERAL(9, 99, 6), // "vendor"
QT_MOC_LITERAL(10, 106, 8), // "renderer"
QT_MOC_LITERAL(11, 115, 13), // "driverVersion"
QT_MOC_LITERAL(12, 129, 11), // "glslVersion"
QT_MOC_LITERAL(13, 141, 10), // "maxSamples"
QT_MOC_LITERAL(14, 152, 14), // "maxTextureSize"
QT_MOC_LITERAL(15, 167, 15), // "maxTextureUnits"
QT_MOC_LITERAL(16, 183, 16), // "maxTextureLayers"
QT_MOC_LITERAL(17, 200, 11), // "supportsUBO"
QT_MOC_LITERAL(18, 212, 10), // "maxUBOSize"
QT_MOC_LITERAL(19, 223, 14), // "maxUBOBindings"
QT_MOC_LITERAL(20, 238, 12), // "supportsSSBO"
QT_MOC_LITERAL(21, 251, 11), // "maxSSBOSize"
QT_MOC_LITERAL(22, 263, 15), // "maxSSBOBindings"
QT_MOC_LITERAL(23, 279, 18), // "supportsImageStore"
QT_MOC_LITERAL(24, 298, 13), // "maxImageUnits"
QT_MOC_LITERAL(25, 312, 15), // "supportsCompute"
QT_MOC_LITERAL(26, 328, 18), // "maxWorkGroupCountX"
QT_MOC_LITERAL(27, 347, 18), // "maxWorkGroupCountY"
QT_MOC_LITERAL(28, 366, 18), // "maxWorkGroupCountZ"
QT_MOC_LITERAL(29, 385, 17), // "maxWorkGroupSizeX"
QT_MOC_LITERAL(30, 403, 17), // "maxWorkGroupSizeY"
QT_MOC_LITERAL(31, 421, 17), // "maxWorkGroupSizeZ"
QT_MOC_LITERAL(32, 439, 21), // "maxComputeInvocations"
QT_MOC_LITERAL(33, 461, 26), // "maxComputeSharedMemorySize"
QT_MOC_LITERAL(34, 488, 6), // "OpenGL"
QT_MOC_LITERAL(35, 495, 8), // "OpenGLES"
QT_MOC_LITERAL(36, 504, 6), // "Vulkan"
QT_MOC_LITERAL(37, 511, 7), // "DirectX"
QT_MOC_LITERAL(38, 519, 3), // "RHI"
QT_MOC_LITERAL(39, 523, 9), // "NoProfile"
QT_MOC_LITERAL(40, 533, 11), // "CoreProfile"
QT_MOC_LITERAL(41, 545, 20) // "CompatibilityProfile"

    },
    "Qt3DRender::QRenderCapabilities\0valid\0"
    "api\0API\0profile\0Profile\0majorVersion\0"
    "minorVersion\0extensions\0vendor\0renderer\0"
    "driverVersion\0glslVersion\0maxSamples\0"
    "maxTextureSize\0maxTextureUnits\0"
    "maxTextureLayers\0supportsUBO\0maxUBOSize\0"
    "maxUBOBindings\0supportsSSBO\0maxSSBOSize\0"
    "maxSSBOBindings\0supportsImageStore\0"
    "maxImageUnits\0supportsCompute\0"
    "maxWorkGroupCountX\0maxWorkGroupCountY\0"
    "maxWorkGroupCountZ\0maxWorkGroupSizeX\0"
    "maxWorkGroupSizeY\0maxWorkGroupSizeZ\0"
    "maxComputeInvocations\0maxComputeSharedMemorySize\0"
    "OpenGL\0OpenGLES\0Vulkan\0DirectX\0RHI\0"
    "NoProfile\0CoreProfile\0CompatibilityProfile"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Qt3DRender__QRenderCapabilities[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
       0,    0, // methods
      31,   14, // properties
       2,  107, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // properties: name, type, flags
       1, QMetaType::Bool, 0x00095401,
       2, 0x80000000 | 3, 0x00095409,
       4, 0x80000000 | 5, 0x00095409,
       6, QMetaType::Int, 0x00095401,
       7, QMetaType::Int, 0x00095401,
       8, QMetaType::QStringList, 0x00095401,
       9, QMetaType::QString, 0x00095401,
      10, QMetaType::QString, 0x00095401,
      11, QMetaType::QString, 0x00095401,
      12, QMetaType::QString, 0x00095401,
      13, QMetaType::Int, 0x00095401,
      14, QMetaType::Int, 0x00095401,
      15, QMetaType::Int, 0x00095401,
      16, QMetaType::Int, 0x00095401,
      17, QMetaType::Bool, 0x00095401,
      18, QMetaType::Int, 0x00095401,
      19, QMetaType::Int, 0x00095401,
      20, QMetaType::Bool, 0x00095401,
      21, QMetaType::Int, 0x00095401,
      22, QMetaType::Int, 0x00095401,
      23, QMetaType::Bool, 0x00095401,
      24, QMetaType::Int, 0x00095401,
      25, QMetaType::Bool, 0x00095401,
      26, QMetaType::Int, 0x00095401,
      27, QMetaType::Int, 0x00095401,
      28, QMetaType::Int, 0x00095401,
      29, QMetaType::Int, 0x00095401,
      30, QMetaType::Int, 0x00095401,
      31, QMetaType::Int, 0x00095401,
      32, QMetaType::Int, 0x00095401,
      33, QMetaType::Int, 0x00095401,

 // enums: name, alias, flags, count, data
       3,    3, 0x0,    5,  117,
       5,    5, 0x0,    3,  127,

 // enum data: key, value
      34, uint(Qt3DRender::QRenderCapabilities::OpenGL),
      35, uint(Qt3DRender::QRenderCapabilities::OpenGLES),
      36, uint(Qt3DRender::QRenderCapabilities::Vulkan),
      37, uint(Qt3DRender::QRenderCapabilities::DirectX),
      38, uint(Qt3DRender::QRenderCapabilities::RHI),
      39, uint(Qt3DRender::QRenderCapabilities::NoProfile),
      40, uint(Qt3DRender::QRenderCapabilities::CoreProfile),
      41, uint(Qt3DRender::QRenderCapabilities::CompatibilityProfile),

       0        // eod
};

void Qt3DRender::QRenderCapabilities::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{

#ifndef QT_NO_PROPERTIES
    if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QRenderCapabilities *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->isValid(); break;
        case 1: *reinterpret_cast< API*>(_v) = _t->api(); break;
        case 2: *reinterpret_cast< Profile*>(_v) = _t->profile(); break;
        case 3: *reinterpret_cast< int*>(_v) = _t->majorVersion(); break;
        case 4: *reinterpret_cast< int*>(_v) = _t->minorVersion(); break;
        case 5: *reinterpret_cast< QStringList*>(_v) = _t->extensions(); break;
        case 6: *reinterpret_cast< QString*>(_v) = _t->vendor(); break;
        case 7: *reinterpret_cast< QString*>(_v) = _t->renderer(); break;
        case 8: *reinterpret_cast< QString*>(_v) = _t->driverVersion(); break;
        case 9: *reinterpret_cast< QString*>(_v) = _t->glslVersion(); break;
        case 10: *reinterpret_cast< int*>(_v) = _t->maxSamples(); break;
        case 11: *reinterpret_cast< int*>(_v) = _t->maxTextureSize(); break;
        case 12: *reinterpret_cast< int*>(_v) = _t->maxTextureUnits(); break;
        case 13: *reinterpret_cast< int*>(_v) = _t->maxTextureLayers(); break;
        case 14: *reinterpret_cast< bool*>(_v) = _t->supportsUBO(); break;
        case 15: *reinterpret_cast< int*>(_v) = _t->maxUBOSize(); break;
        case 16: *reinterpret_cast< int*>(_v) = _t->maxUBOBindings(); break;
        case 17: *reinterpret_cast< bool*>(_v) = _t->supportsSSBO(); break;
        case 18: *reinterpret_cast< int*>(_v) = _t->maxSSBOSize(); break;
        case 19: *reinterpret_cast< int*>(_v) = _t->maxSSBOBindings(); break;
        case 20: *reinterpret_cast< bool*>(_v) = _t->supportsImageStore(); break;
        case 21: *reinterpret_cast< int*>(_v) = _t->maxImageUnits(); break;
        case 22: *reinterpret_cast< bool*>(_v) = _t->supportsCompute(); break;
        case 23: *reinterpret_cast< int*>(_v) = _t->maxWorkGroupCountX(); break;
        case 24: *reinterpret_cast< int*>(_v) = _t->maxWorkGroupCountY(); break;
        case 25: *reinterpret_cast< int*>(_v) = _t->maxWorkGroupCountZ(); break;
        case 26: *reinterpret_cast< int*>(_v) = _t->maxWorkGroupSizeX(); break;
        case 27: *reinterpret_cast< int*>(_v) = _t->maxWorkGroupSizeY(); break;
        case 28: *reinterpret_cast< int*>(_v) = _t->maxWorkGroupSizeZ(); break;
        case 29: *reinterpret_cast< int*>(_v) = _t->maxComputeInvocations(); break;
        case 30: *reinterpret_cast< int*>(_v) = _t->maxComputeSharedMemorySize(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
    (void)_o;
    (void)_id;
    (void)_c;
    (void)_a;
}

QT_INIT_METAOBJECT const QMetaObject Qt3DRender::QRenderCapabilities::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_Qt3DRender__QRenderCapabilities.data,
    qt_meta_data_Qt3DRender__QRenderCapabilities,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int Qt3DRender::QRenderCapabilities::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    
#ifndef QT_NO_PROPERTIES
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 31;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 31;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 31;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 31;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 31;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 31;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
