|
JMGraphics
|
Object that loads, stores and renders meshes. More...
#include <JMGraphics.h>
Public Member Functions | |
| Model (JMGraphics *Parent) | |
| Model (const Model &)=delete | |
| Model & | operator= (const Model &)=delete |
| Model (Model &&)=default | |
| Model & | operator= (Model &&)=default |
| bool | load (std::string filePath) |
| void | clearMeshes () |
| Deletes all of the models meshes. | |
| void | display () |
| Renders all of the models meshes using the parent graphics object. | |
| void | processNodes (aiNode *node, const aiScene *scene) |
| void | wireframeOn () |
| void | wireframeOff () |
| void | facesOn () |
| void | facesOff () |
| void | setWireframeColor (glm::vec4 color) |
| Mesh * | processMesh (aiMesh *mesh, const aiScene *scene) |
| JMGraphics::Model * | clone () const |
Public Attributes | |
| std::vector< Mesh * > | meshes |
| std::string | name = "Model" |
| JMGraphics * | parent = nullptr |
Object that loads, stores and renders meshes.