![]() |
Miam-Player
0.8.0
A nice music player
|
The VideoShaderObject class User defined uniform names are bound to class meta properties (property signals are required) and object dynamic properties. More...
#include <VideoShaderObject.h>
Public Member Functions | |
| VideoShaderObject (QObject *parent=0) | |
Public Member Functions inherited from QtAV::VideoShader | |
| VideoShader () | |
| virtual | ~VideoShader () |
| virtual char const *const * | attributeNames () const |
| attributeNames Array must end with null. More... | |
| virtual const char * | vertexShader () const |
| vertexShader mvp uniform: u_Matrix Vertex shader in: a_Position, a_TexCoordsN (see attributeNames()) Vertex shader out: v_TexCoordsN More... | |
| virtual const char * | fragmentShader () const |
| virtual void | initialize (QOpenGLShaderProgram *shaderProgram=0) |
| initialize More... | |
| int | uniformLocation (const char *name) const |
| int | textureLocationCount () const |
| textureLocationCount number of texture locations is 1: packed RGB number of channels: yuv or plannar RGB More... | |
| int | textureLocation (int index) const |
| int | matrixLocation () const |
| int | colorMatrixLocation () const |
| int | opacityLocation () const |
| int | channelMapLocation () const |
| int | texelSizeLocation () const |
| int | textureSizeLocation () const |
| VideoFormat | videoFormat () const |
| int | textureTarget () const |
| QOpenGLShaderProgram * | program () |
| bool | update (VideoMaterial *material) |
| update Upload textures, setup uniforms before rendering. More... | |
Protected Member Functions | |
| VideoShaderObject (VideoShaderObjectPrivate &d, QObject *parent=0) | |
| bool | event (QEvent *event) Q_DECL_OVERRIDE |
Protected Member Functions inherited from QtAV::VideoShader | |
| void | rebuildLater () |
| rebuild shader program before next rendering. call this if shader code is updated More... | |
| VideoShader (VideoShaderPrivate &d) | |
The VideoShaderObject class User defined uniform names are bound to class meta properties (property signals are required) and object dynamic properties.
Property value type T is limited to float, int, unsigned(ES3.0) and QVector<T>
| QtAV::VideoShaderObject::VideoShaderObject | ( | QObject * | parent = 0 | ) |
|
protected |
|
protected |