fg_ddusage()

Win32 DirectX Fastgraph/Light

Prototype

int fg_ddusage (void);

Function fg_ddusage () As Long

function fg_ddusage : integer;

Description

The fg_ddusage() function returns a value indicating how Fastgraph is using DirectX.

Parameters

none

Return value

-1 = DirectX not available

0 = Using DirectX with Fastgraph's 3D rendering

1 = Using DirectX with Direct3D software rendering

2 = Using DirectX with Direct3D hardware acceleration

Restrictions

This function is meaningful only after calling fg_vbinit().

This function is available only in Fastgraph's DirectX libraries.

See also

fg_ddsetup(), fg_ddstatus(), fg_vbinit()

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.