Qt 4.8
Public Functions | Public Variables | List of all members
QGLCustomShaderEffectStage Class Reference
Inheritance diagram for QGLCustomShaderEffectStage:
QGLCustomShaderStage

Public Functions

 QGLCustomShaderEffectStage (QGraphicsShaderEffect *e, const QByteArray &source)
 
void setUniforms (QGLShaderProgram *program)
 
- Public Functions inherited from QGLCustomShaderStage
 QGLCustomShaderStage ()
 
void removeFromPainter (QPainter *)
 
void setInactive ()
 
bool setOnPainter (QPainter *)
 
void setUniformsDirty ()
 
QByteArray source () const
 
virtual ~QGLCustomShaderStage ()
 

Public Variables

QGraphicsShaderEffecteffect
 

Additional Inherited Members

- Protected Functions inherited from QGLCustomShaderStage
void setSource (const QByteArray &)
 

Detailed Description

Definition at line 137 of file qgraphicsshadereffect.cpp.

Constructors and Destructors

◆ QGLCustomShaderEffectStage()

QGLCustomShaderEffectStage::QGLCustomShaderEffectStage ( QGraphicsShaderEffect e,
const QByteArray source 
)
inline

Definition at line 141 of file qgraphicsshadereffect.cpp.

143  effect(e)
144  {
145  setSource(source);
146  }
void setSource(const QByteArray &)
QGraphicsShaderEffect * effect

Functions

◆ setUniforms()

void QGLCustomShaderEffectStage::setUniforms ( QGLShaderProgram program)
virtual

Reimplemented from QGLCustomShaderStage.

Definition at line 153 of file qgraphicsshadereffect.cpp.

Referenced by QGLCustomShaderEffectStage().

154 {
155  effect->setUniforms(program);
156 }
virtual void setUniforms(QGLShaderProgram *program)
QGraphicsShaderEffect * effect

Properties

◆ effect

QGraphicsShaderEffect* QGLCustomShaderEffectStage::effect

Definition at line 150 of file qgraphicsshadereffect.cpp.

Referenced by setUniforms().


The documentation for this class was generated from the following file: