Didn't work. Let's try again.

This commit is contained in:
PlatinumSkink
2015-09-17 15:28:57 +02:00
parent dcb23bd199
commit b3335cff05
12 changed files with 304 additions and 78 deletions
+21
View File
@@ -88,6 +88,10 @@ struct SpriteJob : RenderJob
unsigned int ShaderID;
unsigned int TextureID;
//Niklas is trying to get Frames to work.
GLuint Texture;
//Niklas is trying to get Frames to work./end
glm::mat4 ModelMatrix;
GLuint DiffuseTexture;
GLuint NormalTexture;
@@ -167,6 +171,23 @@ struct RenderQueueCollection
}
};
struct RenderQueuePair
{
RenderQueue Deferred;
RenderQueue Forward;
void Clear() {
Deferred.Clear();
Forward.Clear();
}
void Sort() {
Deferred.Sort();
Forward.Sort();
}
};
}
#endif // RenderQueue_h__