![]() |
Qt 6.x
The Qt SDK
|
Public Attributes | ||
QOpenGLSharedResourceGuard * | shaderGuard | |
QOpenGLShader::ShaderType | shaderType | |
bool | compiled | |
QString | log | |
QOpenGLExtraFunctions * | glfuncs | |
bool | supportsGeometryShaders | |
bool | supportsTessellationShaders | |
bool | supportsComputeShaders | |
![]() | ||
ExtraData * | extraData | |
QAtomicPointer< QThreadData > | threadData | |
QAtomicPointer< ConnectionData > | connections | |
union { | ||
QObject * currentChildBeingDeleted | ||
QAbstractDeclarativeData * declarativeData | ||
}; | ||
QAtomicPointer< QtSharedPointer::ExternalRefCountData > | sharedRefcount | |
![]() | ||
QObject * | q_ptr | |
QObject * | parent | |
QObjectList | children | |
uint | isWidget: 1 | |
uint | blockSig: 1 | |
uint | wasDeleted: 1 | |
uint | isDeletingChildren: 1 | |
uint | sendChildEvents: 1 | |
uint | receiveChildEvents: 1 | |
uint | isWindow: 1 | |
uint | deleteLaterCalled: 1 | |
uint | isQuickItem: 1 | |
uint | willBeWidget: 1 | |
uint | wasWidget: 1 | |
uint | unused: 21 | |
QAtomicInt | postedEvents | |
QDynamicMetaObjectData * | metaObject | |
QBindingStorage | bindingStorage | |
Additional Inherited Members | |
![]() | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
using | ConnectionDataPointer = QExplicitlySharedDataPointer< ConnectionData > |
![]() | |
static bool | removeConnection (Connection *c) |
static QObjectPrivate * | get (QObject *o) |
static const QObjectPrivate * | get (const QObject *o) |
template<typename Func1 , typename Func2 > | |
static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection) |
template<typename Func1 , typename Func2 > | |
static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot) |
static QMetaObject::Connection | connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject) |
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
static bool | disconnect (const QObject *sender, int signal_index, void **slot) |
static bool | disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot) |
Definition at line 213 of file qopenglshaderprogram.cpp.
|
inline |
Definition at line 217 of file qopenglshaderprogram.cpp.
References QOpenGLShader::Compute, QOpenGLShader::Geometry, shaderType, supportsCompute(), supportsComputeShaders, supportsGeometry(), supportsGeometryShaders, supportsTessellation(), supportsTessellationShaders, QOpenGLShader::TessellationControl, and QOpenGLShader::TessellationEvaluation.
QOpenGLShaderPrivate::~QOpenGLShaderPrivate | ( | ) |
Definition at line 262 of file qopenglshaderprogram.cpp.
References QOpenGLSharedResource::free(), glfuncs, and shaderGuard.
bool QOpenGLShaderPrivate::compile | ( | QOpenGLShader * | q | ) |
Definition at line 296 of file qopenglshaderprogram.cpp.
References compiled, QOpenGLShader::Compute, QOpenGLShader::Fragment, QString::fromLatin1(), QOpenGLShader::Geometry, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH, QOpenGLFunctions::glCompileShader(), glfuncs, QOpenGLFunctions::glGetShaderInfoLog(), QOpenGLFunctions::glGetShaderiv(), QOpenGLFunctions::glGetShaderSource(), GLint(), GLuint, QOpenGLSharedResourceGuard::id(), log, qPrintable, qUtf16Printable, qWarning, shaderGuard, shaderType, QOpenGLShader::TessellationControl, QOpenGLShader::TessellationEvaluation, and QOpenGLShader::Vertex.
bool QOpenGLShaderPrivate::create | ( | ) |
Definition at line 269 of file qopenglshaderprogram.cpp.
References QOpenGLShader::Compute, context, QOpenGLContext::currentContext(), QOpenGLShader::Fragment, QOpenGLShader::Geometry, GL_COMPUTE_SHADER, GL_FRAGMENT_SHADER, GL_GEOMETRY_SHADER, GL_TESS_CONTROL_SHADER, GL_TESS_EVALUATION_SHADER, GL_VERTEX_SHADER, QOpenGLFunctions::glCreateShader(), glfuncs, GLuint, qWarning, shaderGuard, shaderType, supportsComputeShaders, supportsGeometryShaders, supportsTessellationShaders, QOpenGLShader::TessellationControl, QOpenGLShader::TessellationEvaluation, and QOpenGLShader::Vertex.
void QOpenGLShaderPrivate::deleteShader | ( | ) |
Definition at line 390 of file qopenglshaderprogram.cpp.
References QOpenGLSharedResource::free(), and shaderGuard.
bool QOpenGLShaderPrivate::compiled |
Definition at line 237 of file qopenglshaderprogram.cpp.
Referenced by compile().
QOpenGLExtraFunctions* QOpenGLShaderPrivate::glfuncs |
Definition at line 240 of file qopenglshaderprogram.cpp.
Referenced by ~QOpenGLShaderPrivate(), compile(), and create().
QString QOpenGLShaderPrivate::log |
Definition at line 238 of file qopenglshaderprogram.cpp.
Referenced by compile().
QOpenGLSharedResourceGuard* QOpenGLShaderPrivate::shaderGuard |
Definition at line 235 of file qopenglshaderprogram.cpp.
Referenced by ~QOpenGLShaderPrivate(), compile(), create(), and deleteShader().
QOpenGLShader::ShaderType QOpenGLShaderPrivate::shaderType |
Definition at line 236 of file qopenglshaderprogram.cpp.
Referenced by QOpenGLShaderPrivate(), compile(), and create().
bool QOpenGLShaderPrivate::supportsComputeShaders |
Definition at line 247 of file qopenglshaderprogram.cpp.
Referenced by QOpenGLShaderPrivate(), and create().
bool QOpenGLShaderPrivate::supportsGeometryShaders |
Definition at line 243 of file qopenglshaderprogram.cpp.
Referenced by QOpenGLShaderPrivate(), and create().
bool QOpenGLShaderPrivate::supportsTessellationShaders |
Definition at line 245 of file qopenglshaderprogram.cpp.
Referenced by QOpenGLShaderPrivate(), and create().