Qt 6.x
The Qt SDK
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 24 of file qopenglcustomshaderstage.cpp.

◆ ~QOpenGLCustomShaderStage()

QOpenGLCustomShaderStage::~QOpenGLCustomShaderStage ( )
virtual

Definition at line 29 of file qopenglcustomshaderstage.cpp.

References d.

Member Function Documentation

◆ removeFromPainter()

void QOpenGLCustomShaderStage::removeFromPainter ( QPainter p)

Definition at line 64 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 89 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 46 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 95 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 39 of file qopenglcustomshaderstage.cpp.

References d.

◆ source()

QByteArray QOpenGLCustomShaderStage::source ( ) const

Definition at line 81 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: