Qt 4.8
Classes | Macros | Variables
qgraphicsshadereffect.cpp File Reference
#include "qgraphicsshadereffect_p.h"
#include "qglshaderprogram.h"
#include "gl2paintengineex/qglcustomshaderstage_p.h"
#include <QtGui/qpainter.h>
#include <QtGui/qgraphicsitem.h>
#include <QtGui/private/qgraphicseffect_p.h>

Go to the source code of this file.

Classes

class  QGLCustomShaderEffectStage
 
class  QGraphicsShaderEffectPrivate
 

Macros

#define QGL_HAVE_CUSTOM_SHADERS   1
 

Variables

static const char qglslDefaultImageFragmentShader []
 

Macro Definition Documentation

◆ QGL_HAVE_CUSTOM_SHADERS

#define QGL_HAVE_CUSTOM_SHADERS   1

Definition at line 46 of file qgraphicsshadereffect.cpp.

Variable Documentation

◆ qglslDefaultImageFragmentShader

const char qglslDefaultImageFragmentShader[]
static
Initial value:
= "\
lowp vec4 customShader(lowp sampler2D imageTexture, highp vec2 textureCoords) { \
return texture2D(imageTexture, textureCoords); \
}\n"

Definition at line 130 of file qgraphicsshadereffect.cpp.