![]() |
Rise
The Vieneo Province
|
#include <Window11.h>
Classes | |
| struct | Callbacks |
Public Member Functions | |
| HRESULT | Create (const WindowOptions11 &options, Callbacks callbacks) |
| int | Run () |
| HRESULT | Frame () |
| HRESULT | Resize (UINT width, UINT height) |
| HRESULT | RecreateDevice () |
| HRESULT | SetFullscreen (bool value) |
| HRESULT | SetSamples (UINT samples) |
| void | SetVSync (bool value) |
| bool | VSync () const |
| void | Close (int result=0) |
| void | StopCallbacksAndWindow () |
| void | Destroy () |
| ~Window11 () | |
| HWND | Handle () const |
| Device11 & | Device () |
| DrawContext11 & | Draws () |
| bool | Fullscreen () const |
| bool | Recovering () const |
| bool | Suspended () const |
| double | Time () const |
| void | ResetFrameClock () |
| void | ResetClock () |
| float | FPS () const |
| const std::string & | Status () const |
Private Member Functions | |
| LRESULT | Message (HWND, UINT, WPARAM, LPARAM) |
| HRESULT | CreateDevice () |
| HRESULT | Failure (const char *operation, HRESULT result) |
Static Private Member Functions | |
| static LRESULT CALLBACK | Procedure (HWND, UINT, WPARAM, LPARAM) |
Private Attributes | |
| WindowOptions11 | options |
| Callbacks | callbacks |
| HWND | window =nullptr |
| Device11 | device |
| DrawContext11 | draws |
| LARGE_INTEGER | frequency {} |
| LARGE_INTEGER | started {} |
| LARGE_INTEGER | previous {} |
| double | fpsStart =0 |
| unsigned | frames =0 |
| float | fps =0 |
| UINT | width =0 |
| UINT | height =0 |
| int | exitCode =0 |
| bool | initialized =false |
| bool | running =false |
| bool | minimized =false |
| bool | fullscreen =false |
| bool | creating =false |
| bool | inFrame =false |
| bool | occluded =false |
| bool | callbacksLive =false |
| bool | recovering =false |
| std::string | status |
Definition at line 18 of file Window11.h.
|
inline |
| HRESULT Rendering::Window11::Create | ( | const WindowOptions11 & | options, |
| Callbacks | callbacks ) |
Definition at line 24 of file Window11.cpp.
|
private |
Definition at line 61 of file Window11.cpp.
| void Rendering::Window11::Destroy | ( | ) |
Definition at line 234 of file Window11.cpp.
|
inline |
Definition at line 51 of file Window11.h.
|
inline |
Definition at line 13 of file Window11.cpp.
|
inline |
Definition at line 59 of file Window11.h.
| HRESULT Rendering::Window11::Frame | ( | ) |
Definition at line 129 of file Window11.cpp.
|
inline |
Definition at line 53 of file Window11.h.
|
inline |
|
private |
|
staticprivate |
|
inline |
| HRESULT Rendering::Window11::RecreateDevice | ( | ) |
Definition at line 105 of file Window11.cpp.
|
inline |
|
inline |
| HRESULT Rendering::Window11::Resize | ( | UINT | width, |
| UINT | height ) |
Definition at line 74 of file Window11.cpp.
| int Rendering::Window11::Run | ( | ) |
Definition at line 199 of file Window11.cpp.
| HRESULT Rendering::Window11::SetFullscreen | ( | bool | value | ) |
Definition at line 120 of file Window11.cpp.
| HRESULT Rendering::Window11::SetSamples | ( | UINT | samples | ) |
|
inline |
Definition at line 42 of file Window11.h.
|
inline |
Definition at line 60 of file Window11.h.
| void Rendering::Window11::StopCallbacksAndWindow | ( | ) |
Definition at line 220 of file Window11.cpp.
|
inline |
Definition at line 55 of file Window11.h.
| double Rendering::Window11::Time | ( | ) | const |
|
inline |
Definition at line 43 of file Window11.h.
|
private |
Definition at line 67 of file Window11.h.
|
private |
Definition at line 78 of file Window11.h.
|
private |
Definition at line 77 of file Window11.h.
|
private |
Definition at line 69 of file Window11.h.
|
private |
Definition at line 70 of file Window11.h.
|
private |
Definition at line 76 of file Window11.h.
|
private |
Definition at line 74 of file Window11.h.
|
private |
Definition at line 72 of file Window11.h.
|
private |
Definition at line 73 of file Window11.h.
|
private |
Definition at line 71 of file Window11.h.
|
private |
Definition at line 77 of file Window11.h.
|
private |
Definition at line 75 of file Window11.h.
|
private |
Definition at line 77 of file Window11.h.
|
private |
Definition at line 77 of file Window11.h.
|
private |
Definition at line 77 of file Window11.h.
|
private |
Definition at line 77 of file Window11.h.
|
private |
Definition at line 66 of file Window11.h.
|
private |
Definition at line 71 of file Window11.h.
|
private |
Definition at line 78 of file Window11.h.
|
private |
Definition at line 77 of file Window11.h.
|
private |
Definition at line 71 of file Window11.h.
|
private |
Definition at line 79 of file Window11.h.
|
private |
Definition at line 75 of file Window11.h.
|
private |
Definition at line 68 of file Window11.h.