![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "qopenglshaderprogram.h"#include "qopenglextrafunctions.h"#include "private/qopenglcontext_p.h"#include <QtOpenGL/QOpenGLVersionFunctionsFactory>#include <QtCore/private/qobject_p.h>#include <QtCore/qdebug.h>#include <QtCore/qfile.h>#include <QtCore/qlist.h>#include <QtCore/qloggingcategory.h>#include <QtCore/qvarlengtharray.h>#include <QtGui/private/qopenglprogrambinarycache_p.h>#include <QtGui/qtransform.h>#include <QtGui/QColor>#include <QtGui/QSurfaceFormat>#include <QtOpenGL/qopenglfunctions_4_0_core.h>#include <algorithm>#include <memory>#include "moc_qopenglshaderprogram.cpp"Go to the source code of this file.
Classes | |
| class | QOpenGLShaderPrivate |
| struct | QVersionDirectivePosition |
| class | QOpenGLShaderProgramPrivate |
Macros | |
| #define | GL_GEOMETRY_SHADER 0x8DD9 |
| #define | GL_TESS_CONTROL_SHADER 0x8E88 |
| #define | GL_TESS_EVALUATION_SHADER 0x8E87 |
| #define | GL_COMPUTE_SHADER 0x91B9 |
| #define | GL_MAX_GEOMETRY_OUTPUT_VERTICES 0x8DE0 |
| #define | GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1 |
| #define | GL_PATCH_VERTICES 0x8E72 |
| #define | GL_PATCH_DEFAULT_OUTER_LEVEL 0x8E74 |
| #define | GL_PATCH_DEFAULT_INNER_LEVEL 0x8E73 |
| #define | setUniformMatrixArray(func, location, values, count, type, cols, rows) |
| #define | setUniformGenericMatrixArray(colfunc, location, values, count, type, cols, rows) |
Functions | |
| static bool | isFormatGLES (const QSurfaceFormat &ff) |
| static bool | supportsGeometry (const QSurfaceFormat &ff) |
| static bool | supportsCompute (const QSurfaceFormat &ff) |
| static bool | supportsTessellation (const QSurfaceFormat &ff) |
| static QVersionDirectivePosition | findVersionDirectivePosition (const char *sourcesource) |
| static QShader::Stage | qt_shaderTypeToStage (QOpenGLShader::ShaderType typetype) |
| static QOpenGLShader::ShaderType | qt_shaderStageToType (QShader::Stage stage) |
Variables | |
| static const char | qualifierDefines [] |
| static const char | blendEquationAdvancedHeader [] |
| #define GL_COMPUTE_SHADER 0x91B9 |
Definition at line 180 of file qopenglshaderprogram.cpp.
| #define GL_GEOMETRY_SHADER 0x8DD9 |
Definition at line 171 of file qopenglshaderprogram.cpp.
| #define GL_MAX_GEOMETRY_OUTPUT_VERTICES 0x8DE0 |
Definition at line 183 of file qopenglshaderprogram.cpp.
| #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1 |
Definition at line 186 of file qopenglshaderprogram.cpp.
| #define GL_PATCH_DEFAULT_INNER_LEVEL 0x8E73 |
Definition at line 195 of file qopenglshaderprogram.cpp.
| #define GL_PATCH_DEFAULT_OUTER_LEVEL 0x8E74 |
Definition at line 192 of file qopenglshaderprogram.cpp.
| #define GL_PATCH_VERTICES 0x8E72 |
Definition at line 189 of file qopenglshaderprogram.cpp.
| #define GL_TESS_CONTROL_SHADER 0x8E88 |
Definition at line 174 of file qopenglshaderprogram.cpp.
| #define GL_TESS_EVALUATION_SHADER 0x8E87 |
Definition at line 177 of file qopenglshaderprogram.cpp.
Definition at line 3218 of file qopenglshaderprogram.cpp.
Definition at line 3202 of file qopenglshaderprogram.cpp.
|
static |
Definition at line 495 of file qopenglshaderprogram.cpp.
References QVersionDirectivePosition::QVersionDirectivePosition().
|
inlinestatic |
Definition at line 199 of file qopenglshaderprogram.cpp.
|
inlinestatic |
Definition at line 1084 of file qopenglshaderprogram.cpp.
|
inlinestatic |
Definition at line 1065 of file qopenglshaderprogram.cpp.
|
inlinestatic |
Definition at line 210 of file qopenglshaderprogram.cpp.
|
inlinestatic |
Definition at line 205 of file qopenglshaderprogram.cpp.
|
inlinestatic |
Definition at line 222 of file qopenglshaderprogram.cpp.
|
static |
Definition at line 472 of file qopenglshaderprogram.cpp.
|
static |
Definition at line 456 of file qopenglshaderprogram.cpp.