#include "qsgtextureprovider.h" #include #include #include #include #include #include #include #include "_cgo_export.h" class MyQSGTextureProvider: public QSGTextureProvider { public: void Signal_TextureChanged(){callbackQSGTextureProviderTextureChanged(this->objectName().toUtf8().data());}; }; void* QSGTextureProvider_Texture(void* ptr){ return static_cast(ptr)->texture(); } void QSGTextureProvider_ConnectTextureChanged(void* ptr){ QObject::connect(static_cast(ptr), static_cast(&QSGTextureProvider::textureChanged), static_cast(ptr), static_cast(&MyQSGTextureProvider::Signal_TextureChanged));; } void QSGTextureProvider_DisconnectTextureChanged(void* ptr){ QObject::disconnect(static_cast(ptr), static_cast(&QSGTextureProvider::textureChanged), static_cast(ptr), static_cast(&MyQSGTextureProvider::Signal_TextureChanged));; }