Blackcomb  prealpha
Engine-ish
Model.h
1 #ifndef BLACKCOMB_MODEL_H
2 #define BLACKCOMB_MODEL_H
3 
4 #include "Texture.h"
5 #include "Mesh.h"
6 #include "Shader.h"
7 
8 namespace blackcomb::renderer {
12  class Model {
13  public:
14  Model();
15  Model(Mesh mesh, Texture texture);
16  void cleanup();
17  void render();
18  Mesh mesh;
19  Texture texture;
20  };
21 }
22 
23 #endif //BLACKCOMB_MODEL_H
Loads and stores mesh data.
Definition: Mesh.h:21
Contains the Shader class and some helpful shader-related utilities.
Contains both a Mesh and a Model so that they may be rendered in tandem.
Definition: Model.h:12
Definition: Mesh.h:8
void render()
Draw the model.
Definition: Model.cpp:16
Loads and stores a texture.
Definition: Texture.h:12