KiCad PCB EDA Suite
Loading...
Searching...
No Matches
GL_UTILS Class Reference

#include <gl_utils.h>

Static Public Member Functions

static int SetSwapInterval (int aVal)
 Attempts to set the OpenGL swap interval.
 

Detailed Description

Definition at line 40 of file gl_utils.h.

Member Function Documentation

◆ SetSwapInterval()

static int GL_UTILS::SetSwapInterval ( int  aVal)
inlinestatic

Attempts to set the OpenGL swap interval.

Parameters
aValif -1 = try to set adaptive swapping, 0 = sync off, 1 = sync with VSYNC rate.
Returns
actual value set

Definition at line 49 of file gl_utils.h.

Referenced by KIGFX::OPENGL_GAL::init(), and EDA_3D_CANVAS::initializeOpenGL().


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