Danbias/Code/OysterGraphics/DllInterfaces/SimpleInterface.h

30 lines
671 B
C
Raw Normal View History

2013-11-22 14:09:47 +01:00
#pragma once
2013-11-22 15:18:52 +01:00
#include <string>
2013-11-22 14:09:47 +01:00
#include "..\Model\Model.h"
2013-11-22 15:18:52 +01:00
#include "OysterMath.h"
2013-11-22 14:09:47 +01:00
class SimpleInterface
{
public:
enum State
{
Sucsess,
Fail
};
struct Option
{
};
State Init(HWND Window, bool MSAA_Quality, bool Fullscreen);
//! @brief from Oyster::Math Float4x4, expects corect methods
2013-11-22 15:18:52 +01:00
static void NewFrame(Oyster::Math::Float4x4 View, Oyster::Math::Float4x4 Projection);
static void RenderScene(Oyster::Graphics::Model::Model* models, int count);
2013-11-22 14:09:47 +01:00
static void EndFrame();
static Oyster::Graphics::Model::Model* CreateModel(std::wstring filename);
static void DeleteModel(Oyster::Graphics::Model::Model* model);
2013-11-22 14:09:47 +01:00
static State SetOptions(Option);
};