35 #ifndef DISP3DLIB_ABSTRACTPHONGALPHAMATERIAL_H
36 #define DISP3DLIB_ABSTRACTPHONGALPHAMATERIAL_H
42 #include "../../../disp3D_global.h"
48 #include <QSharedPointer>
50 #include <Qt3DRender/QMaterial>
60 namespace Qt3DRender {
89 typedef QSharedPointer<AbstractPhongAlphaMaterial>
SPtr;
90 typedef QSharedPointer<const AbstractPhongAlphaMaterial>
ConstSPtr;
113 virtual float alpha()
const;
121 virtual void setAlpha(
float fAlpha);
137 virtual void setShaderCode() = 0;
147 virtual void addShaderToRenderPass(
const QString &sObjectName, Qt3DRender::QShaderProgram *pShaderProgramm);
156 virtual void onAlphaChanged(
const QVariant &fAlpha);
175 #endif // DISP3DLIB_ABSTRACTPHONGALPHAMATERIAL_H