Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
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 QGuiApplication::allWindows(), QOpenGLContext::currentContext(), 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(), and QOpenGLVertexArrayObjectHelper::vertexArrayObjectHelperForContext().
|
inline |
Definition at line 388 of file qeglfscursor.cpp.
References GL_ARRAY_BUFFER, and i.
GLint StateSaver::activeTexture |
Definition at line 423 of file qeglfscursor.cpp.
GLint StateSaver::arrayBuf |
Definition at line 432 of file qeglfscursor.cpp.
bool StateSaver::blend |
Definition at line 427 of file qeglfscursor.cpp.
GLint StateSaver::blendFunc[4] |
Definition at line 428 of file qeglfscursor.cpp.
GLint StateSaver::buffer |
Definition at line 433 of file qeglfscursor.cpp.
bool StateSaver::cull |
Definition at line 425 of file qeglfscursor.cpp.
bool StateSaver::depthTest |
Definition at line 426 of file qeglfscursor.cpp.
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.
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.
bool StateSaver::scissor |
Definition at line 429 of file qeglfscursor.cpp.
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] |
GLint StateSaver::vao |
Definition at line 431 of file qeglfscursor.cpp.
QOpenGLVertexArrayObjectHelper* StateSaver::vaoHelper |
Definition at line 419 of file qeglfscursor.cpp.