Irrlicht 3D Engine
 
Loading...
Searching...
No Matches
IVideoModeList.h
Go to the documentation of this file.
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 irrlicht.h
4
5#ifndef __IRR_I_VIDEO_MODE_LIST_H_INCLUDED__
6#define __IRR_I_VIDEO_MODE_LIST_H_INCLUDED__
7
8#include "IReferenceCounted.h"
9#include "dimension2d.h"
10
11namespace irr
12{
13namespace video
14{
15
17
23 class IVideoModeList : public virtual IReferenceCounted
24 {
25 public:
26
28
29 virtual s32 getVideoModeCount() const = 0;
30
32
34 virtual core::dimension2d<u32> getVideoModeResolution(s32 modeNumber) const = 0;
35
37
42
44
46 virtual s32 getVideoModeDepth(s32 modeNumber) const = 0;
47
49
50 virtual const core::dimension2d<u32>& getDesktopResolution() const = 0;
51
53
54 virtual s32 getDesktopDepth() const = 0;
55 };
56
57} // end namespace video
58} // end namespace irr
59
60
61#endif
62
Base class of most objects of the Irrlicht Engine.
Axis aligned bounding box in 3d dimensional space.
Definition aabbox3d.h:22
A list of all available video modes.
virtual s32 getDesktopDepth() 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 const core::dimension2d< u32 > & getDesktopResolution() const =0
Get current desktop screen resolution.
virtual core::dimension2d< u32 > getVideoModeResolution(s32 modeNumber) const =0
Get the screen size of a video mode in pixels.
virtual s32 getVideoModeDepth(s32 modeNumber) const =0
Get the pixel depth of a video mode in bits.
Everything in the Irrlicht Engine can be found in this namespace.
Definition aabbox3d.h:13
signed int s32
32 bit signed variable.
Definition irrTypes.h:66