17#ifndef QGSNULLMATERIALSETTINGS_H
18#define QGSNULLMATERIALSETTINGS_H
41 QString
type()
const override;
Abstract base class for material settings.
virtual void addParametersToEffect(Qt3DRender::QEffect *effect, const QgsMaterialContext &materialContext) const =0
Adds parameters from the material to a destination effect.
virtual QString type() const =0
Returns the unique type name for the material.
virtual QgsMaterial * toMaterial(QgsMaterialSettingsRenderingTechnique technique, const QgsMaterialContext &context) const =0
Creates a new QgsMaterial object representing the material settings.
Context settings for a material.
Base class for all materials used within QGIS 3D views.
QMap< QString, QString > toExportParameters() const override
Returns the parameters to be exported to .mtl file.
static QgsAbstractMaterialSettings * create()
Returns a new instance of QgsNullMaterialSettings.
QgsNullMaterialSettings()=default
bool equals(const QgsAbstractMaterialSettings *other) const override
Returns true if this settings exactly matches an other settings.
static bool supportsTechnique(QgsMaterialSettingsRenderingTechnique technique)
Returns true if the specified technique is supported by the material.
QgsNullMaterialSettings * clone() const override
Clones the material settings.
QgsMaterialSettingsRenderingTechnique
Material rendering techniques.