| QGIS API Documentation
    3.20.0-Odense (decaadbb31)
    | 
Holds an image that can be used as a texture in the 3D view. More...
#include <qgsimagetexture.h>

| Public Member Functions | |
| QgsImageTexture (const QImage &image, Qt3DCore::QNode *parent=nullptr) | |
| Constructor.  More... | |
| QImage | getImage () const | 
| Returns the image.  More... | |
| void | paint (QPainter *painter) override | 
| paints on the current QImage using painter  More... | |
Holds an image that can be used as a texture in the 3D view.
3
Definition at line 36 of file qgsimagetexture.h.
| QgsImageTexture::QgsImageTexture | ( | const QImage & | image, | 
| Qt3DCore::QNode * | parent = nullptr | ||
| ) | 
Constructor.
Definition at line 19 of file qgsimagetexture.cpp.
| 
 | inline | 
Returns the image.
Definition at line 49 of file qgsimagetexture.h.
| 
 | inlineoverride | 
paints on the current QImage using painter
Definition at line 43 of file qgsimagetexture.h.