Table of Contents

Wiki > TV3D65 Index > Class > Method

EXAMPLE

Get the video mode currently used by the engine

Needed resources to download for this example to work
The Truevision3D v6.5 SDK

VB6

no code available ...

VB.NET

' TV Variables (Objects).
Public TV As TVEngine
 
' Create the TV Interface first:
TV = New TVEngine
 
' Initialize screen variables and get the Videomode.
Dim screenWidth = 0
Dim screenHeight = 0
Dim screenBitDepth = 0
TV.GetVideoMode(screenWidth, screenHeight, screenBitDepth)

Delphi

no code available ...

C#

// Declare the TV Objects.
public TVEngine TV;
 
// Create the TV Interface first:
TV = new TVEngine();
 
 
// Initialize screen variables and get the Videomode.
int screenWidth = 0;
int screenHeight = 0;
int screenBitDepth = 0;
TV.GetVideoMode(ref screenWidth, ref screenHeight, ref screenBitDepth)

C++

no code available ...
 
tvengine/getvideomode_1.txt · Last modified: 2013/11/22 13:31