|
KiCad PCB EDA Suite
|
Allows to defer the creation of the 3D model until it is needed and in the GL context. More...
#include <3d_model.h>
Public Member Functions | |
| MODEL_3D_DEFERRED (const S3DMODEL &a3DModel, MATERIAL_MODE aMaterialMode) | |
| ~MODEL_3D_DEFERRED () | |
| void | Reset () |
| std::shared_ptr< MODEL_3D > | MakeOrGet () |
Private Attributes | |
| std::shared_ptr< MODEL_3D > | m_openglModel3D |
| std::recursive_mutex | m_mutex |
| std::shared_ptr< S3DMODEL > | m_s3dModel |
| MATERIAL_MODE | m_materialNode |
Allows to defer the creation of the 3D model until it is needed and in the GL context.
Definition at line 180 of file 3d_model.h.
|
inline |
Definition at line 183 of file 3d_model.h.
References m_materialNode, and m_s3dModel.
|
inline |
Definition at line 189 of file 3d_model.h.
|
inline |
Definition at line 199 of file 3d_model.h.
References m_materialNode, m_mutex, m_openglModel3D, and m_s3dModel.
|
inline |
Definition at line 191 of file 3d_model.h.
References m_mutex, m_openglModel3D, and m_s3dModel.
|
private |
Definition at line 219 of file 3d_model.h.
Referenced by MakeOrGet(), and MODEL_3D_DEFERRED().
|
private |
Definition at line 216 of file 3d_model.h.
Referenced by MakeOrGet(), and Reset().
|
private |
Definition at line 215 of file 3d_model.h.
Referenced by MakeOrGet(), and Reset().
|
private |
Definition at line 218 of file 3d_model.h.
Referenced by MakeOrGet(), MODEL_3D_DEFERRED(), and Reset().