/*
 * Interface wrapper code.
 *
 * Generated by SIP 6.5.0
 *
 * Copyright (c) 2021 Riverbank Computing Limited <info@riverbankcomputing.com>
 * 
 * This file is part of PyQt3D.
 * 
 * This file may be used under the terms of the GNU General Public License
 * version 3.0 as published by the Free Software Foundation and appearing in
 * the file LICENSE included in the packaging of this file.  Please review the
 * following information to ensure the GNU General Public License version 3.0
 * requirements will be met: http://www.gnu.org/copyleft/gpl.html.
 * 
 * If you do not wish to use this file under the terms of the GPL version 3.0
 * then you may purchase a commercial license.  For more information contact
 * info@riverbankcomputing.com.
 * 
 * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
 * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 */

#include "sipAPIQt3DRender.h"

#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qabstractfunctor.sip"
#include <qabstractfunctor.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qabstractlight.sip"
#include <qabstractlight.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qabstractraycaster.sip"
#include <qabstractraycaster.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qabstracttexture.sip"
#include <qabstracttexture.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qabstracttextureimage.sip"
#include <qabstracttextureimage.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qalphacoverage.sip"
#include <qalphacoverage.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qalphatest.sip"
#include <qalphatest.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qattribute.sip"
#include <qattribute.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qblendequation.sip"
#include <qblendequation.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qblendequationarguments.sip"
#include <qblendequationarguments.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qblitframebuffer.sip"
#include <qblitframebuffer.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qbuffer.sip"
#include <qbuffer.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qbufferdatagenerator.sip"
#include <qbufferdatagenerator.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qcamera.sip"
#include <qcamera.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qcameralens.sip"
#include <qcameralens.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qcameraselector.sip"
#include <qcameraselector.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qclearbuffers.sip"
#include <qclearbuffers.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qclipplane.sip"
#include <qclipplane.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qcomputecommand.sip"
#include <qcomputecommand.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qcolormask.sip"
#include <qcolormask.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qcullface.sip"
#include <qcullface.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qdepthrange.sip"
#include <qdepthrange.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qdepthtest.sip"
#include <qdepthtest.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qdirectionallight.sip"
#include <qdirectionallight.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qdispatchcompute.sip"
#include <qdispatchcompute.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qdithering.sip"
#include <qdithering.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qeffect.sip"
#include <qeffect.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qenvironmentlight.sip"
#include <qenvironmentlight.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qfilterkey.sip"
#include <qfilterkey.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qframegraphnode.sip"
#include <qframegraphnode.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qfrontface.sip"
#include <qfrontface.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qfrustumculling.sip"
#include <qfrustumculling.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qgeometry.sip"
#include <qgeometry.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qgeometryfactory.sip"
#include <qgeometryfactory.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qgeometryrenderer.sip"
#include <qgeometryrenderer.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qgraphicsapifilter.sip"
#include <qgraphicsapifilter.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qlayer.sip"
#include <qlayer.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qlayerfilter.sip"
#include <qlayerfilter.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qlevelofdetail.sip"
#include <qlevelofdetail.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qlevelofdetailboundingsphere.sip"
#include <qlevelofdetailboundingsphere.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qlevelofdetailswitch.sip"
#include <qlevelofdetailswitch.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qlinewidth.sip"
#include <qlinewidth.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qmaterial.sip"
#include <qmaterial.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qmemorybarrier.sip"
#include <qmemorybarrier.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qmesh.sip"
#include <qmesh.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qmultisampleantialiasing.sip"
#include <qmultisampleantialiasing.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qnodepthmask.sip"
#include <qnodepthmask.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qnodraw.sip"
#include <qnodraw.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qnopicking.sip"
#include <qnopicking.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qobjectpicker.sip"
#include <qobjectpicker.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qpaintedtextureimage.sip"
#include <qpaintedtextureimage.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qparameter.sip"
#include <qparameter.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qpickevent.sip"
#include <qpickevent.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qpickingsettings.sip"
#include <qpickingsettings.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qpicklineevent.sip"
#include <qpicklineevent.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qpickpointevent.sip"
#include <qpickpointevent.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qpicktriangleevent.sip"
#include <qpicktriangleevent.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qpointlight.sip"
#include <qpointlight.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qpointsize.sip"
#include <qpointsize.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qpolygonoffset.sip"
#include <qpolygonoffset.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qproximityfilter.sip"
#include <qproximityfilter.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qrastermode.sip"
#include <qrastermode.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qraycaster.sip"
#include <qraycaster.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qraycasterhit.sip"
#include <qraycasterhit.h>
#line 26 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qrenderaspect.sip"
#include <qrenderaspect.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qrendercapabilities.sip"
#include <qrendercapabilities.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qrendercapture.sip"
#include <qrendercapture.h>
#line 34 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DRender/qrendercapture.sip"
#include <qrendercapture.h>
#line 163 "/build/pyqt5-3d/src/PyQt3D-5.15.5/build/Qt3DRender/sipQt3DRenderQt3DRenderQRenderCaptureReply.cpp"

