JMGraphics
Loading...
Searching...
No Matches
JMGraphics::Model Class Reference

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)
MeshprocessMesh (aiMesh *mesh, const aiScene *scene)
JMGraphics::Modelclone () const

Public Attributes

std::vector< Mesh * > meshes
std::string name = "Model"
JMGraphicsparent = nullptr

Detailed Description

Object that loads, stores and renders meshes.


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