![]() |
Qt 6.x
The Qt SDK
|
Public Member Functions | |
StateSaver (QOpenGLFunctions *func) | |
~StateSaver () | |
Public Attributes | ||
QOpenGLFunctions * | f | |
QOpenGLVertexArrayObjectHelper * | vaoHelper | |
bool | saved | |
GLint | program | |
GLint | texture | |
GLint | activeTexture | |
GLint | frontFace | |
bool | cull | |
bool | depthTest | |
bool | blend | |
GLint | blendFunc [4] | |
bool | scissor | |
bool | stencil | |
GLint | vao | |
GLint | arrayBuf | |
struct { | ||
GLint enabled | ||
GLint type | ||
GLint size | ||
GLint normalized | ||
GLint stride | ||
GLint buffer | ||
GLvoid * pointer | ||
} | va [2] | |
Definition at line 342 of file qeglfscursor.cpp.
|
inline |
Definition at line 344 of file qeglfscursor.cpp.
References activeTexture, QGuiApplication::allWindows(), arrayBuf, blend, blendFunc, cull, QOpenGLContext::currentContext(), depthTest, frontFace, GL_ACTIVE_TEXTURE, GL_ARRAY_BUFFER_BINDING, GL_BLEND_DST_ALPHA, GL_BLEND_DST_RGB, GL_BLEND_SRC_ALPHA, GL_BLEND_SRC_RGB, GL_CURRENT_PROGRAM, GL_VERTEX_ARRAY_BINDING, GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_VERTEX_ATTRIB_ARRAY_POINTER, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, i, QList< T >::isEmpty(), QOpenGLVertexArrayObjectHelper::isValid(), saved, scissor, va, vao, vaoHelper, and QOpenGLVertexArrayObjectHelper::vertexArrayObjectHelperForContext().
|
inline |
Definition at line 388 of file qeglfscursor.cpp.
References activeTexture, arrayBuf, blend, blendFunc, cull, depthTest, frontFace, GL_ARRAY_BUFFER, QOpenGLVertexArrayObjectHelper::glBindVertexArray(), i, QOpenGLVertexArrayObjectHelper::isValid(), saved, scissor, va, vao, and vaoHelper.
GLint StateSaver::activeTexture |
Definition at line 423 of file qeglfscursor.cpp.
Referenced by StateSaver(), and ~StateSaver().
GLint StateSaver::arrayBuf |
Definition at line 432 of file qeglfscursor.cpp.
Referenced by StateSaver(), and ~StateSaver().
bool StateSaver::blend |
Definition at line 427 of file qeglfscursor.cpp.
Referenced by StateSaver(), and ~StateSaver().
GLint StateSaver::blendFunc[4] |
Definition at line 428 of file qeglfscursor.cpp.
Referenced by StateSaver(), and ~StateSaver().
GLint StateSaver::buffer |
Definition at line 433 of file qeglfscursor.cpp.
bool StateSaver::cull |
Definition at line 425 of file qeglfscursor.cpp.
Referenced by StateSaver(), and ~StateSaver().
bool StateSaver::depthTest |
Definition at line 426 of file qeglfscursor.cpp.
Referenced by StateSaver(), and ~StateSaver().
GLint StateSaver::enabled |
Definition at line 433 of file qeglfscursor.cpp.
QOpenGLFunctions* StateSaver::f |
Definition at line 418 of file qeglfscursor.cpp.
GLint StateSaver::frontFace |
Definition at line 424 of file qeglfscursor.cpp.
Referenced by StateSaver(), and ~StateSaver().
GLint StateSaver::normalized |
Definition at line 433 of file qeglfscursor.cpp.
GLvoid* StateSaver::pointer |
Definition at line 433 of file qeglfscursor.cpp.
GLint StateSaver::program |
Definition at line 421 of file qeglfscursor.cpp.
bool StateSaver::saved |
Definition at line 420 of file qeglfscursor.cpp.
Referenced by StateSaver(), and ~StateSaver().
bool StateSaver::scissor |
Definition at line 429 of file qeglfscursor.cpp.
Referenced by StateSaver(), and ~StateSaver().
GLint StateSaver::size |
Definition at line 433 of file qeglfscursor.cpp.
bool StateSaver::stencil |
Definition at line 430 of file qeglfscursor.cpp.
GLint StateSaver::stride |
Definition at line 433 of file qeglfscursor.cpp.
GLint StateSaver::texture |
Definition at line 422 of file qeglfscursor.cpp.
GLint StateSaver::type |
Definition at line 433 of file qeglfscursor.cpp.
struct { ... } StateSaver::va[2] |
Referenced by StateSaver(), and ~StateSaver().
GLint StateSaver::vao |
Definition at line 431 of file qeglfscursor.cpp.
Referenced by StateSaver(), and ~StateSaver().
QOpenGLVertexArrayObjectHelper* StateSaver::vaoHelper |
Definition at line 419 of file qeglfscursor.cpp.
Referenced by StateSaver(), and ~StateSaver().