Danbias/Code/OysterGraphics/Render/GuiRenderer.h

21 lines
497 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-17 13:05:35 +01:00
static void Render(ID3D11ShaderResourceView* tex, Math::Float3 pos, Math::Float2 size, Math::Float4 tint = Math::Float4(1,1,1,1));
2014-02-11 13:29:19 +01:00
static void Begin2DTextRender();
2014-02-17 13:05:35 +01:00
static void RenderText(std::wstring text, Math::Float3 pos, Math::Float2 size, float FontSize, Math::Float4 tint = Math::Float4(1,1,1,1));
2014-02-11 13:29:19 +01:00
};
2014-02-07 11:52:51 +01:00
}
}
}