CoriEngine
Loading...
Searching...
No Matches
Cori::Core::Window::Data Struct Reference

Public Member Functions

 ~Data ()

Public Attributes

std::vector< ScreenModem_ScreenModes
uint32_t m_CurrentScreenMode
WindowMode m_CurrentWindowMode { WindowMode::EXCLUSIVE_FULLSCREEN }
std::string m_WindowTitle
int32_t m_DisplayModeCount
SDL_DisplayMode ** m_SDLModes { nullptr }
SDL_DisplayID m_PrimaryDisplayID {}
SDL_Window * m_Window { nullptr }
std::unique_ptr< Graphics::RenderingContextm_Context
bool m_VSync { false }
EventCallbackFn m_EventCallback

Detailed Description

Definition at line 13 of file Window.cpp.

Constructor & Destructor Documentation

◆ ~Data()

Cori::Core::Window::Data::~Data ( )
inline

Definition at line 29 of file Window.cpp.

Member Data Documentation

◆ m_Context

std::unique_ptr<Graphics::RenderingContext> Cori::Core::Window::Data::m_Context

Definition at line 24 of file Window.cpp.

◆ m_CurrentScreenMode

uint32_t Cori::Core::Window::Data::m_CurrentScreenMode

Definition at line 15 of file Window.cpp.

◆ m_CurrentWindowMode

WindowMode Cori::Core::Window::Data::m_CurrentWindowMode { WindowMode::EXCLUSIVE_FULLSCREEN }

Definition at line 16 of file Window.cpp.

◆ m_DisplayModeCount

int32_t Cori::Core::Window::Data::m_DisplayModeCount

Definition at line 19 of file Window.cpp.

◆ m_EventCallback

EventCallbackFn Cori::Core::Window::Data::m_EventCallback

Definition at line 27 of file Window.cpp.

◆ m_PrimaryDisplayID

SDL_DisplayID Cori::Core::Window::Data::m_PrimaryDisplayID {}

Definition at line 21 of file Window.cpp.

◆ m_ScreenModes

std::vector<ScreenMode> Cori::Core::Window::Data::m_ScreenModes

Definition at line 14 of file Window.cpp.

◆ m_SDLModes

SDL_DisplayMode** Cori::Core::Window::Data::m_SDLModes { nullptr }

Definition at line 20 of file Window.cpp.

◆ m_VSync

bool Cori::Core::Window::Data::m_VSync { false }

Definition at line 25 of file Window.cpp.

◆ m_Window

SDL_Window* Cori::Core::Window::Data::m_Window { nullptr }

Definition at line 23 of file Window.cpp.

◆ m_WindowTitle

std::string Cori::Core::Window::Data::m_WindowTitle

Definition at line 17 of file Window.cpp.


The documentation for this struct was generated from the following file: