-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathvideomode.hpp
More file actions
43 lines (39 loc) · 1.07 KB
/
videomode.hpp
File metadata and controls
43 lines (39 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#pragma once
#include <fea/config.hpp>
#include <cstdint>
namespace fea
{
struct FEA_API VideoMode
{
VideoMode();
VideoMode(uint32_t width, uint32_t height, uint32_t bitDepth = 32);
uint32_t mWidth;
uint32_t mHeight;
uint32_t mBitDepth;
};
/** @addtogroup UserInterface
*@{
* @struct VideoMode
*@}
***
* @struct VideoMode
* @brief Defines a video mode used to set up windows at creation time.
*
***
* @fn VideoMode::VideoMode(uint32_t width, uint32_t height, uint32_t bitDepth=32)
* @brief Default constructor.
*
* @param width Width in pixels.
* @param height Height in pixels.
* @param bitDepth Pixel depth in bits per pixel.
***
* @var VideoMode::mWidth
* @brief The width of the video mode in pixels.
***
* @var VideoMode::mHeight
* @brief The height of the video mode in pixels.
***
* @var VideoMode::mBitDepth
* @brief The depth of the video mode in bits per pixels.
***/
}