Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
CachedShader Class Reference

#include <qopenglshadercache_p.h>

+ Collaboration diagram for CachedShader:

Public Member Functions

 CachedShader (const QByteArray &, const QByteArray &)
 
bool isCached ()
 
bool load (QOpenGLShaderProgram *, QOpenGLContext *)
 
bool store (QOpenGLShaderProgram *, QOpenGLContext *)
 

Detailed Description

Definition at line 27 of file qopenglshadercache_p.h.

Constructor & Destructor Documentation

◆ CachedShader()

CachedShader::CachedShader ( const QByteArray ,
const QByteArray  
)
inline

Definition at line 30 of file qopenglshadercache_p.h.

Member Function Documentation

◆ isCached()

bool CachedShader::isCached ( )
inline

Definition at line 33 of file qopenglshadercache_p.h.

◆ load()

bool CachedShader::load ( QOpenGLShaderProgram ,
QOpenGLContext  
)
inline

Definition at line 38 of file qopenglshadercache_p.h.

Referenced by QOpenGLEngineSharedShaders::QOpenGLEngineSharedShaders(), and QOpenGLEngineSharedShaders::findProgramInCache().

+ Here is the caller graph for this function:

◆ store()

bool CachedShader::store ( QOpenGLShaderProgram ,
QOpenGLContext  
)
inline

Definition at line 43 of file qopenglshadercache_p.h.

Referenced by QOpenGLEngineSharedShaders::QOpenGLEngineSharedShaders(), and QOpenGLEngineSharedShaders::findProgramInCache().

+ Here is the caller graph for this function:

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