Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QOpenGLCustomShaderStage Class Reference

#include <qopenglcustomshaderstage_p.h>

+ Collaboration diagram for QOpenGLCustomShaderStage:

Public Member Functions

 QOpenGLCustomShaderStage ()
 
virtual ~QOpenGLCustomShaderStage ()
 
virtual void setUniforms (QOpenGLShaderProgram *)
 
void setUniformsDirty ()
 
bool setOnPainter (QPainter *)
 
void removeFromPainter (QPainter *)
 
QByteArray source () const
 
void setInactive ()
 

Protected Member Functions

void setSource (const QByteArray &)
 

Detailed Description

Definition at line 27 of file qopenglcustomshaderstage_p.h.

Constructor & Destructor Documentation

◆ QOpenGLCustomShaderStage()

QOpenGLCustomShaderStage::QOpenGLCustomShaderStage ( )

Definition at line 26 of file qopenglcustomshaderstage.cpp.

◆ ~QOpenGLCustomShaderStage()

QOpenGLCustomShaderStage::~QOpenGLCustomShaderStage ( )
virtual

Definition at line 31 of file qopenglcustomshaderstage.cpp.

References d.

Member Function Documentation

◆ removeFromPainter()

void QOpenGLCustomShaderStage::removeFromPainter ( QPainter * p)

Definition at line 66 of file qopenglcustomshaderstage.cpp.

References d, engine, QPaintEngine::OpenGL2, Q_ASSERT, and QOpenGL2PaintEngineExPrivate::shaderManagerForEngine().

+ Here is the call graph for this function:

◆ setInactive()

void QOpenGLCustomShaderStage::setInactive ( )

Definition at line 91 of file qopenglcustomshaderstage.cpp.

References d.

Referenced by QOpenGLEngineShaderManager::removeCustomStage().

+ Here is the caller graph for this function:

◆ setOnPainter()

bool QOpenGLCustomShaderStage::setOnPainter ( QPainter * p)

Definition at line 48 of file qopenglcustomshaderstage.cpp.

References d, engine, QPaintEngine::OpenGL2, Q_ASSERT, qWarning, and QOpenGL2PaintEngineExPrivate::shaderManagerForEngine().

+ Here is the call graph for this function:

◆ setSource()

void QOpenGLCustomShaderStage::setSource ( const QByteArray & s)
protected

Definition at line 97 of file qopenglcustomshaderstage.cpp.

References d.

◆ setUniforms()

virtual void QOpenGLCustomShaderStage::setUniforms ( QOpenGLShaderProgram * )
inlinevirtual

Definition at line 33 of file qopenglcustomshaderstage_p.h.

Referenced by QOpenGLEngineShaderManager::useCorrectShaderProg().

+ Here is the caller graph for this function:

◆ setUniformsDirty()

void QOpenGLCustomShaderStage::setUniformsDirty ( )

Definition at line 41 of file qopenglcustomshaderstage.cpp.

References d.

◆ source()

QByteArray QOpenGLCustomShaderStage::source ( ) const

Definition at line 83 of file qopenglcustomshaderstage.cpp.

References d.

Referenced by QOpenGLEngineSharedShaders::cleanupCustomStage(), and QOpenGLEngineShaderManager::useCorrectShaderProg().

+ Here is the caller graph for this function:

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