KiCad PCB EDA Suite
|
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. | |
Helper class to create an attribute list.
Definition at line 48 of file ogl_attr_list.h.
|
static |
Get a list of attributes to pass to wxGLCanvas.
aAntiAliasingMode | = 0 - disabled; try to initialize (if is supported) the list with anti aliasing capabilities. |
aAlpha | set to enable alpha channel. |
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().