2 #ifndef KJY_ANIM_ENGINE_RENDER_SYSTEM_HPP_ 3 #define KJY_ANIM_ENGINE_RENDER_SYSTEM_HPP_ 4 #include "SystemInterface.hpp" 5 #include "util/ShaderLibrary.hpp" 6 #define GLFW_INCLUDE_NONE 7 #include <GLFW/glfw3.h> 17 virtual void init(GLFWwindow* window);
18 virtual void process(
Scene& scene);
21 virtual void processPanels(
Scene& scene, vector<unsigned int> alphaMaps,
unsigned int panelOutline,
int frameCount);
22 virtual void processEntityPanels(
Scene& scene,
const MVPset& MVP,
Entity* entity,
int alphaMapIdx,
Program* shader =
nullptr);
23 virtual glm::ivec2 getRenderDimensions()
const;
24 virtual void setPanelParams(
int alphaMapIdx);
25 virtual void drawPigSpider(
Scene& scene,
const MVPset& MVP,
Entity* entity,
int i);
26 virtual void processPigSpider(
Scene& scene,
const MVPset& MVP,
Entity* entity,
int i);
28 virtual void enableIgnoreGloballyIlluminated() {mSkipGiEntities =
true;}
29 virtual void disableIgnoreGloballyIlluminated() {mSkipGiEntities =
false;}
32 static void drawAxes(
MVPset MVP);
33 static void drawAxes(
const Pose& pose,
const glm::mat4& V,
const glm::mat4& P);
35 static void changeViewport(
int x1,
int y1,
int x2,
int y2);
36 static void onResize(GLFWwindow* window,
int width,
int height);
37 static int getWidth() {
return w_width; };
38 static int getHeight() {
return w_height; };
42 GLFWwindow* _mWindow =
nullptr;
49 bool mSkipGiEntities =
false;
52 vector<unsigned int> alphaMaps;
53 unsigned int panelOutline;
Definition: drawable.hpp:8
Definition: RenderSystem.hpp:10
Definition: EntitiesBase.hpp:18
Definition: SystemInterface.hpp:6