16#ifndef QGSTEXTUREMATERIAL_H 
   17#define QGSTEXTUREMATERIAL_H 
   31  class QAbstractTexture;
 
   46class _3D_EXPORT QgsTextureMaterial : 
public QgsMaterial 
   49    Q_PROPERTY( Qt3DRender::QAbstractTexture *texture READ texture WRITE setTexture NOTIFY textureChanged )
 
   55    explicit QgsTextureMaterial( Qt3DCore::QNode *parent = 
nullptr );
 
   56    ~QgsTextureMaterial() 
override;
 
   58    Qt3DRender::QAbstractTexture *texture() 
const;
 
   66    void setTexture( Qt3DRender::QAbstractTexture *texture );
 
   69    void textureChanged( Qt3DRender::QAbstractTexture *texture );
 
   74    void handleTextureChanged( 
const QVariant &var );
 
   76    Qt3DRender::QParameter *mTextureParameter = 
nullptr;
 
   77    Qt3DRender::QTechnique *mGL3Technique = 
nullptr;
 
   78    Qt3DRender::QRenderPass *mGL3RenderPass = 
nullptr;
 
   79    Qt3DRender::QShaderProgram *mGL3Shader = 
nullptr;
 
   80    Qt3DRender::QFilterKey *mFilterKey = 
nullptr;
 
Base class for all materials used within QGIS 3D views.