Nirtcpp 2.1.0
Nirtcpp is a high-performance c++ graphics engine.
Loading...
Searching...
No Matches
IVideoModeList.hpp
1// Copyright (C) 2002-2012 Nikolaus Gebhardt
2// This file is part of the "Irrlicht Engine".
3// For conditions of distribution and use, see copyright notice in nirtcpp/nirtcpp.hpp
4
5#ifndef NIRT_I_VIDEO_MODE_LIST_HPP_INCLUDED
6#define NIRT_I_VIDEO_MODE_LIST_HPP_INCLUDED
7
8#include <nirtcpp/core/engine/IReferenceCounted.hpp>
9#include <nirtcpp/core/engine/dimension2d.hpp>
10
11namespace nirt
12{
13namespace video
14{
15
17
19 class IVideoModeList : public virtual IReferenceCounted
20 {
21 public:
22
24
25 virtual s32 getVideoModeCount() const = 0;
26
28
30 virtual core::dimension2d<u32> getVideoModeResolution(s32 modeNumber) const = 0;
31
33
38
40
42 virtual s32 getVideoModeDepth(s32 modeNumber) const = 0;
43
45
46 virtual const core::dimension2d<u32>& getDesktopResolution() const = 0;
47
49
50 virtual s32 getDesktopDepth() const = 0;
51 };
52
53} // end namespace video
54} // end namespace nirt
55
56#endif
Base class of most objects of the Nirtcpp Engine.
Definition IReferenceCounted.hpp:46
Axis aligned bounding box in 3d dimensional space.
Definition aabbox3d.hpp:22
A list of all available video modes.
Definition IVideoModeList.hpp:20
virtual const core::dimension2d< u32 > & getDesktopResolution() const =0
Get current desktop screen resolution.
virtual s32 getVideoModeDepth(s32 modeNumber) const =0
Get the pixel depth of a video mode in bits.
virtual core::dimension2d< u32 > getVideoModeResolution(const core::dimension2d< u32 > &minSize, const core::dimension2d< u32 > &maxSize) const =0
Get a supported screen size with certain constraints.
virtual s32 getVideoModeCount() const =0
Gets amount of video modes in the list.
virtual core::dimension2d< u32 > getVideoModeResolution(s32 modeNumber) const =0
Get the screen size of a video mode in pixels.
virtual s32 getDesktopDepth() const =0
Get the pixel depth of a video mode in bits.
As of Nirtcpp 1.6, position2d is a synonym for vector2d.
Definition vector3d.hpp:11
signed int s32
32 bit signed variable.
Definition irrTypes.hpp:72

Nirtcpp    @cppfx.xyz

Esvcpp    esv::print