CoriEngine
Loading...
Searching...
No Matches
Cori::Core::ScreenMode Struct Reference

#include <Window.hpp>

Public Attributes

int32_t m_Width {}
int32_t m_Height {}
float m_RefreshRate {}
std::string m_ModeName

Protected Member Functions

 ScreenMode ()=default
 ScreenMode (const int32_t width, const int32_t height, const float refreshRate, const uint32_t modeIndex)

Protected Attributes

uint32_t m_SDLModeIndex { 1000 }

Friends

class Window

Detailed Description

Definition at line 16 of file Window.hpp.

Constructor & Destructor Documentation

◆ ScreenMode() [1/2]

Cori::Core::ScreenMode::ScreenMode ( )
protecteddefault

◆ ScreenMode() [2/2]

Cori::Core::ScreenMode::ScreenMode ( const int32_t width,
const int32_t height,
const float refreshRate,
const uint32_t modeIndex )
inlineprotected

Definition at line 26 of file Window.hpp.

◆ Window

friend class Window
friend

Definition at line 23 of file Window.hpp.

Member Data Documentation

◆ m_Height

int32_t Cori::Core::ScreenMode::m_Height {}

Definition at line 18 of file Window.hpp.

◆ m_ModeName

std::string Cori::Core::ScreenMode::m_ModeName

Definition at line 20 of file Window.hpp.

◆ m_RefreshRate

float Cori::Core::ScreenMode::m_RefreshRate {}

Definition at line 19 of file Window.hpp.

◆ m_SDLModeIndex

uint32_t Cori::Core::ScreenMode::m_SDLModeIndex { 1000 }
protected

Definition at line 31 of file Window.hpp.

◆ m_Width

int32_t Cori::Core::ScreenMode::m_Width {}

Definition at line 17 of file Window.hpp.


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