Qt 4.8
Public Functions | Properties | List of all members
QGLShaderStorage Class Reference

Public Functions

QGLEngineSharedShadersshadersForThread (const QGLContext *context)
 

Properties

QThreadStorage< QGLContextGroupResource< QGLEngineSharedShaders > * > m_storage
 

Detailed Description

Definition at line 55 of file qglengineshadermanager.cpp.

Functions

◆ shadersForThread()

QGLEngineSharedShaders* QGLShaderStorage::shadersForThread ( const QGLContext context)
inline

Definition at line 58 of file qglengineshadermanager.cpp.

58  {
60  if (!shaders)
62  return shaders->value(context);
63  }
T * value(const QGLContext *context)
Definition: qgl_p.h:775
T & localData()
Returns a reference to the data that was set by the calling thread.
QThreadStorage< QGLContextGroupResource< QGLEngineSharedShaders > * > m_storage

Properties

◆ m_storage

QThreadStorage<QGLContextGroupResource<QGLEngineSharedShaders> *> QGLShaderStorage::m_storage
private

Definition at line 66 of file qglengineshadermanager.cpp.

Referenced by shadersForThread().


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