Blackcomb  prealpha
Engine-ish
RenderableEntity.h
1 #ifndef BLACKCOMB_RENDERABLEENTITY_H
2 #define BLACKCOMB_RENDERABLEENTITY_H
3 
4 #include "BaseEntity.h"
5 #include "../renderer/Model.h"
6 
7 namespace blackcomb::entity {
11  class RenderableEntity : public BaseEntity {
12  public:
14  void render(renderer::Shader& shader);
15  private:
16  renderer::Model model;
17  };
18 }
19 
20 #endif //BLACKCOMB_RENDERABLEENTITY_H
Contains both a Mesh and a Model so that they may be rendered in tandem.
Definition: Model.h:12
A generic entity class.
Definition: BaseEntity.h:12
void render(renderer::Shader &shader)
Render this entity.
Definition: RenderableEntity.cpp:11
Loads and stores shaders.
Definition: Shader.h:42
An entity that has a model and can thus be rendered.
Definition: RenderableEntity.h:11
Definition: BaseEntity.h:7