Qt 4.8
Public Functions | Public Variables | List of all members
QGLEngineShaderProg Class Reference

#include <qglengineshadermanager_p.h>

Public Functions

bool operator== (const QGLEngineShaderProg &other)
 
 QGLEngineShaderProg ()
 
 ~QGLEngineShaderProg ()
 

Public Variables

QGLEngineSharedShaders::SnippetName compositionFragShader
 
QByteArray customStageSource
 
QGLEngineSharedShaders::SnippetName mainFragShader
 
QGLEngineSharedShaders::SnippetName mainVertexShader
 
QGLEngineSharedShaders::SnippetName maskFragShader
 
QGLEngineSharedShaders::SnippetName positionVertexShader
 
QGLShaderProgramprogram
 
QGLEngineSharedShaders::SnippetName srcPixelFragShader
 
QVector< uintuniformLocations
 
bool useOpacityAttribute
 
bool usePmvMatrixAttribute
 
bool useTextureCoords
 

Detailed Description

Definition at line 378 of file qglengineshadermanager_p.h.

Constructors and Destructors

◆ QGLEngineShaderProg()

QGLEngineShaderProg::QGLEngineShaderProg ( )
inline

Definition at line 381 of file qglengineshadermanager_p.h.

381 : program(0) {}

◆ ~QGLEngineShaderProg()

QGLEngineShaderProg::~QGLEngineShaderProg ( )
inline

Definition at line 383 of file qglengineshadermanager_p.h.

383  {
384  if (program)
385  delete program;
386  }

Functions

◆ operator==()

bool QGLEngineShaderProg::operator== ( const QGLEngineShaderProg other)
inline

Definition at line 404 of file qglengineshadermanager_p.h.

404  {
405  // We don't care about the program
406  return ( mainVertexShader == other.mainVertexShader &&
408  mainFragShader == other.mainFragShader &&
410  maskFragShader == other.maskFragShader &&
413  );
414  }
QGLEngineSharedShaders::SnippetName mainVertexShader
QGLEngineSharedShaders::SnippetName mainFragShader
QGLEngineSharedShaders::SnippetName maskFragShader
QGLEngineSharedShaders::SnippetName positionVertexShader
QGLEngineSharedShaders::SnippetName compositionFragShader
QGLEngineSharedShaders::SnippetName srcPixelFragShader

Properties

◆ compositionFragShader

QGLEngineSharedShaders::SnippetName QGLEngineShaderProg::compositionFragShader

◆ customStageSource

QByteArray QGLEngineShaderProg::customStageSource

◆ mainFragShader

QGLEngineSharedShaders::SnippetName QGLEngineShaderProg::mainFragShader

◆ mainVertexShader

QGLEngineSharedShaders::SnippetName QGLEngineShaderProg::mainVertexShader

◆ maskFragShader

QGLEngineSharedShaders::SnippetName QGLEngineShaderProg::maskFragShader

◆ positionVertexShader

QGLEngineSharedShaders::SnippetName QGLEngineShaderProg::positionVertexShader

◆ program

QGLShaderProgram* QGLEngineShaderProg::program

◆ srcPixelFragShader

QGLEngineSharedShaders::SnippetName QGLEngineShaderProg::srcPixelFragShader

◆ uniformLocations

QVector<uint> QGLEngineShaderProg::uniformLocations

◆ useOpacityAttribute

bool QGLEngineShaderProg::useOpacityAttribute

◆ usePmvMatrixAttribute

bool QGLEngineShaderProg::usePmvMatrixAttribute

◆ useTextureCoords

bool QGLEngineShaderProg::useTextureCoords

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