QGIS API Documentation 3.41.0-Master (af5edcb665c)
Loading...
Searching...
No Matches
qgsimagetexture.cpp
Go to the documentation of this file.
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#include "moc_qgsimagetexture.cpp"
18
19
20QgsImageTexture::QgsImageTexture( const QImage &image, Qt3DCore::QNode *parent )
21 : Qt3DRender::QPaintedTextureImage( parent )
22 , mImage( image )
23{
24 setSize( mImage.size() );
25}
QgsImageTexture(const QImage &image, Qt3DCore::QNode *parent=nullptr)
Constructor.