Duckcpp 2.1.0
Duckcpp 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 duckcpp/duckcpp.hpp
4
5#ifndef DCPP_I_VIDEO_MODE_LIST_HPP_INCLUDED
6#define DCPP_I_VIDEO_MODE_LIST_HPP_INCLUDED
7
8#include <duckcpp/core/engine/IReferenceCounted.hpp>
9#include <duckcpp/core/engine/dimension2d.hpp>
10
11namespace dcpp
12{
13namespace video
14{
15
17
19 class IVideoModeList : public virtual IReferenceCounted
20 {
21 public:
22
24
25 virtual dcpp::int32_kt getVideoModeCount() const = 0;
26
28
31
33
38
40
42 virtual dcpp::int32_kt getVideoModeDepth(dcpp::int32_kt modeNumber) const = 0;
43
45
47
49
50 virtual dcpp::int32_kt getDesktopDepth() const = 0;
51 };
52
53} // end namespace video
54} // end namespace dcpp
55
56#endif
Base class of most objects of the Duckcpp 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 dcpp::int32_kt getVideoModeDepth(dcpp::int32_kt modeNumber) const =0
Get the pixel depth of a video mode in bits.
virtual dcpp::int32_kt getVideoModeCount() const =0
Gets amount of video modes in the list.
virtual dcpp::int32_kt getDesktopDepth() const =0
Get the pixel depth of a video mode in bits.
virtual const dcpp::nub::dimension2du & getDesktopResolution() const =0
Get current desktop screen resolution.
virtual dcpp::nub::dimension2du getVideoModeResolution(const dcpp::nub::dimension2du &minSize, const dcpp::nub::dimension2du &maxSize) const =0
Get a supported screen size with certain constraints.
virtual dcpp::nub::dimension2du getVideoModeResolution(dcpp::int32_kt modeNumber) const =0
Get the screen size of a video mode in pixels.
As of Duckcpp 1.6, position2d is a synonym for vector2d.
Definition shared_device.hpp:34
signed int int32_kt
32 bit signed variable.
Definition irrTypes.hpp:72

Duckcpp    @cppfx.xyz