| 
    QGIS API Documentation
    3.26.3-Buenos Aires (65e4edfdad)
    
   | 
 
 
 
 
Go to the documentation of this file.
   22   return QStringLiteral( 
"null" );
 
   60   QMap<QString, QString> parameters;
 
  
static QgsAbstractMaterialSettings * create()
Returns a new instance of QgsNullMaterialSettings.
 
QMap< QString, QString > toExportParameters() const override
Returns the parameters to be exported to .mtl file.
 
@ InstancedPoints
Instanced based rendering, requiring triangles and point data.
 
Null shading material used for rendering models and scenes with native textures.
 
Context settings for a material.
 
void addParametersToEffect(Qt3DRender::QEffect *effect) const override
Adds parameters from the material to a destination effect.
 
Abstract base class for material settings.
 
@ Lines
Line based rendering, requires line data.
 
Qt3DRender::QMaterial * toMaterial(QgsMaterialSettingsRenderingTechnique technique, const QgsMaterialContext &context) const override
Creates a new QMaterial object representing the material settings.
 
@ Triangles
Triangle based rendering (default)
 
@ TrianglesWithFixedTexture
Triangle based rendering, using a fixed, non-user-configurable texture (e.g. for terrain rendering)
 
QgsMaterialSettingsRenderingTechnique
Material rendering techniques.
 
static bool supportsTechnique(QgsMaterialSettingsRenderingTechnique technique)
Returns true if the specified technique is supported by the material.
 
@ TrianglesDataDefined
Triangle based rendering with possibility of datadefined color.
 
@ TrianglesFromModel
Triangle based rendering, using a model object source.
 
QString type() const override
Returns the unique type name for the material.
 
QgsNullMaterialSettings()=default
Constructor for QgsNullMaterialSettings.
 
QgsNullMaterialSettings * clone() const override
Clones the material settings.
 
@ Points
Point based rendering, requires point data.