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

#include <gl_utils.h>

Static Public Member Functions

static wxString DetectGLBackend (wxGLCanvas *aCanvas)
 
static int SetSwapInterval (wxGLCanvas *aCanvas, int aVal)
 Attempt to set the OpenGL swap interval.
 

Detailed Description

Definition at line 34 of file gl_utils.h.

Member Function Documentation

◆ DetectGLBackend()

wxString GL_UTILS::DetectGLBackend ( wxGLCanvas * aCanvas)
static

◆ SetSwapInterval()

int GL_UTILS::SetSwapInterval ( wxGLCanvas * aCanvas,
int aVal )
static

Attempt to set the OpenGL swap interval.

Parameters
aCanvasthe canvas for which to set the swap interval
aValif -1 = try to set adaptive swapping, 0 = sync off, 1 = sync with VSYNC rate.
Returns
actual value set

Definition at line 82 of file gl_utils.cpp.

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


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