GFXInit Class Reference#include <gfxInit.h>
Detailed DescriptionInterface for tracking GFX adapters and initializing them into devices.
Member Typedef Documentation
Allows device to register themselves as available.
Member Function Documentation
Prepares the adapter list.
Creates a GFXDevice based on an adapter from the enumerateAdapters method.
Enumerate all the graphics adapters on the system.
Get the enumerated adapters. Should only call this after a call to enumerateAdapters.
Get the number of available adapters.
Chooses a suitable GFXAdapter, based on type, preferences, and fallbacks. If the requested type is omitted, we use the prefs value. If the requested type isn't found, we use fallbacks: OpenGL, NullDevice This method never returns NULL.
Gets the first adapter of the requested type from the list of enumerated adapters. Should only call this after a call to enumerateAdapters.
Converts a GFXAdapterType to a string name. Useful for writing out prefs.
Converts a string to a GFXAdapterType. Useful for reading in prefs.
Returns a GFXVideoMode that describes the current state of the main monitor. This should probably move to the abstract window manager
Based on user preferences (or in the absence of a valid user selection, a heuristic), return a "best" adapter.
Get the initial video mode based on user preferences (or a heuristic).
Member Data Documentation
List of known adapters.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||