Danbias/Code/OysterGraphics/Render/GuiRenderer.h

21 lines
493 B
C
Raw Normal View History

2014-02-07 11:52:51 +01:00
#pragma once
2014-02-07 15:52:07 +01:00
#include "../Core/Core.h"
2014-02-07 11:52:51 +01:00
namespace Oyster
{
namespace Graphics
{
namespace Render
{
2014-02-11 13:29:19 +01:00
class Gui
2014-02-07 11:52:51 +01:00
{
2014-02-11 13:29:19 +01:00
public:
static void Begin2DRender();
2014-02-13 16:27:53 +01:00
static void Render(ID3D11ShaderResourceView* tex, Math::Float3 pos, Math::Float2 size, Math::Float3 tint = Math::Float3(1,1,1));
2014-02-11 13:29:19 +01:00
static void Begin2DTextRender();
2014-02-13 16:27:53 +01:00
static void RenderText(std::wstring text, Math::Float3 pos, Math::Float2 size, float FontSize, Math::Float3 tint = Math::Float3(1,1,1));
2014-02-11 13:29:19 +01:00
};
2014-02-07 11:52:51 +01:00
}
}
}