#line 28 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qobject.sip"
#include <qobject.h>
#line 167 "/build/pyqt5-3d/src/PyQt3D-5.15.5/build/Qt3DRender/sipQt3DRenderQt3DRenderQRenderCaptureReply.cpp"
#line 27 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qstring.sip"
#include <qstring.h>
#line 170 "/build/pyqt5-3d/src/PyQt3D-5.15.5/build/Qt3DRender/sipQt3DRenderQt3DRenderQRenderCaptureReply.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtGui/qimage.sip"
#include <qimage.h>
#line 173 "/build/pyqt5-3d/src/PyQt3D-5.15.5/build/Qt3DRender/sipQt3DRenderQt3DRenderQRenderCaptureReply.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 146 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 178 "/build/pyqt5-3d/src/PyQt3D-5.15.5/build/Qt3DRender/sipQt3DRenderQt3DRenderQRenderCaptureReply.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 181 "/build/pyqt5-3d/src/PyQt3D-5.15.5/build/Qt3DRender/sipQt3DRenderQt3DRenderQRenderCaptureReply.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 184 "/build/pyqt5-3d/src/PyQt3D-5.15.5/build/Qt3DRender/sipQt3DRenderQt3DRenderQRenderCaptureReply.cpp"
#line 247 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 187 "/build/pyqt5-3d/src/PyQt3D-5.15.5/build/Qt3DRender/sipQt3DRenderQt3DRenderQRenderCaptureReply.cpp"
#line 235 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 190 "/build/pyqt5-3d/src/PyQt3D-5.15.5/build/Qt3DRender/sipQt3DRenderQt3DRenderQRenderCaptureReply.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qvariant.sip"
#include <qvariant.h>
#line 193 "/build/pyqt5-3d/src/PyQt3D-5.15.5/build/Qt3DRender/sipQt3DRenderQt3DRenderQRenderCaptureReply.cpp"
#line 38 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 196 "/build/pyqt5-3d/src/PyQt3D-5.15.5/build/Qt3DRender/sipQt3DRenderQt3DRenderQRenderCaptureReply.cpp"
#line 30 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 199 "/build/pyqt5-3d/src/PyQt3D-5.15.5/build/Qt3DRender/sipQt3DRenderQt3DRenderQRenderCaptureReply.cpp"
#line 149 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 202 "/build/pyqt5-3d/src/PyQt3D-5.15.5/build/Qt3DRender/sipQt3DRenderQt3DRenderQRenderCaptureReply.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 205 "/build/pyqt5-3d/src/PyQt3D-5.15.5/build/Qt3DRender/sipQt3DRenderQt3DRenderQRenderCaptureReply.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qthread.sip"
#include <qthread.h>
#line 208 "/build/pyqt5-3d/src/PyQt3D-5.15.5/build/Qt3DRender/sipQt3DRenderQt3DRenderQRenderCaptureReply.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 211 "/build/pyqt5-3d/src/PyQt3D-5.15.5/build/Qt3DRender/sipQt3DRenderQt3DRenderQRenderCaptureReply.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qregexp.sip"
#include <qregexp.h>
#line 214 "/build/pyqt5-3d/src/PyQt3D-5.15.5/build/Qt3DRender/sipQt3DRenderQt3DRenderQRenderCaptureReply.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 217 "/build/pyqt5-3d/src/PyQt3D-5.15.5/build/Qt3DRender/sipQt3DRenderQt3DRenderQRenderCaptureReply.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 220 "/build/pyqt5-3d/src/PyQt3D-5.15.5/build/Qt3DRender/sipQt3DRenderQt3DRenderQRenderCaptureReply.cpp"


PyDoc_STRVAR(doc_Qt3DRender_QRenderCaptureReply_image, "image(self) -> QImage");

extern "C" {static PyObject *meth_Qt3DRender_QRenderCaptureReply_image(PyObject *, PyObject *);}
static PyObject *meth_Qt3DRender_QRenderCaptureReply_image(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::Qt3DRender::QRenderCaptureReply *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Qt3DRender_QRenderCaptureReply, &sipCpp))
        {
             ::QImage*sipRes;

            sipRes = new  ::QImage(sipCpp->image());

            return sipConvertFromNewType(sipRes,sipType_QImage,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QRenderCaptureReply, sipName_image, doc_Qt3DRender_QRenderCaptureReply_image);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_Qt3DRender_QRenderCaptureReply_captureId, "captureId(self) -> int");

extern "C" {static PyObject *meth_Qt3DRender_QRenderCaptureReply_captureId(PyObject *, PyObject *);}
static PyObject *meth_Qt3DRender_QRenderCaptureReply_captureId(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::Qt3DRender::QRenderCaptureReply *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Qt3DRender_QRenderCaptureReply, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->captureId();

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QRenderCaptureReply, sipName_captureId, doc_Qt3DRender_QRenderCaptureReply_captureId);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_Qt3DRender_QRenderCaptureReply_isComplete, "isComplete(self) -> bool");

