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
doc_gui_widgets_qopenglwidget.cpp File Reference

(05fc3aef53348fb58be6308076e000825b704e58)

Go to the source code of this file.

Classes

class  MyGLWidget
 [0] More...
 

Functions

format setDepthBufferSize (24)
 
format setStencilBufferSize (8)
 
format setVersion (3, 2)
 
format setProfile (QSurfaceFormat::CoreProfile)
 
widget setFormat (format)
 
void paintGL () override
 [2]
 
int main (int argc, char **argv)
 [5]
 

Variables

QOpenGLWidgetwidget = new QOpenGLWidget(parent)
 [1]
 
QSurfaceFormat format
 

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

[5]

[48]

[6]

[0]

[0]

[1]

[1]

[2]

[2]

[3]

[3]

[0]

[0]

[1]

[1]

[2]

[2]

[3]

[3]

[0]

[0]

[1]

[1]

[2]

[2]

[3]

[3]

[0]

[0]

[0]

[0]

[1]

[1]

[1]

[1]

[0]

[0]

[0]

[0]

Definition at line 152 of file doc_gui_widgets_qopenglwidget.cpp.

◆ paintGL()

void paintGL ( )
override

[2]

[3]

Definition at line 64 of file doc_gui_widgets_qopenglwidget.cpp.

◆ setDepthBufferSize()

format setDepthBufferSize ( 24 )

◆ setFormat()

widget setFormat ( format )

◆ setProfile()

◆ setStencilBufferSize()

format setStencilBufferSize ( 8 )

◆ setVersion()

format setVersion ( 3 ,
2  )

Variable Documentation

◆ format

◆ widget

QWidget * widget = new QOpenGLWidget(parent)

[1]

[0]

[2]

Definition at line 53 of file doc_gui_widgets_qopenglwidget.cpp.