dxCountGfxModes3D%()

Parameters

None.

Description

Returns the number of 3D compatible modes available on the selected 3D graphics card, and sets up the info to be returned by dxGfxModeWidth, dxGfxModeHeight, dxGfxModeDepth etc (see 2D commands).

Any difference between dxCountGfxModes3D and CountGfxModes has been made largely irrelevant by newer cards as they now tend to support 3D in all graphics modes. However there are a few older cards that do not support 3D in some graphics modes, hence the inclusion of the dxCountGfxModes3D command.

Example

; dxCountGfxModes3D()
; -----------------

Graphics 800,600,0,2

For i=1 To dxCountGfxModes3D()

dxPrint "Mode "+i+": ("+dxGfxModeWidth(i)+"x"+dxGfxModeHeight(i)+"x"+dxGfxModeDepth(i)+")"

Next

dxWaitKey()

Index