extern "C" {static PyObject *meth_Qt3DRender_QRenderCaptureReply_isComplete(PyObject *, PyObject *);}
static PyObject *meth_Qt3DRender_QRenderCaptureReply_isComplete(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::Qt3DRender::QRenderCaptureReply *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Qt3DRender_QRenderCaptureReply, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isComplete();

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QRenderCaptureReply, sipName_isComplete, doc_Qt3DRender_QRenderCaptureReply_isComplete);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_Qt3DRender_QRenderCaptureReply_saveToFile, "saveToFile(self, str)");

extern "C" {static PyObject *meth_Qt3DRender_QRenderCaptureReply_saveToFile(PyObject *, PyObject *);}
static PyObject *meth_Qt3DRender_QRenderCaptureReply_saveToFile(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::Qt3DRender::QRenderCaptureReply *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Qt3DRender_QRenderCaptureReply, &sipCpp, sipType_QString, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->saveToFile(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0), sipType_QString, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QRenderCaptureReply, sipName_saveToFile, doc_Qt3DRender_QRenderCaptureReply_saveToFile);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_Qt3DRender_QRenderCaptureReply_saveImage, "saveImage(self, str) -> bool");

extern "C" {static PyObject *meth_Qt3DRender_QRenderCaptureReply_saveImage(PyObject *, PyObject *);}
static PyObject *meth_Qt3DRender_QRenderCaptureReply_saveImage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::Qt3DRender::QRenderCaptureReply *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Qt3DRender_QRenderCaptureReply, &sipCpp, sipType_QString, &a0, &a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->saveImage(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast< ::QString *>(a0), sipType_QString, a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QRenderCaptureReply, sipName_saveImage, doc_Qt3DRender_QRenderCaptureReply_saveImage);

    return SIP_NULLPTR;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_Qt3DRender_QRenderCaptureReply(void *, const sipTypeDef *);}
static void *cast_Qt3DRender_QRenderCaptureReply(void *sipCppV, const sipTypeDef *targetType)
{
     ::Qt3DRender::QRenderCaptureReply *sipCpp = reinterpret_cast< ::Qt3DRender::QRenderCaptureReply *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_Qt3DRender_QRenderCaptureReply(void *, int);}
static void release_Qt3DRender_QRenderCaptureReply(void *sipCppV, int)
{
     ::Qt3DRender::QRenderCaptureReply *sipCpp = reinterpret_cast< ::Qt3DRender::QRenderCaptureReply *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_Qt3DRender_QRenderCaptureReply(sipSimpleWrapper *);}
static void dealloc_Qt3DRender_QRenderCaptureReply(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_Qt3DRender_QRenderCaptureReply(sipGetAddress(sipSelf), 0);
    }
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Qt3DRender_QRenderCaptureReply[] = {{4, 0, 1}};


static PyMethodDef methods_Qt3DRender_QRenderCaptureReply[] = {
    {sipName_captureId, meth_Qt3DRender_QRenderCaptureReply_captureId, METH_VARARGS, doc_Qt3DRender_QRenderCaptureReply_captureId},
    {sipName_image, meth_Qt3DRender_QRenderCaptureReply_image, METH_VARARGS, doc_Qt3DRender_QRenderCaptureReply_image},
    {sipName_isComplete, meth_Qt3DRender_QRenderCaptureReply_isComplete, METH_VARARGS, doc_Qt3DRender_QRenderCaptureReply_isComplete},
    {sipName_saveImage, meth_Qt3DRender_QRenderCaptureReply_saveImage, METH_VARARGS, doc_Qt3DRender_QRenderCaptureReply_saveImage},
    {sipName_saveToFile, meth_Qt3DRender_QRenderCaptureReply_saveToFile, METH_VARARGS, doc_Qt3DRender_QRenderCaptureReply_saveToFile}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_Qt3DRender_QRenderCaptureReply[] = {
    {"completed()", "\1completed(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"completeChanged(bool)", "\1completeChanged(self, bool)", SIP_NULLPTR, SIP_NULLPTR},
    {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR}
};


static pyqt5ClassPluginDef plugin_Qt3DRender_QRenderCaptureReply = {
    & ::Qt3DRender::QRenderCaptureReply::staticMetaObject,
    0,
    signals_Qt3DRender_QRenderCaptureReply,
    SIP_NULLPTR
};


sipClassTypeDef sipTypeDef_Qt3DRender_Qt3DRender_QRenderCaptureReply = {
    {
        -1,
        SIP_NULLPTR,
        SIP_NULLPTR,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_Qt3DRender__QRenderCaptureReply,
        SIP_NULLPTR,
        &plugin_Qt3DRender_QRenderCaptureReply
    },
    {
        sipNameNr_QRenderCaptureReply,
        {0, 0, 1},
        5, methods_Qt3DRender_QRenderCaptureReply,
        0, SIP_NULLPTR,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    SIP_NULLPTR,
    -1,
    -1,
    supers_Qt3DRender_QRenderCaptureReply,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_Qt3DRender_QRenderCaptureReply,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    release_Qt3DRender_QRenderCaptureReply,
    cast_Qt3DRender_QRenderCaptureReply,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR
};
