jeDriver

Last Updated 3/16/2000.

Types

jeDriver

This object represents a particular 3D graphics driver (D3D, Software, OpenGL, etc.).


jeDriver_Mode

This object represents a particular video mode of a jeDriver (800x600x16bpp, e.g.).


jeDriver_System

This object represents the 3D graphics driver system as a whole.
 
Functions:

JETAPI jeBoolean jeDriver_GetName(jeDriver* Driver, const char** Name);

This function returns the name for the specified driver.

Returns:  JE_TRUE on success, JE_FALSE otherwise.


JETAPI jeDriver_Mode* jeDriver_GetNextMode(jeDriver* Driver, jeDriver_Mode* Start);

This function iterates through the list of modes for the specified driver.  If *Start == NULL, it starts at the beginning of the list.

Returns: The jeDriver_mode*.
 

JETAPI jeBoolean jeDriver_ModeGetAttributes(const jeDriver_Mode* Mode, int32* pWidth, int32* pHeight, int32* pBpp);
This function returns the Width, Height, and pixel depth in bits per pixel for jeDriver_Mode Mode in pWidth, pHeight, and pBpp, respectively.

Returns:  JE_TRUE on success, JE_FALSE otherwise.
 

JETAPI jeBoolean jeDriver_ModeGetName(jeDriver_Mode* Mode, const char** Name);
This function returns the name for the specified DriverMode.

Returns:  JE_TRUE on success, JE_FALSE otherwise.
 

JETAPI jeBoolean jeDriver_ModeGetWidthHeight(jeDriver_Mode* Mode, int32* Width, int32* Height);
This function returns the Width and Height for the specified DriverMode.

Returns:  JE_TRUE on success, JE_FALSE otherwise.

Notes:
    ENGINE.H:  CB:  GetWidthHeight is deprecated; use GetAttributes instead!


JETAPI jeDriver* jeDriver_SystemGetNextDriver(jeDriver_System* DriverSystem, jeDriver* Start);

This function iterates through the list of driver for the specified DriverSystem.  If *Start == NULL, it starts at the beginning of the list.

Returns: The jeDriver*.