Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
StateSaver Struct Reference
Collaboration diagram for StateSaver:

Public Member Functions

 StateSaver (QOpenGLFunctions *func)
 ~StateSaver ()
 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() [1/2]

StateSaver::StateSaver ( QOpenGLFunctions * func)
inline

Definition at line 344 of file qeglfscursor.cpp.

References saved.

◆ ~StateSaver() [1/2]

StateSaver::~StateSaver ( )
inline

Definition at line 388 of file qeglfscursor.cpp.

References saved.

◆ StateSaver() [2/2]

StateSaver::StateSaver ( QOpenGLFunctions * func)
inline

Definition at line 344 of file qeglfscursor.cpp.

◆ ~StateSaver() [2/2]

StateSaver::~StateSaver ( )
inline

Definition at line 388 of file qeglfscursor.cpp.

Member Data Documentation

◆ activeTexture

GLint StateSaver::activeTexture

Definition at line 423 of file qeglfscursor.cpp.

◆ arrayBuf

GLint StateSaver::arrayBuf

Definition at line 432 of file qeglfscursor.cpp.

◆ blend

bool StateSaver::blend

Definition at line 427 of file qeglfscursor.cpp.

◆ blendFunc

GLint StateSaver::blendFunc

Definition at line 428 of file qeglfscursor.cpp.

◆ buffer

◆ cull

bool StateSaver::cull

Definition at line 425 of file qeglfscursor.cpp.

◆ depthTest

bool StateSaver::depthTest

Definition at line 426 of file qeglfscursor.cpp.

◆ 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.

◆ 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.

◆ 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

◆ vao

GLint StateSaver::vao

Definition at line 431 of file qeglfscursor.cpp.

◆ vaoHelper

QOpenGLVertexArrayObjectHelper * StateSaver::vaoHelper

Definition at line 419 of file qeglfscursor.cpp.


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