#pragma once #include #include "..\Model\Model.h" #include "OysterMath.h" #include #ifdef GFX_DLL_EXPORT #define GFX_DLL_USAGE __declspec(dllexport) #else #define GFX_DLL_USAGE #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); static void Clean(); //! @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); }; } }