Description | Hierarchy | Fields | Methods | Properties |
type TVideoModeList = class(TReferenceCounted)
A list of all available video modes.
You can get a list via TIrrlichtDevice.GetVideoModeList. If you are confused now, because you think you have to create an Irrlicht Device with a video mode before being able to get the video mode list, let me tell you that there is no need to start up an Irrlicht Device with vdtDirect3D8, vdtOpenGL or vdtSoftware: For this (and for lots of other reasons) the null device, vdtNull, exists.
![]() |
function GetResolutionWithinRange(const MinSize, MaxSize: TSize): TSize; inline; |
![]() |
function GetVideoModeDepth(Mode: LongInt): LongInt; inline; |
![]() |
function GetVideoModeResolution(Mode: LongInt): TSize; inline; |
![]() |
property DesktopDepth: LongInt read GetDesktopDepth; |
![]() |
property DesktopResolution: TSize read GetDesktopResolution; |
![]() |
property VideoModeCount: LongInt read GetVideoModeCount; |
![]() |
function GetVideoModeDepth(Mode: LongInt): LongInt; inline; |
Returns the depth of a video mode. Parameters
ReturnsThe depth in bits. |
![]() |
function GetVideoModeResolution(Mode: LongInt): TSize; inline; |
Returns the resolution of a video mode. Parameters
ReturnsThe resolution. |
![]() |
property DesktopDepth: LongInt read GetDesktopDepth; |
The pixel depth of a video mode in bits. |
![]() |
property DesktopResolution: TSize read GetDesktopResolution; |
The current desktop screen resolution. |
![]() |
property VideoModeCount: LongInt read GetVideoModeCount; |
The number of video modes in the list. |