ShaderEffectItem Class
Inherits: | QDeclarativeItem. |
Properties
- blending : bool
- fragmentShader : QString
- meshResolution : QSize
- vertexShader : QString
- 7 properties inherited from QDeclarativeItem
Public Functions
ShaderEffectItem(QDeclarativeItem * parent = 0) | |
~ShaderEffectItem() | |
bool | blending() const |
QString | fragmentShader() const |
QSize | meshResolution() const |
void | preprocess() |
void | setBlending(bool enable) |
void | setFragmentShader(const QString & code) |
void | setMeshResolution(const QSize & size) |
void | setVertexShader(const QString & code) |
QString | vertexShader() const |
Reimplemented Public Functions
virtual void | componentComplete() |
virtual void | paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget = 0) |
- 19 public functions inherited from QDeclarativeItem
- 2 public functions inherited from QDeclarativeParserStatus
Signals
void | activeChanged() |
void | blendingChanged() |
void | fragmentShaderChanged() |
void | meshResolutionChanged() |
void | vertexShaderChanged() |
- 2 signals inherited from QDeclarativeItem
Reimplemented Protected Functions
virtual void | geometryChanged(const QRectF & newGeometry, const QRectF & oldGeometry) |
- 6 protected functions inherited from QDeclarativeItem
Property Documentation
blending : bool
Access functions:
bool | blending() const |
void | setBlending(bool enable) |
Notifier signal:
void | blendingChanged() |
fragmentShader : QString
Access functions:
QString | fragmentShader() const |
void | setFragmentShader(const QString & code) |
Notifier signal:
void | fragmentShaderChanged() |
meshResolution : QSize
Access functions:
QSize | meshResolution() const |
void | setMeshResolution(const QSize & size) |
Notifier signal:
void | meshResolutionChanged() |
vertexShader : QString
Access functions:
QString | vertexShader() const |
void | setVertexShader(const QString & code) |
Notifier signal:
void | vertexShaderChanged() |