21 #ifndef QTAV_VIDEOSHADEROBJECT_H 22 #define QTAV_VIDEOSHADEROBJECT_H 24 #include <QtCore/QObject> 25 #include <QtCore/QVector> 29 class VideoShaderObjectPrivate;
46 void propertyChanged(
int id);
51 class DynamicShaderObjectPrivate;
60 Q_PROPERTY(QString header READ header WRITE setHeader NOTIFY headerChanged)
61 Q_PROPERTY(QString sample READ sample WRITE setSample NOTIFY sampleChanged)
62 Q_PROPERTY(QString postProcess READ postProcess WRITE setPostProcess NOTIFY postProcessChanged)
65 QString header() const;
66 void setHeader(const QString& text);
67 QString sample() const;
68 void setSample(const QString& text);
69 QString postProcess() const;
70 void setPostProcess(const QString& text);
74 void postProcessChanged();
79 const
char* userSample() const Q_DECL_OVERRIDE;
80 const
char* userPostProcess() const Q_DECL_OVERRIDE;
83 #endif //QTAV_VIDEOSHADEROBJECT_H The DynamicShaderObject class Able to set custom shader code.
Definition: VideoShaderObject.h:56
#define Q_AV_EXPORT
Definition: QtAV_Global.h:40
#define Q_DECL_FINAL
Definition: QtAV_Global.h:180
#define DPTR_DECLARE_PRIVATE(Class)
Definition: dptr.h:107
The VideoShaderObject class User defined uniform names are bound to class meta properties (property s...
Definition: VideoShaderObject.h:36
The VideoShader class Represents a shader for rendering a video frame.
Definition: VideoShader.h:53
ShaderType
Definition: VideoShader_p.h:48
AudioOutput ao; ao.setAudioFormat(fmt); ao.open(); while (has_data) { data = read_data(ao->bufferSize...
Definition: AudioDecoder.h:31
#define Q_DECL_OVERRIDE
Definition: QtAV_Global.h:177