1 /*************************************************************************** 2 qgs3dsceneexporter.h 3 -------------------------------------- 4 Date : July 2020 5 Copyright : (C) 2020 by Belgacem Nedjima 6 Email : gb underscore nedjima at esi dot dz 7 *************************************************************************** 8 * * 9 * This program is free software; you can redistribute it and/or modify * 10 * it under the terms of the GNU General Public License as published by * 11 * the Free Software Foundation; either version 2 of the License, or * 12 * (at your option) any later version. * 13 * * 14 ***************************************************************************/ 15 16 #include "qgsimagetexture.h" 17 18 QgsImageTexture(const QImage & image,Qt3DCore::QNode * parent)19QgsImageTexture::QgsImageTexture( const QImage &image, Qt3DCore::QNode *parent ) 20 : Qt3DRender::QPaintedTextureImage( parent ) 21 , mImage( image ) 22 { 23 setSize( mImage.size() ); 24 } 25