Changed name and made a TextPassState

This commit is contained in:
viktorljung
2016-01-23 11:38:31 +01:00
parent ea9c4d19d0
commit 445248af55
7 changed files with 46 additions and 17 deletions
+2 -2
View File
@@ -19,7 +19,7 @@
#include "Camera.h"
#include "../Core/Transform.h"
#include "TextRenderer.h"
#include "TextPass.h"
class Renderer : public IRenderer
{
@@ -37,7 +37,7 @@ public:
private:
//----------------------Variables----------------------//
EventBroker* m_EventBroker;
TextRenderer* m_TextRenderer;
TextPass* m_TextRenderer;
Texture* m_ErrorTexture;
Texture* m_WhiteTexture;
@@ -10,11 +10,12 @@
#include "Font.h"
#include "../Core/ResourceManager.h"
#include "RenderQueue.h"
#include "TextPassState.h"
class TextRenderer
class TextPass
{
public:
TextRenderer();
TextPass();
void Initialize();
void Update();
void Draw(RenderScene& scene);
+15
View File
@@ -0,0 +1,15 @@
#ifndef TextPassState_h__
#define TextPassState_h__
#include "Rendering/RenderState.h"
class TextPassState : public RenderState
{
public:
TextPassState();
~TextPassState();
private:
};
#endif