Loading...
Searching...
No Matches
IVideoModeList.h
Go to the documentation of this file.
// Copyright (C) 2002-2012 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#ifndef __IRR_I_VIDEO_MODE_LIST_H_INCLUDED__
#define __IRR_I_VIDEO_MODE_LIST_H_INCLUDED__
#include "IReferenceCounted.h"
#include "dimension2d.h"
namespace irr
{
namespace video
{
class IVideoModeList : public virtual IReferenceCounted
{
public:
virtual s32 getVideoModeCount() const = 0;
virtual core::dimension2d<u32> getVideoModeResolution(s32 modeNumber) const = 0;
virtual core::dimension2d<u32> getVideoModeResolution(const core::dimension2d<u32>& minSize, const core::dimension2d<u32>& maxSize) const = 0;
virtual s32 getVideoModeDepth(s32 modeNumber) const = 0;
virtual const core::dimension2d<u32>& getDesktopResolution() const = 0;
virtual s32 getDesktopDepth() const = 0;
};
} // end namespace video
} // end namespace irr
#endif
IReferenceCounted.h
irr::IReferenceCounted::IReferenceCounted
IReferenceCounted()
Constructor.
Definition IReferenceCounted.h:46
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.
dimension2d.h
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 aabbox3d.h:13
irr::s32
signed int s32
32 bit signed variable.
Definition irrTypes.h:66
- Irrlicht Engine Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on for Irrlicht 3D Engine by Doxygen 1.15.0