Skylicht Engine
Toggle main menu visibility
Loading...
Searching...
No Matches
Irrlicht
Include
IVideoModeList.h
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
11
namespace
irr
12
{
13
namespace
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
41
virtual
core::dimension2d<u32>
getVideoModeResolution
(
const
core::dimension2d<u32>
& minSize,
const
core::dimension2d<u32>
& maxSize)
const
= 0;
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
irr::IReferenceCounted::IReferenceCounted
IReferenceCounted()
Constructor.
Definition
IReferenceCounted.h:50
irr::core::dimension2d
Specifies a 2 dimensional size.
Definition
dimension2d.h:21
irr::video::IVideoModeList
A list of all available video modes.
Definition
IVideoModeList.h:24
irr::video::IVideoModeList::getDesktopDepth
virtual s32 getDesktopDepth() const =0
Get the pixel depth of a video mode in bits.
irr::video::IVideoModeList::getVideoModeResolution
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.
irr::video::IVideoModeList::getVideoModeCount
virtual s32 getVideoModeCount() const =0
Gets amount of video modes in the list.
irr::video::IVideoModeList::getDesktopResolution
virtual const core::dimension2d< u32 > & getDesktopResolution() const =0
Get current desktop screen resolution.
irr::video::IVideoModeList::getVideoModeResolution
virtual core::dimension2d< u32 > getVideoModeResolution(s32 modeNumber) const =0
Get the screen size of a video mode in pixels.
irr::video::IVideoModeList::getVideoModeDepth
virtual s32 getVideoModeDepth(s32 modeNumber) const =0
Get the pixel depth of a video mode in bits.
irr::video
The video namespace contains classes for accessing the video driver. All 2d and 3d rendering is done ...
Definition
EDriverFeatures.h:11
irr
Everything in the Irrlicht Engine can be found in this namespace.
Definition
Skylicht.h:33
irr::s32
signed int s32
32 bit signed variable.
Definition
irrTypes.h:66
Generated by
1.17.0