spriteComponent WIP

This commit is contained in:
viktorljung
2016-02-05 16:43:57 +01:00
parent ff26e1235c
commit 8034b42c87
16 changed files with 318 additions and 8 deletions
+4
View File
@@ -15,6 +15,7 @@
#include "PointLightJob.h"
#include "DirectionalLightJob.h"
#include "ExplosionEffectJob.h"
#include "SpriteJob.h"
struct RenderScene
{
@@ -24,6 +25,8 @@ struct RenderScene
std::list<std::shared_ptr<RenderJob>> PointLightJobs;
std::list<std::shared_ptr<RenderJob>> TextJobs;
std::list<std::shared_ptr<RenderJob>> DirectionalLightJobs;
std::list<std::shared_ptr<RenderJob>> SpriteJobs;
Rectangle Viewport;
bool ClearDepth = false;
glm::vec4 AmbientColor;
@@ -35,6 +38,7 @@ struct RenderScene
PointLightJobs.clear();
TextJobs.clear();
DirectionalLightJobs.clear();
SpriteJobs.clear();
}
};