43 lines
957 B
C++
43 lines
957 B
C++
#pragma once
|
|
#include <string>
|
|
#include "..\Model\Model.h"
|
|
#include "OysterMath.h"
|
|
#include <Windows.h>
|
|
|
|
#if defined GFX_DLL_EXPORT
|
|
#define GFX_DLL_USAGE __declspec(dllexport)
|
|
#else
|
|
#define GFX_DLL_USAGE __declspec(dllimport)
|
|
#endif
|
|
|
|
|
|
namespace Oyster
|
|
{
|
|
namespace Graphics
|
|
{
|
|
class GFX_DLL_USAGE API
|
|
{
|
|
public:
|
|
enum State
|
|
{
|
|
Sucsess,
|
|
Fail
|
|
};
|
|
struct Option
|
|
{
|
|
};
|
|
|
|
static State Init(HWND Window, bool MSAA_Quality, bool Fullscreen, Oyster::Math::Float2 StartResulotion);
|
|
//! @brief from Oyster::Math Float4x4, expects corect methods
|
|
static void NewFrame(Oyster::Math::Float4x4 View, Oyster::Math::Float4x4 Projection);
|
|
static void RenderScene(Oyster::Graphics::Model::Model* models, int count);
|
|
static void EndFrame();
|
|
|
|
static Oyster::Graphics::Model::Model* CreateModel(std::wstring filename);
|
|
static void DeleteModel(Oyster::Graphics::Model::Model* model);
|
|
|
|
static State SetOptions(Option);
|
|
};
|
|
}
|
|
}
|