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

Helper class to create an attribute list. More...

#include <ogl_attr_list.h>

Static Public Member Functions

static const wxGLAttributes GetAttributesList (ANTIALIASING_MODE aAntiAliasingMode, bool aAlpha=false)
 Get a list of attributes to pass to wxGLCanvas.
 

Detailed Description

Helper class to create an attribute list.

Definition at line 48 of file ogl_attr_list.h.

Member Function Documentation

◆ GetAttributesList()

const wxGLAttributes OGL_ATT_LIST::GetAttributesList ( ANTIALIASING_MODE  aAntiAliasingMode,
bool  aAlpha = false 
)
static

Get a list of attributes to pass to wxGLCanvas.

Parameters
aAntiAliasingMode= 0 - disabled; try to initialize (if is supported) the list with anti aliasing capabilities.
aAlphaset to enable alpha channel.
Returns
wxGLAttributes to be passed in the creation of a EDA_3D_CANVAS class

Definition at line 36 of file ogl_attr_list.cpp.

Referenced by DIALOG_FOOTPRINT_CHOOSER::build3DCanvas(), FOOTPRINT_CHOOSER_FRAME::build3DCanvas(), DIALOG_SELECT_3DMODEL::DIALOG_SELECT_3DMODEL(), EVT_TOOL_RANGE(), and PANEL_PREVIEW_3D_MODEL::PANEL_PREVIEW_3D_MODEL().


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