Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
StateSaver Struct Reference
+ Collaboration diagram for StateSaver:

Public Member Functions

 StateSaver (QOpenGLFunctions *func)
 
 ~StateSaver ()
 

Public Attributes

QOpenGLFunctionsf
 
QOpenGLVertexArrayObjectHelpervaoHelper
 
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] 
 

Detailed Description

Definition at line 342 of file qeglfscursor.cpp.

Constructor & Destructor Documentation

◆ StateSaver()

◆ ~StateSaver()

StateSaver::~StateSaver ( )
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.

+ Here is the call graph for this function:

Member Data Documentation

◆ activeTexture

GLint StateSaver::activeTexture

Definition at line 423 of file qeglfscursor.cpp.

Referenced by StateSaver(), and ~StateSaver().

◆ arrayBuf

GLint StateSaver::arrayBuf

Definition at line 432 of file qeglfscursor.cpp.

Referenced by StateSaver(), and ~StateSaver().

◆ blend

bool StateSaver::blend

Definition at line 427 of file qeglfscursor.cpp.

Referenced by StateSaver(), and ~StateSaver().

◆ blendFunc

GLint StateSaver::blendFunc[4]

Definition at line 428 of file qeglfscursor.cpp.

Referenced by StateSaver(), and ~StateSaver().

◆ buffer

GLint StateSaver::buffer

Definition at line 433 of file qeglfscursor.cpp.

◆ cull

bool StateSaver::cull

Definition at line 425 of file qeglfscursor.cpp.

Referenced by StateSaver(), and ~StateSaver().

◆ depthTest

bool StateSaver::depthTest

Definition at line 426 of file qeglfscursor.cpp.

Referenced by StateSaver(), and ~StateSaver().

◆ enabled

GLint StateSaver::enabled

Definition at line 433 of file qeglfscursor.cpp.

◆ f

QOpenGLFunctions* StateSaver::f

Definition at line 418 of file qeglfscursor.cpp.

◆ frontFace

GLint StateSaver::frontFace

Definition at line 424 of file qeglfscursor.cpp.

Referenced by StateSaver(), and ~StateSaver().

◆ normalized

GLint StateSaver::normalized

Definition at line 433 of file qeglfscursor.cpp.

◆ pointer

GLvoid* StateSaver::pointer

Definition at line 433 of file qeglfscursor.cpp.

◆ program

GLint StateSaver::program

Definition at line 421 of file qeglfscursor.cpp.

◆ saved

bool StateSaver::saved

Definition at line 420 of file qeglfscursor.cpp.

Referenced by StateSaver(), and ~StateSaver().

◆ scissor

bool StateSaver::scissor

Definition at line 429 of file qeglfscursor.cpp.

Referenced by StateSaver(), and ~StateSaver().

◆ size

GLint StateSaver::size

Definition at line 433 of file qeglfscursor.cpp.

◆ stencil

bool StateSaver::stencil

Definition at line 430 of file qeglfscursor.cpp.

◆ stride

GLint StateSaver::stride

Definition at line 433 of file qeglfscursor.cpp.

◆ texture

GLint StateSaver::texture

Definition at line 422 of file qeglfscursor.cpp.

◆ type

GLint StateSaver::type

Definition at line 433 of file qeglfscursor.cpp.

◆ [struct]

struct { ... } StateSaver::va[2]

Referenced by StateSaver(), and ~StateSaver().

◆ vao

GLint StateSaver::vao

Definition at line 431 of file qeglfscursor.cpp.

Referenced by StateSaver(), and ~StateSaver().

◆ vaoHelper

QOpenGLVertexArrayObjectHelper* StateSaver::vaoHelper

Definition at line 419 of file qeglfscursor.cpp.

Referenced by StateSaver(), and ~StateSaver().


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